Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.435/1.435, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3738/0.3738, allocations: 43.5 MB / 313.5 MB, free: 8.527 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.002348/0.002348, allocations: 67.89 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1477, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5016/0.6494, allocations: 178.2 MB / 0.6035 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.662, allocations: 8.424 MB / 0.6117 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.6633, allocations: 31.75 kB / 0.6118 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.6648, allocations: 266.5 kB / 0.612 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.6696, allocations: 1.319 MB / 0.6133 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.673, allocations: 1.008 MB / 0.6143 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00353/0.6765, allocations: 2.713 MB / 0.6169 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.6776, allocations: 401.8 kB / 0.6173 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.6807, allocations: 1.111 MB / 0.6184 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.6823, allocations: 0.6851 MB / 0.6191 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.6826, allocations: 32 kB / 0.6191 GB, free: 9.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.6847, allocations: 0.7058 MB / 0.6198 GB, free: 9.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.6852, allocations: 231.3 kB / 0.62 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008317/0.686, allocations: 374.2 kB / 0.6204 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.6888, allocations: 1.395 MB / 0.6217 GB, free: 7.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6888, allocations: 0 / 0.6217 GB, free: 7.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.6888, allocations: 3.938 kB / 0.6217 GB, free: 7.293 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.853e-05/0.6889, allocations: 0 / 0.6217 GB, free: 7.293 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.003038/0.6919, allocations: 1.135 MB / 0.6228 GB, free: 6.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.692, allocations: 12.03 kB / 0.6229 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.6929, allocations: 131.1 kB / 0.623 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.6938, allocations: 0.5118 MB / 0.6235 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.6939, allocations: 96.41 kB / 0.6236 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.694, allocations: 58.98 kB / 0.6236 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6952, allocations: 0.8097 MB / 0.6244 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.6953, allocations: 7.938 kB / 0.6244 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.6953, allocations: 23.98 kB / 0.6245 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.6954, allocations: 44.98 kB / 0.6245 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.6965, allocations: 0.6127 MB / 0.6251 GB, free: 3.68 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.2795/0.976, allocations: 3.983 MB / 0.629 GB, free: 157.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.9766, allocations: 356.9 kB / 0.6293 GB, free: 157.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.9769, allocations: 166.9 kB / 0.6295 GB, free: 157.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004656/0.9774, allocations: 360.2 kB / 0.6298 GB, free: 157.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.9774, allocations: 39.53 kB / 0.6299 GB, free: 157.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 3.236e-06/0.9775, allocations: 0 / 0.6299 GB, free: 157.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005745/0.9832, allocations: 1.667 MB / 0.6315 GB, free: 156.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.9833, allocations: 139.9 kB / 0.6316 GB, free: 156.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/0.984, allocations: 0.6128 MB / 0.6322 GB, free: 156.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.9841, allocations: 34.95 kB / 0.6323 GB, free: 156.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.9843, allocations: 366.6 kB / 0.6326 GB, free: 156.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.9844, allocations: 146.8 kB / 0.6327 GB, free: 156.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.9846, allocations: 158 kB / 0.6329 GB, free: 156.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.9847, allocations: 380.9 kB / 0.6333 GB, free: 155.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.9851, allocations: 198.3 kB / 0.6335 GB, free: 155.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.9855, allocations: 0.5138 MB / 0.634 GB, free: 155.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008313/0.9864, allocations: 0.7469 MB / 0.6347 GB, free: 155.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.9864, allocations: 5.125 kB / 0.6347 GB, free: 155.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001352/0.9877, allocations: 0.8863 MB / 0.6356 GB, free: 154.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.9878, allocations: 8.781 kB / 0.6356 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.9878, allocations: 8.656 kB / 0.6356 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.9892, allocations: 313.3 kB / 0.6359 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.9895, allocations: 122.2 kB / 0.636 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009572/0.9905, allocations: 0.9338 MB / 0.6369 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.9911, allocations: 45.56 kB / 0.6369 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.6e-05/0.9912, allocations: 76.08 kB / 0.637 GB, free: 154.2 MB / 494.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.0003414/0.9915, allocations: 245.1 kB / 0.6372 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.9917, allocations: 71.81 kB / 0.6373 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.9931, allocations: 0.6899 MB / 0.638 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.9931, allocations: 5.688 kB / 0.638 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.9931, allocations: 0 / 0.638 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.9931, allocations: 0 / 0.638 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.9951, allocations: 1.608 MB / 0.6396 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9951, allocations: 0 / 0.6396 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/0.996, allocations: 212.8 kB / 0.6398 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.941e-05/0.9962, allocations: 28.66 kB / 0.6398 GB, free: 152.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.9962, allocations: 20.95 kB / 0.6398 GB, free: 152.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.9978, allocations: 2.686 MB / 0.6424 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9979, allocations: 7.562 kB / 0.6424 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.999, allocations: 0.8056 MB / 0.6432 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.9993, allocations: 193.2 kB / 0.6434 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.9994, allocations: 10.94 kB / 0.6434 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.9998, allocations: 29.33 kB / 0.6435 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.9999, allocations: 42.56 kB / 0.6435 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/1, allocations: 43.12 kB / 0.6435 GB, free: 149.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005221/1.001, allocations: 440.8 kB / 0.644 GB, free: 149.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.001, allocations: 0 / 0.644 GB, free: 149.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001202/1.002, allocations: 286.2 kB / 0.6442 GB, free: 149.1 MB / 494.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.001015/1.003, allocations: 377.4 kB / 0.6446 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/1.004, allocations: 0.5298 MB / 0.6451 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.004, allocations: 3.312 kB / 0.6451 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009117/1.005, allocations: 417.2 kB / 0.6455 GB, free: 148.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.007, allocations: 350.9 kB / 0.6458 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/1.009, allocations: 1.518 MB / 0.6473 GB, free: 147.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/1.009, allocations: 0.9338 MB / 0.6482 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001033/1.01, allocations: 260.9 kB / 0.6485 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/1.011, allocations: 100.1 kB / 0.6486 GB, free: 146.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/1.011, allocations: 0 / 0.6486 GB, free: 146.9 MB / 494.1 MB Notification: Performance of Templates: time 0.0366/1.047, allocations: 17.75 MB / 0.6659 GB, free: 144.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches