Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 116.4 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 198.9 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2227/0.2227, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 73.45 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1082, allocations: 57.8 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4418/0.55, allocations: 147.6 MB / 0.6327 GB, free: 6.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008844/0.5589, allocations: 5.591 MB / 0.6382 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000961/0.5599, allocations: 27.81 kB / 0.6382 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.5613, allocations: 318 kB / 0.6385 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.5636, allocations: 0.8551 MB / 0.6393 GB, free: 136 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.5665, allocations: 1.025 MB / 0.6403 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.5691, allocations: 1.801 MB / 0.6421 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.5702, allocations: 457.4 kB / 0.6425 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.572, allocations: 0.763 MB / 0.6433 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.5734, allocations: 0.7047 MB / 0.644 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.5737, allocations: 64 kB / 0.644 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.5751, allocations: 0.5381 MB / 0.6445 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004534/0.5755, allocations: 271.2 kB / 0.6448 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008317/0.5764, allocations: 398.2 kB / 0.6452 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.5785, allocations: 1.132 MB / 0.6463 GB, free: 8.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5785, allocations: 0 / 0.6463 GB, free: 8.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5785, allocations: 0 / 0.6463 GB, free: 8.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.242e-05/0.5786, allocations: 0 / 0.6463 GB, free: 8.992 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002722/0.5813, allocations: 1.048 MB / 0.6473 GB, free: 7.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5814, allocations: 12.03 kB / 0.6473 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.5818, allocations: 91.98 kB / 0.6474 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.5828, allocations: 0.5404 MB / 0.6479 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.5829, allocations: 104.9 kB / 0.648 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5831, allocations: 48.56 kB / 0.6481 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.5845, allocations: 0.8188 MB / 0.6489 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.5845, allocations: 4 kB / 0.6489 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.5846, allocations: 25.25 kB / 0.6489 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.5846, allocations: 40.97 kB / 0.6489 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5857, allocations: 0.6517 MB / 0.6496 GB, free: 5.449 MB / 494.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.005002/0.5908, allocations: 3.959 MB / 0.6534 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009161/0.5917, allocations: 428.1 kB / 0.6539 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.5921, allocations: 209.3 kB / 0.6541 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.5928, allocations: 0.7366 MB / 0.6548 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5928, allocations: 38.83 kB / 0.6548 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.5928, allocations: 4 kB / 0.6548 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003425/0.5963, allocations: 1.546 MB / 0.6563 GB, free: 14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.5964, allocations: 132.5 kB / 0.6565 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.5971, allocations: 0.5692 MB / 0.657 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.144e-05/0.5972, allocations: 37.7 kB / 0.657 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.5975, allocations: 351.1 kB / 0.6574 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.5976, allocations: 165.6 kB / 0.6575 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.5979, allocations: 138.6 kB / 0.6577 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5981, allocations: 374.8 kB / 0.658 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.5985, allocations: 213.9 kB / 0.6582 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.5991, allocations: 0.5084 MB / 0.6587 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.6001, allocations: 0.7601 MB / 0.6595 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6001, allocations: 4 kB / 0.6595 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001849/0.602, allocations: 0.9179 MB / 0.6604 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.6021, allocations: 8.188 kB / 0.6604 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.6021, allocations: 15.94 kB / 0.6604 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.6038, allocations: 283.3 kB / 0.6607 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.6042, allocations: 119.8 kB / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.6055, allocations: 0.8879 MB / 0.6616 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.6061, allocations: 31.98 kB / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.6062, allocations: 35.94 kB / 0.6617 GB, free: 8.113 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003961/0.6066, allocations: 249.5 kB / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.6068, allocations: 71.14 kB / 0.662 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.6081, allocations: 0.7651 MB / 0.6628 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6081, allocations: 8.016 kB / 0.6628 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6081, allocations: 0 / 0.6628 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.6084, allocations: 188.3 kB / 0.6629 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6086, allocations: 15.94 kB / 0.663 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.609, allocations: 23.98 kB / 0.663 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.6091, allocations: 32.39 kB / 0.663 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001667/0.6108, allocations: 0.6846 MB / 0.6637 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001357/0.6121, allocations: 0.9227 MB / 0.6646 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003584/0.6125, allocations: 231.3 kB / 0.6648 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005241/0.613, allocations: 407.1 kB / 0.6652 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of Backend: time 5.21e-07/0.613, allocations: 0 / 0.6652 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.6152, allocations: 0.672 MB / 0.6659 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004522/0.6198, allocations: 1.888 MB / 0.6677 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.0288/0.6486, allocations: 14.88 MB / 0.6822 GB, free: 2.988 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches