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.007195/0.007195, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001389/0.00139, allocations: 195.9 kB / 16.79 MB, free: 6.238 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.566/1.566, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3517/0.3517, allocations: 43.49 MB / 313.5 MB, free: 8.23 MB / 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.001339/0.001339, allocations: 63.91 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.126, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3799/0.506, allocations: 146 MB / 0.5721 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.5163, allocations: 5.734 MB / 0.5777 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009843/0.5173, allocations: 23.81 kB / 0.5777 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.5185, allocations: 290.4 kB / 0.578 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.5209, allocations: 0.8127 MB / 0.5788 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.5242, allocations: 0.9307 MB / 0.5797 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003645/0.5279, allocations: 2.663 MB / 0.5823 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007749/0.5287, allocations: 404.2 kB / 0.5827 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.5303, allocations: 0.6615 MB / 0.5833 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.5317, allocations: 0.7326 MB / 0.584 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.5319, allocations: 36 kB / 0.5841 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.5335, allocations: 0.5341 MB / 0.5846 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.5339, allocations: 239.2 kB / 0.5848 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.5345, allocations: 374.2 kB / 0.5852 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.5361, allocations: 1.098 MB / 0.5862 GB, free: 11.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5361, allocations: 0 / 0.5862 GB, free: 11.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5361, allocations: 0 / 0.5862 GB, free: 11.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.5362, allocations: 3.938 kB / 0.5862 GB, free: 11.56 MB / 462.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.00271/0.5389, allocations: 1.061 MB / 0.5873 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5389, allocations: 8.031 kB / 0.5873 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/0.5395, allocations: 88.66 kB / 0.5874 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009996/0.5405, allocations: 0.5209 MB / 0.5879 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.5406, allocations: 101 kB / 0.588 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.5407, allocations: 56.55 kB / 0.588 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5426, allocations: 0.811 MB / 0.5888 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.5426, allocations: 4 kB / 0.5888 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.5427, allocations: 27.12 kB / 0.5888 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.948e-05/0.5428, allocations: 44.92 kB / 0.5889 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.5443, allocations: 0.6479 MB / 0.5895 GB, free: 8.031 MB / 462.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.006142/0.5505, allocations: 3.967 MB / 0.5934 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.5516, allocations: 416.3 kB / 0.5938 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.5521, allocations: 209.4 kB / 0.594 GB, free: 3.164 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007901/0.5529, allocations: 0.7366 MB / 0.5947 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5529, allocations: 38.89 kB / 0.5948 GB, free: 2.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.946e-06/0.5529, allocations: 0 / 0.5948 GB, free: 2.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.004358/0.5573, allocations: 1.542 MB / 0.5963 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.5574, allocations: 132.5 kB / 0.5964 GB, free: 452 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009471/0.5584, allocations: 0.5693 MB / 0.5969 GB, free: 15.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.5584, allocations: 37.7 kB / 0.597 GB, free: 15.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.5588, allocations: 355 kB / 0.5973 GB, free: 15.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.5589, allocations: 161.7 kB / 0.5975 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.5592, allocations: 146.5 kB / 0.5976 GB, free: 15.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.5594, allocations: 374.8 kB / 0.598 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.56, allocations: 217.9 kB / 0.5982 GB, free: 14.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.5606, allocations: 0.5123 MB / 0.5987 GB, free: 13.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009054/0.5615, allocations: 0.7601 MB / 0.5994 GB, free: 13.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5615, allocations: 4 kB / 0.5994 GB, free: 13.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001613/0.5631, allocations: 0.9024 MB / 0.6003 GB, free: 12.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.5632, allocations: 11.94 kB / 0.6003 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.5632, allocations: 12 kB / 0.6003 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.5647, allocations: 300.6 kB / 0.6006 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.5651, allocations: 115.8 kB / 0.6007 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.5664, allocations: 0.8933 MB / 0.6016 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.5671, allocations: 35.98 kB / 0.6016 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/0.5672, allocations: 45.11 kB / 0.6017 GB, free: 10.69 MB / 478.1 MB 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.0004631/0.5677, allocations: 247.1 kB / 0.6019 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.5679, allocations: 71.16 kB / 0.602 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.5694, allocations: 0.7828 MB / 0.6027 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.5694, allocations: 7.938 kB / 0.6027 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5695, allocations: 0 / 0.6027 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5695, allocations: 3.984 kB / 0.6027 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.5718, allocations: 1.415 MB / 0.6041 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5718, allocations: 0 / 0.6041 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.5729, allocations: 204 kB / 0.6043 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.573, allocations: 27.34 kB / 0.6044 GB, free: 7.809 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.5731, allocations: 15.98 kB / 0.6044 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.5757, allocations: 2.684 MB / 0.607 GB, free: 4.844 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5757, allocations: 0 / 0.607 GB, free: 4.844 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.5773, allocations: 1.007 MB / 0.608 GB, free: 3.781 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.5778, allocations: 202.8 kB / 0.6082 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5779, allocations: 19.98 kB / 0.6082 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.5785, allocations: 35.89 kB / 0.6082 GB, free: 3.512 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.5786, allocations: 35.95 kB / 0.6083 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.5786, allocations: 19.98 kB / 0.6083 GB, free: 3.457 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005553/0.5792, allocations: 435 kB / 0.6087 GB, free: 3.035 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5792, allocations: 0 / 0.6087 GB, free: 3.035 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009917/0.5802, allocations: 224 kB / 0.6089 GB, free: 2.816 MB / 478.1 MB 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.0006938/0.5809, allocations: 253.3 kB / 0.6091 GB, free: 2.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.5822, allocations: 0.6068 MB / 0.6097 GB, free: 1.965 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.5823, allocations: 4 kB / 0.6097 GB, free: 1.961 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.5833, allocations: 454.7 kB / 0.6102 GB, free: 1.504 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.5852, allocations: 359.6 kB / 0.6105 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.5877, allocations: 1.602 MB / 0.6121 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.5883, allocations: 0.9388 MB / 0.613 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007824/0.5891, allocations: 210.2 kB / 0.6132 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.5892, allocations: 67.42 kB / 0.6133 GB, free: 14.28 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5892, allocations: 0 / 0.6133 GB, free: 14.28 MB / 494.1 MB Notification: Performance of Templates: time 0.2215/0.8107, allocations: 14.88 MB / 0.6278 GB, free: 155.5 MB / 494.1 MB 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches