Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 55.92 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2801, allocations: 49.16 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005784/0.2859, allocations: 5.065 MB / 401.4 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2885, allocations: 1.359 MB / 402.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.2892, allocations: 11 kB / 402.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.2897, allocations: 164.5 kB / 402.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000832/0.2905, allocations: 332.1 kB / 403.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.2911, allocations: 231.5 kB / 403.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.2924, allocations: 1.177 MB / 404.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.2928, allocations: 216.1 kB / 404.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.2934, allocations: 472.6 kB / 405.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.294, allocations: 0.5049 MB / 405.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.2941, allocations: 107.9 kB / 406 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.2943, allocations: 105.7 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.2945, allocations: 216.8 kB / 406.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.295, allocations: 0.5195 MB / 406.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.2967, allocations: 1.213 MB / 408 MB, free: 1.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2967, allocations: 0 / 408 MB, free: 1.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2967, allocations: 1.375 kB / 408 MB, free: 1.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.2967, allocations: 0 / 408 MB, free: 1.746 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002756/0.2994, allocations: 1.295 MB / 409.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.2995, allocations: 14.28 kB / 409.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.2997, allocations: 118.7 kB / 409.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.2999, allocations: 113.5 kB / 409.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009758/0.3009, allocations: 0.536 MB / 410.1 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.3011, allocations: 302.2 kB / 410.4 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/0.3012, allocations: 64.64 kB / 410.4 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.3029, allocations: 0.8655 MB / 411.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.3029, allocations: 1 kB / 411.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.303, allocations: 32.56 kB / 411.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.303, allocations: 13.34 kB / 411.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.3045, allocations: 0.6154 MB / 412 MB, free: 15.13 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.3084, allocations: 2.041 MB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.3096, allocations: 0.5816 MB / 414.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/0.3104, allocations: 371 kB / 414.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/0.3105, allocations: 14.2 kB / 415 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.3105, allocations: 49.19 kB / 415 MB, free: 13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.965e-06/0.3105, allocations: 0 / 415 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005017/0.3155, allocations: 1.488 MB / 416.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000519/0.3161, allocations: 0.8273 MB / 417.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.317, allocations: 0.6366 MB / 418 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.3172, allocations: 44.95 kB / 418 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.3175, allocations: 345.2 kB / 418.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.3178, allocations: 267.7 kB / 418.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.3181, allocations: 146 kB / 418.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.3183, allocations: 383.2 kB / 419.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.319, allocations: 275 kB / 419.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.32, allocations: 0.5557 MB / 419.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.3214, allocations: 0.6801 MB / 420.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3214, allocations: 1.188 kB / 420.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003054/0.3245, allocations: 1.094 MB / 421.7 MB, free: 8.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/0.3245, allocations: 83.95 kB / 421.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3246, allocations: 1.25 kB / 421.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007229/0.3253, allocations: 230.9 kB / 422 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.326, allocations: 144.6 kB / 422.2 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008375/0.3343, allocations: 6.516 MB / 428.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.3355, allocations: 99.55 kB / 428.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.224e-05/0.3356, allocations: 39.86 kB / 428.8 MB, free: 1.586 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004642/0.336, allocations: 213.8 kB / 429 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.3362, allocations: 103.4 kB / 429.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.3364, allocations: 83.34 kB / 429.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3364, allocations: 8 kB / 429.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.3364, allocations: 0 / 429.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002571/0.339, allocations: 1.237 MB / 430.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.3432, allocations: 1.884 MB / 432.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3432, allocations: 0 / 432.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/0.3439, allocations: 135.8 kB / 432.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/0.3444, allocations: 214.4 kB / 432.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.3445, allocations: 19.94 kB / 432.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/0.3515, allocations: 5.04 MB / 437.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3515, allocations: 0 / 437.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.355, allocations: 1.384 MB / 439.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/0.3556, allocations: 171.2 kB / 439.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.3558, allocations: 16 kB / 439.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.3564, allocations: 55.95 kB / 439.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.3566, allocations: 64.53 kB / 439.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.3566, allocations: 16 kB / 439.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006657/0.3573, allocations: 459 kB / 439.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3573, allocations: 0 / 439.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009894/0.3583, allocations: 283.8 kB / 440.2 MB, free: 5.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003622/0.3619, allocations: 1.971 MB / 442.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.3643, allocations: 1.313 MB / 443.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.3643, allocations: 8.062 kB / 443.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.3657, allocations: 0.7456 MB / 444.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.367, allocations: 235 kB / 444.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.3815, allocations: 7.533 MB / 452 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.3821, allocations: 0.944 MB / 452.9 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005147/0.3826, allocations: 102.4 kB / 453 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.3831, allocations: 299.3 kB / 453.3 MB, free: 8.148 MB / 366.1 MB Notification: Performance of SimCode: time 1.392e-06/0.3831, allocations: 0 / 453.3 MB, free: 8.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08279/0.4658, allocations: 26.61 MB / 479.9 MB, free: 13.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.67, allocations: 4.062 kB / 479.9 MB, free: 13.44 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.172281266888604]