Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 105 kB / 16.41 MB, free: 6.512 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.001119/0.001119, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.681/1.681, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.241/0.241, 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.001374/0.001374, allocations: 73.45 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1459, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5259/0.6719, allocations: 150.6 MB / 0.6349 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.6732, allocations: 0.975 MB / 0.6359 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.6733, allocations: 0 / 0.6359 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.6736, allocations: 35.75 kB / 0.6359 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006336/0.6743, allocations: 244.7 kB / 0.6362 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.6747, allocations: 116.5 kB / 0.6363 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.675, allocations: 167.3 kB / 0.6364 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.675, allocations: 11.98 kB / 0.6364 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.6753, allocations: 87.62 kB / 0.6365 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.6754, allocations: 51.77 kB / 0.6366 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.6754, allocations: 8 kB / 0.6366 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.6759, allocations: 259.7 kB / 0.6368 GB, free: 2 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.676, allocations: 23.97 kB / 0.6368 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.6761, allocations: 43.8 kB / 0.6369 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.6765, allocations: 278.4 kB / 0.6372 GB, free: 1.664 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6766, allocations: 7.922 kB / 0.6372 GB, free: 1.656 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6766, allocations: 0 / 0.6372 GB, free: 1.656 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.6766, allocations: 0 / 0.6372 GB, free: 1.656 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005844/0.6772, allocations: 411.2 kB / 0.6376 GB, free: 1.207 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.6772, allocations: 15.89 kB / 0.6376 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.6792, allocations: 193.1 kB / 0.6378 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.6795, allocations: 202.3 kB / 0.6379 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.6796, allocations: 11.94 kB / 0.638 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.6796, allocations: 12 kB / 0.638 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.6801, allocations: 224 kB / 0.6382 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.6802, allocations: 0 / 0.6382 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.6802, allocations: 4 kB / 0.6382 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6802, allocations: 4 kB / 0.6382 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.6807, allocations: 167.8 kB / 0.6383 GB, free: 348 kB / 478.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.001073/0.6817, allocations: 0.5642 MB / 0.6389 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.6821, allocations: 138.5 kB / 0.639 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.6822, allocations: 71.02 kB / 0.6391 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.6823, allocations: 4 kB / 0.6391 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.6823, allocations: 38.5 kB / 0.6391 GB, free: 15.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.6823, allocations: 0 / 0.6391 GB, free: 15.45 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005046/0.6874, allocations: 1.315 MB / 0.6404 GB, free: 14.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.6874, allocations: 55.41 kB / 0.6405 GB, free: 13.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.6875, allocations: 113.8 kB / 0.6406 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.6876, allocations: 29.7 kB / 0.6406 GB, free: 13.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.6877, allocations: 91.98 kB / 0.6407 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.6877, allocations: 71 kB / 0.6408 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.6878, allocations: 53.69 kB / 0.6408 GB, free: 13.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.688, allocations: 314.8 kB / 0.6411 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.6881, allocations: 75.95 kB / 0.6412 GB, free: 13.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.6883, allocations: 103.2 kB / 0.6413 GB, free: 13.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.6887, allocations: 183.3 kB / 0.6415 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6887, allocations: 0 / 0.6415 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005109/0.6892, allocations: 266.2 kB / 0.6417 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6892, allocations: 10.59 kB / 0.6417 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6892, allocations: 0 / 0.6417 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.6894, allocations: 48.83 kB / 0.6418 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.6898, allocations: 51.95 kB / 0.6418 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004832/0.6903, allocations: 0.5719 MB / 0.6424 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.6905, allocations: 8.016 kB / 0.6424 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.6905, allocations: 24 kB / 0.6424 GB, free: 11.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.6907, allocations: 125.7 kB / 0.6425 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.6907, allocations: 15.81 kB / 0.6426 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007706/0.6915, allocations: 345 kB / 0.6429 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.6915, allocations: 7.938 kB / 0.6429 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6915, allocations: 0 / 0.6429 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6915, allocations: 0 / 0.6429 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.6925, allocations: 0.6224 MB / 0.6435 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6925, allocations: 0.875 kB / 0.6435 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.6929, allocations: 67.89 kB / 0.6436 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.447e-05/0.6929, allocations: 16.84 kB / 0.6436 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.693, allocations: 15.98 kB / 0.6436 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009826/0.694, allocations: 1.364 MB / 0.6449 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.694, allocations: 7.969 kB / 0.6449 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.6947, allocations: 438.5 kB / 0.6454 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.6947, allocations: 96.89 kB / 0.6454 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.6948, allocations: 8 kB / 0.6455 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.695, allocations: 4 kB / 0.6455 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.6951, allocations: 32.03 kB / 0.6455 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.6951, allocations: 23.98 kB / 0.6455 GB, free: 8.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.6952, allocations: 95.56 kB / 0.6456 GB, free: 8.379 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6952, allocations: 0 / 0.6456 GB, free: 8.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.6956, allocations: 84 kB / 0.6457 GB, free: 8.297 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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): 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.0003822/0.696, allocations: 147.1 kB / 0.6458 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.6965, allocations: 204.3 kB / 0.646 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.6965, allocations: 4.188 kB / 0.646 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.6969, allocations: 222.5 kB / 0.6462 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.6973, allocations: 44.19 kB / 0.6463 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009059/0.6983, allocations: 484 kB / 0.6467 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.6986, allocations: 0.7046 MB / 0.6474 GB, free: 6.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.6989, allocations: 73.39 kB / 0.6475 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.6991, allocations: 55.41 kB / 0.6475 GB, free: 6.297 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6991, allocations: 0 / 0.6475 GB, free: 6.297 MB / 494.1 MB Notification: Performance of Templates: time 0.009887/0.709, allocations: 5.616 MB / 0.653 GB, free: 0.6875 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches