Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 111.2 kB / 17.04 MB, free: 5.812 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.001069/0.001069, allocations: 196 kB / 17.98 MB, free: 5.027 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.508/1.508, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.2074/0.2074, allocations: 43.51 MB / 314.7 MB, free: 484 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.001798/0.001798, allocations: 66.39 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.0996, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4246/0.5242, allocations: 179.7 MB / 0.6071 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00944/0.5337, allocations: 8.189 MB / 0.6151 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000654/0.5344, allocations: 18.06 kB / 0.6151 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.5353, allocations: 310.9 kB / 0.6154 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.5389, allocations: 1.488 MB / 0.6169 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.5417, allocations: 1.15 MB / 0.618 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.5438, allocations: 1.843 MB / 0.6198 GB, free: 456 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007377/0.5446, allocations: 462.1 kB / 0.6202 GB, free: 148 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.5473, allocations: 1.234 MB / 0.6214 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000822/0.5481, allocations: 0.6532 MB / 0.6221 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.414e-05/0.5482, allocations: 60.56 kB / 0.6221 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.5501, allocations: 0.8334 MB / 0.6229 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.5505, allocations: 259.1 kB / 0.6232 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004667/0.5509, allocations: 391.6 kB / 0.6236 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.5528, allocations: 1.425 MB / 0.625 GB, free: 13.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5528, allocations: 4 kB / 0.625 GB, free: 13.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5528, allocations: 3.938 kB / 0.625 GB, free: 13.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.5528, allocations: 0 / 0.625 GB, free: 13.05 MB / 446.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.002246/0.5551, allocations: 1.122 MB / 0.6261 GB, free: 11.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5551, allocations: 8.031 kB / 0.6261 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.556, allocations: 139.1 kB / 0.6262 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.557, allocations: 0.5373 MB / 0.6267 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.5572, allocations: 104.4 kB / 0.6268 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.5573, allocations: 55.92 kB / 0.6269 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5586, allocations: 0.8096 MB / 0.6277 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5587, allocations: 0 / 0.6277 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/0.5587, allocations: 28 kB / 0.6277 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.5588, allocations: 36.98 kB / 0.6277 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.5598, allocations: 0.6204 MB / 0.6283 GB, free: 9.426 MB / 446.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.004704/0.5645, allocations: 3.977 MB / 0.6322 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.5651, allocations: 357.9 kB / 0.6326 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.5654, allocations: 169.3 kB / 0.6327 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/0.5659, allocations: 361.4 kB / 0.6331 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.566, allocations: 46.78 kB / 0.6331 GB, free: 4.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.245e-06/0.566, allocations: 0 / 0.6331 GB, free: 4.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.00551/0.5715, allocations: 1.661 MB / 0.6347 GB, free: 2.477 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.5716, allocations: 140.5 kB / 0.6349 GB, free: 2.309 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/0.5724, allocations: 0.621 MB / 0.6355 GB, free: 1.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.5724, allocations: 33.7 kB / 0.6355 GB, free: 1.641 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.5727, allocations: 363 kB / 0.6359 GB, free: 1.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.5728, allocations: 142 kB / 0.636 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.573, allocations: 154.5 kB / 0.6361 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5732, allocations: 374.8 kB / 0.6365 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.5736, allocations: 215.2 kB / 0.6367 GB, free: 412 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.5742, allocations: 0.5125 MB / 0.6372 GB, free: 15.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009492/0.5751, allocations: 0.7526 MB / 0.6379 GB, free: 14.85 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5751, allocations: 4 kB / 0.6379 GB, free: 14.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001482/0.5766, allocations: 0.8725 MB / 0.6388 GB, free: 13.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.5767, allocations: 12.06 kB / 0.6388 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.5767, allocations: 12 kB / 0.6388 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.5782, allocations: 319.7 kB / 0.6391 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.5786, allocations: 127.8 kB / 0.6392 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.5797, allocations: 0.9347 MB / 0.6402 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.5803, allocations: 24 kB / 0.6402 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.5805, allocations: 67.98 kB / 0.6402 GB, free: 12.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004672/0.5809, allocations: 245.5 kB / 0.6405 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.5811, allocations: 67.19 kB / 0.6405 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.5824, allocations: 0.6822 MB / 0.6412 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.5825, allocations: 7.984 kB / 0.6412 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5825, allocations: 3.938 kB / 0.6412 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5825, allocations: 0 / 0.6412 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.5847, allocations: 1.603 MB / 0.6428 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5848, allocations: 7.938 kB / 0.6428 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5858, allocations: 207.8 kB / 0.643 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-05/0.5859, allocations: 24.84 kB / 0.643 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.586, allocations: 20.12 kB / 0.643 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.588, allocations: 2.885 MB / 0.6458 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.588, allocations: 0 / 0.6458 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.5893, allocations: 0.8004 MB / 0.6466 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.5896, allocations: 192.2 kB / 0.6468 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-05/0.5897, allocations: 12 kB / 0.6468 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.5901, allocations: 19.98 kB / 0.6468 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.5902, allocations: 39.81 kB / 0.6469 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.5903, allocations: 39.98 kB / 0.6469 GB, free: 5.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004796/0.5908, allocations: 447 kB / 0.6473 GB, free: 4.672 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5908, allocations: 8 kB / 0.6474 GB, free: 4.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009118/0.5917, allocations: 291.9 kB / 0.6476 GB, free: 4.379 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008758/0.5926, allocations: 368.8 kB / 0.648 GB, free: 4.016 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.5937, allocations: 0.5437 MB / 0.6485 GB, free: 3.473 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5938, allocations: 4.484 kB / 0.6485 GB, free: 3.469 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009744/0.5947, allocations: 422.2 kB / 0.6489 GB, free: 3.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5962, allocations: 371.9 kB / 0.6493 GB, free: 2.688 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.5982, allocations: 1.302 MB / 0.6505 GB, free: 1.344 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.5988, allocations: 0.9377 MB / 0.6515 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000771/0.5995, allocations: 262 kB / 0.6517 GB, free: 124 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.5998, allocations: 95.41 kB / 0.6518 GB, free: 28 kB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5998, allocations: 0 / 0.6518 GB, free: 28 kB / 462.1 MB Notification: Performance of Templates: time 0.02958/0.6294, allocations: 18.33 MB / 0.6697 GB, free: 13.74 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches