Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.000828/0.000828, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.0008439/0.0008439, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8645/0.8645, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2393/0.2393, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.056e-05, allocations: 4.391 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3231/0.3231, allocations: 168.6 MB / 0.594 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007227/0.3304, allocations: 6.819 MB / 0.6006 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.3315, allocations: 31.75 kB / 0.6007 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.3326, allocations: 417.3 kB / 0.6011 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.006519/0.3391, allocations: 2.46 MB / 0.6035 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005038/0.3441, allocations: 2.408 MB / 0.6058 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002457/0.3466, allocations: 2.231 MB / 0.608 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.3473, allocations: 0.5084 MB / 0.6085 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.3506, allocations: 2.154 MB / 0.6106 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.3516, allocations: 0.8456 MB / 0.6114 GB, free: 10 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.3518, allocations: 92 kB / 0.6115 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005924/0.3577, allocations: 4.307 MB / 0.6157 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.3581, allocations: 458.8 kB / 0.6162 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.3584, allocations: 403.2 kB / 0.6165 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004906/0.3633, allocations: 4.11 MB / 0.6206 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3633, allocations: 0 / 0.6206 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3633, allocations: 0 / 0.6206 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3634, allocations: 0 / 0.6206 GB, free: 0.6328 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002253/0.3656, allocations: 1.693 MB / 0.6222 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3656, allocations: 8.031 kB / 0.6222 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.3658, allocations: 134.5 kB / 0.6223 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.366, allocations: 119.3 kB / 0.6225 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.3667, allocations: 0.548 MB / 0.623 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3668, allocations: 168.8 kB / 0.6232 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.3669, allocations: 68 kB / 0.6232 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.3682, allocations: 1.556 MB / 0.6247 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3682, allocations: 11.94 kB / 0.6248 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.3683, allocations: 31.98 kB / 0.6248 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.3683, allocations: 65.95 kB / 0.6248 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3695, allocations: 1.157 MB / 0.626 GB, free: 10.83 MB / 0.5261 GB 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.003627/0.3732, allocations: 3.8 MB / 0.6297 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.3742, allocations: 0.7895 MB / 0.6305 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.3746, allocations: 406.6 kB / 0.6308 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.3749, allocations: 208.5 kB / 0.631 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.375, allocations: 43.22 kB / 0.6311 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 1.803e-06/0.375, allocations: 0 / 0.6311 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.006871/0.3818, allocations: 3.948 MB / 0.6349 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.3819, allocations: 111.5 kB / 0.635 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.3824, allocations: 0.6741 MB / 0.6357 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.3825, allocations: 41.7 kB / 0.6357 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3827, allocations: 388.5 kB / 0.6361 GB, free: 280 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.1719/0.5546, allocations: 305.1 kB / 0.6364 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.5549, allocations: 194.9 kB / 0.6366 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.555, allocations: 393.1 kB / 0.637 GB, free: 167 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.5557, allocations: 494.1 kB / 0.6374 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.5564, allocations: 0.8042 MB / 0.6382 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.5575, allocations: 1.286 MB / 0.6395 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5576, allocations: 2.969 kB / 0.6395 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001895/0.5594, allocations: 1.667 MB / 0.6411 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5595, allocations: 10.53 kB / 0.6411 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5595, allocations: 11.83 kB / 0.6411 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/0.5628, allocations: 1.309 MB / 0.6424 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.5631, allocations: 157.8 kB / 0.6426 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.5646, allocations: 1.524 MB / 0.6441 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.565, allocations: 53.67 kB / 0.6441 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/0.5651, allocations: 54.44 kB / 0.6442 GB, free: 164.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0003295/0.5654, allocations: 299.3 kB / 0.6444 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5655, allocations: 88.8 kB / 0.6445 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.5674, allocations: 1.679 MB / 0.6462 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5674, allocations: 9.875 kB / 0.6462 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5674, allocations: 0 / 0.6462 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.5674, allocations: 3.234 kB / 0.6462 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.5697, allocations: 2.373 MB / 0.6485 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5697, allocations: 3.281 kB / 0.6485 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.5704, allocations: 260 kB / 0.6487 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008036/0.5712, allocations: 377.4 kB / 0.6491 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.5712, allocations: 38.69 kB / 0.6491 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.5724, allocations: 2.25 MB / 0.6513 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5724, allocations: 0 / 0.6513 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.5743, allocations: 2.036 MB / 0.6533 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.5746, allocations: 216.6 kB / 0.6535 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.5747, allocations: 24.95 kB / 0.6536 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.5751, allocations: 58.97 kB / 0.6536 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.5751, allocations: 64.69 kB / 0.6537 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.5752, allocations: 43.72 kB / 0.6537 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003503/0.5756, allocations: 0.4949 MB / 0.6542 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5756, allocations: 0 / 0.6542 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001262/0.5768, allocations: 0.6986 MB / 0.6549 GB, free: 159 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003191/0.58, allocations: 3.343 MB / 0.6581 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.5814, allocations: 1.191 MB / 0.6593 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5814, allocations: 3.281 kB / 0.6593 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008739/0.5823, allocations: 0.6898 MB / 0.66 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.5836, allocations: 0.5234 MB / 0.6605 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009693/0.5933, allocations: 9.601 MB / 0.6699 GB, free: 152 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.5936, allocations: 448.9 kB / 0.6703 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000841/0.5944, allocations: 365.9 kB / 0.6707 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.5947, allocations: 341.1 kB / 0.671 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/0.5947, allocations: 0 / 0.671 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06033/0.6551, allocations: 45.2 MB / 0.7151 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/9.455, allocations: 7.938 kB / 0.7151 GB, free: 125.2 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 11.69689825270325]