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.001105/0.001105, allocations: 105.8 kB / 16.41 MB, free: 6.504 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.001379/0.001379, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.403/1.403, allocations: 205.1 MB / 223.2 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.2203/0.2203, allocations: 43.52 MB / 314.1 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.001434/0.001434, allocations: 63.91 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1173, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.494/0.6113, allocations: 147.6 MB / 0.632 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009368/0.6208, allocations: 5.583 MB / 0.6375 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009797/0.6218, allocations: 19.88 kB / 0.6375 GB, free: 1.336 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.6231, allocations: 322 kB / 0.6378 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.6255, allocations: 0.8745 MB / 0.6387 GB, free: 144 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.6286, allocations: 1.024 MB / 0.6397 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.6314, allocations: 1.801 MB / 0.6414 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006762/0.6321, allocations: 460.6 kB / 0.6419 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.6334, allocations: 0.7669 MB / 0.6426 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009838/0.6344, allocations: 0.7047 MB / 0.6433 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.6345, allocations: 64 kB / 0.6434 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.636, allocations: 0.542 MB / 0.6439 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000379/0.6364, allocations: 267.2 kB / 0.6441 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005918/0.637, allocations: 390.2 kB / 0.6445 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.6388, allocations: 1.132 MB / 0.6456 GB, free: 9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.6388, allocations: 0 / 0.6456 GB, free: 9 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.6388, allocations: 0 / 0.6456 GB, free: 9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.6388, allocations: 0 / 0.6456 GB, free: 9 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.002442/0.6413, allocations: 1.059 MB / 0.6467 GB, free: 7.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.6413, allocations: 12.03 kB / 0.6467 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/0.6417, allocations: 95.97 kB / 0.6468 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008956/0.6426, allocations: 0.5405 MB / 0.6473 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.6428, allocations: 101 kB / 0.6474 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/0.6429, allocations: 48.56 kB / 0.6474 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.6442, allocations: 0.8222 MB / 0.6482 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.6442, allocations: 11.88 kB / 0.6482 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.6443, allocations: 20 kB / 0.6483 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/0.6443, allocations: 40.98 kB / 0.6483 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.6454, allocations: 0.6517 MB / 0.6489 GB, free: 5.441 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.005023/0.6505, allocations: 3.951 MB / 0.6528 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.6514, allocations: 436 kB / 0.6532 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.6518, allocations: 201.4 kB / 0.6534 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008437/0.6526, allocations: 0.7405 MB / 0.6541 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.6527, allocations: 38.89 kB / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 4.138e-06/0.6527, allocations: 0 / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003539/0.6563, allocations: 1.543 MB / 0.6557 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.6564, allocations: 132.5 kB / 0.6558 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.6572, allocations: 0.5731 MB / 0.6564 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.6573, allocations: 37.7 kB / 0.6564 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.6576, allocations: 351.1 kB / 0.6567 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.6578, allocations: 165.6 kB / 0.6569 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.658, allocations: 138.6 kB / 0.657 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.6582, allocations: 374.8 kB / 0.6574 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.6586, allocations: 215 kB / 0.6576 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.6593, allocations: 0.5123 MB / 0.6581 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.6605, allocations: 0.7601 MB / 0.6588 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.6605, allocations: 8 kB / 0.6588 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001753/0.6622, allocations: 0.914 MB / 0.6597 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.6623, allocations: 11.94 kB / 0.6597 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.6623, allocations: 12 kB / 0.6597 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.6638, allocations: 283.3 kB / 0.66 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.6642, allocations: 119.5 kB / 0.6601 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.6653, allocations: 0.8956 MB / 0.661 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.6658, allocations: 24 kB / 0.661 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.6659, allocations: 35.98 kB / 0.6611 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.0004284/0.6663, allocations: 249.5 kB / 0.6613 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.6665, allocations: 67.16 kB / 0.6614 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.6679, allocations: 0.769 MB / 0.6621 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.6679, allocations: 15.94 kB / 0.6621 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6679, allocations: 0 / 0.6621 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6679, allocations: 4.031 kB / 0.6621 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.6701, allocations: 1.411 MB / 0.6635 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6702, allocations: 4 kB / 0.6635 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.6713, allocations: 204 kB / 0.6637 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.053e-05/0.6714, allocations: 20.84 kB / 0.6637 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.6714, allocations: 19.98 kB / 0.6638 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.6737, allocations: 2.866 MB / 0.6666 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6738, allocations: 3.984 kB / 0.6666 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.6754, allocations: 1.012 MB / 0.6675 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.6757, allocations: 208.1 kB / 0.6677 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.6758, allocations: 8 kB / 0.6677 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.6763, allocations: 24.73 kB / 0.6678 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.6764, allocations: 43.61 kB / 0.6678 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.6764, allocations: 23.98 kB / 0.6678 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005729/0.677, allocations: 431.1 kB / 0.6682 GB, free: 252 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.677, allocations: 0 / 0.6682 GB, free: 252 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009157/0.6779, allocations: 220 kB / 0.6685 GB, free: 32 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007008/0.6786, allocations: 261.3 kB / 0.6687 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.68, allocations: 0.6067 MB / 0.6693 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.68, allocations: 0 / 0.6693 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6811, allocations: 462.6 kB / 0.6697 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.6828, allocations: 377 kB / 0.6701 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.6852, allocations: 1.37 MB / 0.6714 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.6858, allocations: 0.9385 MB / 0.6724 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006364/0.6865, allocations: 210 kB / 0.6726 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.6866, allocations: 63.42 kB / 0.6726 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.6867, allocations: 0 / 0.6726 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.02762/0.7143, allocations: 15.66 MB / 0.6879 GB, free: 12.07 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/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