Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.631e-05, allocations: 4.812 kB / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4141/0.4142, allocations: 168.6 MB / 0.597 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.4255, allocations: 6.81 MB / 0.6036 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008403/0.4263, allocations: 31.69 kB / 0.6037 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.4278, allocations: 421.4 kB / 0.6041 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007649/0.4354, allocations: 2.452 MB / 0.6065 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008296/0.4437, allocations: 2.418 MB / 0.6088 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003919/0.4477, allocations: 2.234 MB / 0.611 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.4491, allocations: 0.5056 MB / 0.6115 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006265/0.4554, allocations: 2.15 MB / 0.6136 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.4575, allocations: 0.8495 MB / 0.6144 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.4579, allocations: 96 kB / 0.6145 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.4684, allocations: 4.296 MB / 0.6187 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.4694, allocations: 470.7 kB / 0.6192 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.4707, allocations: 399.2 kB / 0.6195 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.4817, allocations: 4.11 MB / 0.6236 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4817, allocations: 4 kB / 0.6236 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4818, allocations: 0 / 0.6236 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.161e-05/0.4818, allocations: 0 / 0.6236 GB, free: 1.648 MB / 0.5137 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.005326/0.4871, allocations: 1.689 MB / 0.6252 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4872, allocations: 8.031 kB / 0.6252 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005547/0.4877, allocations: 111.4 kB / 0.6253 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.489, allocations: 0.5557 MB / 0.6259 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.4892, allocations: 172.8 kB / 0.626 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.4894, allocations: 71.95 kB / 0.6261 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.4918, allocations: 1.564 MB / 0.6276 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.4919, allocations: 0 / 0.6276 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.492, allocations: 35.97 kB / 0.6277 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.013e-05/0.4921, allocations: 63.09 kB / 0.6277 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.4943, allocations: 1.159 MB / 0.6289 GB, free: 11.98 MB / 0.5294 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.007162/0.5015, allocations: 3.667 MB / 0.6324 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.5034, allocations: 0.7844 MB / 0.6332 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/0.5041, allocations: 402.6 kB / 0.6336 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/0.5049, allocations: 212.5 kB / 0.6338 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.5049, allocations: 47.16 kB / 0.6338 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.435e-06/0.5049, allocations: 4 kB / 0.6338 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.01561/0.5206, allocations: 3.931 MB / 0.6377 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.5207, allocations: 115.5 kB / 0.6378 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009021/0.5216, allocations: 0.5377 MB / 0.6383 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.5217, allocations: 45.7 kB / 0.6384 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.5221, allocations: 404.3 kB / 0.6387 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.5224, allocations: 305.4 kB / 0.639 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/0.5228, allocations: 190.6 kB / 0.6392 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.523, allocations: 378.8 kB / 0.6396 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.5241, allocations: 497.7 kB / 0.64 GB, free: 328 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.228/0.7521, allocations: 0.8016 MB / 0.6408 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.7551, allocations: 1.282 MB / 0.6421 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.7552, allocations: 2.188 kB / 0.6421 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004341/0.7595, allocations: 1.658 MB / 0.6437 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.7595, allocations: 8.188 kB / 0.6437 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.7595, allocations: 8.875 kB / 0.6437 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008105/0.7677, allocations: 1.303 MB / 0.645 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007689/0.7684, allocations: 153 kB / 0.6451 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.7715, allocations: 1.531 MB / 0.6466 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.7725, allocations: 54.61 kB / 0.6467 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.7727, allocations: 53.53 kB / 0.6467 GB, free: 185.4 MB / 0.5294 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.0005895/0.7733, allocations: 295.4 kB / 0.647 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.7735, allocations: 84.25 kB / 0.6471 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/0.7771, allocations: 1.675 MB / 0.6487 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.7771, allocations: 11.17 kB / 0.6487 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7771, allocations: 0 / 0.6487 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.7771, allocations: 4.734 kB / 0.6488 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.7814, allocations: 2.282 MB / 0.651 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7814, allocations: 3.297 kB / 0.651 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.7828, allocations: 257.9 kB / 0.6512 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/0.7847, allocations: 380.2 kB / 0.6516 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.7848, allocations: 32.42 kB / 0.6516 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.7871, allocations: 2.223 MB / 0.6538 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7871, allocations: 2.031 kB / 0.6538 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.7911, allocations: 2.033 MB / 0.6558 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/0.7916, allocations: 203.2 kB / 0.656 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.7917, allocations: 21.7 kB / 0.656 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/0.7925, allocations: 51.56 kB / 0.656 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.7927, allocations: 71.19 kB / 0.6561 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.7928, allocations: 45.23 kB / 0.6562 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005397/0.7934, allocations: 390.7 kB / 0.6565 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7934, allocations: 4 kB / 0.6565 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002016/0.7954, allocations: 0.6916 MB / 0.6572 GB, free: 180.4 MB / 0.5294 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.001949/0.7973, allocations: 0.851 MB / 0.658 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002737/0.8001, allocations: 1.192 MB / 0.6592 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8001, allocations: 1.031 kB / 0.6592 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.802, allocations: 0.6935 MB / 0.6599 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.8043, allocations: 432.1 kB / 0.6603 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.8087, allocations: 2.041 MB / 0.6623 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.8091, allocations: 455.8 kB / 0.6627 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009885/0.8101, allocations: 348.5 kB / 0.6631 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.8104, allocations: 94.47 kB / 0.6631 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of SimCode: time 7.62e-07/0.8104, allocations: 0 / 0.6631 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.04045/0.8509, allocations: 31.3 MB / 0.6937 GB, free: 151.7 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.0949151031672955]