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.001408/0.001408, allocations: 108.6 kB / 16.41 MB, free: 6.488 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.001479/0.001479, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.782/1.782, allocations: 205.1 MB / 223.2 MB, free: 12.09 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.2378/0.2378, allocations: 43.53 MB / 314.1 MB, free: 440 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.001512/0.001512, allocations: 70.25 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.496/0.6469, allocations: 150.6 MB / 0.6349 GB, free: 3.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.6483, allocations: 0.9731 MB / 0.6359 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.6484, allocations: 3.938 kB / 0.6359 GB, free: 3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.6488, allocations: 39.8 kB / 0.6359 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008998/0.6498, allocations: 244.8 kB / 0.6361 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.6502, allocations: 116.6 kB / 0.6363 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.6505, allocations: 175.2 kB / 0.6364 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.6505, allocations: 11.27 kB / 0.6364 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.6508, allocations: 87.62 kB / 0.6365 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.6509, allocations: 51.83 kB / 0.6366 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.6509, allocations: 4 kB / 0.6366 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.6514, allocations: 259.7 kB / 0.6368 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.6515, allocations: 23.86 kB / 0.6368 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.6516, allocations: 39.86 kB / 0.6369 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.652, allocations: 286.3 kB / 0.6372 GB, free: 1.703 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6521, allocations: 0 / 0.6372 GB, free: 1.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6521, allocations: 0 / 0.6372 GB, free: 1.703 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.6521, allocations: 0 / 0.6372 GB, free: 1.703 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.0005727/0.6526, allocations: 415.2 kB / 0.6375 GB, free: 1.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6527, allocations: 15.89 kB / 0.6376 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.6548, allocations: 189.1 kB / 0.6377 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.6552, allocations: 212.4 kB / 0.6379 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.6552, allocations: 7.938 kB / 0.638 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.6553, allocations: 8 kB / 0.638 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.6559, allocations: 223.7 kB / 0.6382 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.6559, allocations: 0 / 0.6382 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.6559, allocations: 8 kB / 0.6382 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.656, allocations: 0 / 0.6382 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.6564, allocations: 178.9 kB / 0.6384 GB, free: 388 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.001051/0.6574, allocations: 0.5603 MB / 0.6389 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.6578, allocations: 144.9 kB / 0.639 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.6579, allocations: 68.83 kB / 0.6391 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.658, allocations: 7.984 kB / 0.6391 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.658, allocations: 34.56 kB / 0.6391 GB, free: 15.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.658, allocations: 3.938 kB / 0.6391 GB, free: 15.49 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.005557/0.6636, allocations: 1.301 MB / 0.6404 GB, free: 14.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.6637, allocations: 59.34 kB / 0.6405 GB, free: 14.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.6638, allocations: 113.8 kB / 0.6406 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.6638, allocations: 33.7 kB / 0.6406 GB, free: 13.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.664, allocations: 95.92 kB / 0.6407 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.664, allocations: 67 kB / 0.6408 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.6641, allocations: 57.69 kB / 0.6408 GB, free: 13.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6643, allocations: 318.8 kB / 0.6411 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.6645, allocations: 67.95 kB / 0.6412 GB, free: 13.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.6647, allocations: 111.2 kB / 0.6413 GB, free: 13.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.665, allocations: 179.3 kB / 0.6415 GB, free: 12.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.665, allocations: 0 / 0.6415 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005038/0.6655, allocations: 262.2 kB / 0.6417 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6656, allocations: 4 kB / 0.6417 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6656, allocations: 4 kB / 0.6417 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.6658, allocations: 48.83 kB / 0.6418 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.6661, allocations: 55.91 kB / 0.6418 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004644/0.6666, allocations: 0.564 MB / 0.6424 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.6668, allocations: 12.16 kB / 0.6424 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.6669, allocations: 23.98 kB / 0.6424 GB, free: 11.94 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.0001413/0.667, allocations: 125.8 kB / 0.6425 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.6671, allocations: 15.81 kB / 0.6425 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.6679, allocations: 339.9 kB / 0.6429 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6679, allocations: 7.938 kB / 0.6429 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6679, allocations: 4 kB / 0.6429 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.6679, allocations: 0 / 0.6429 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6691, allocations: 0.6199 MB / 0.6435 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6691, allocations: 4 kB / 0.6435 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.6695, allocations: 63.98 kB / 0.6436 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.445e-05/0.6695, allocations: 24.78 kB / 0.6436 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.6696, allocations: 12 kB / 0.6436 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009421/0.6705, allocations: 1.372 MB / 0.6449 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6705, allocations: 0 / 0.6449 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.6712, allocations: 438.5 kB / 0.6453 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.6713, allocations: 92.89 kB / 0.6454 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.6713, allocations: 8 kB / 0.6454 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.6715, allocations: 8 kB / 0.6455 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.6716, allocations: 19.97 kB / 0.6455 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.6717, allocations: 31.98 kB / 0.6455 GB, free: 8.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.751e-05/0.6717, allocations: 91.64 kB / 0.6456 GB, free: 8.422 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6717, allocations: 0 / 0.6456 GB, free: 8.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.6722, allocations: 80 kB / 0.6457 GB, free: 8.344 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.0003977/0.6726, allocations: 159 kB / 0.6458 GB, free: 8.176 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005205/0.6731, allocations: 204.3 kB / 0.646 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6731, allocations: 0 / 0.646 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.6735, allocations: 234.2 kB / 0.6462 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.674, allocations: 40.19 kB / 0.6463 GB, free: 7.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008661/0.6749, allocations: 479.9 kB / 0.6467 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6752, allocations: 0.7046 MB / 0.6474 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.6755, allocations: 77.39 kB / 0.6475 GB, free: 6.383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.6757, allocations: 59.34 kB / 0.6475 GB, free: 6.324 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6757, allocations: 0 / 0.6475 GB, free: 6.324 MB / 494.1 MB Notification: Performance of Templates: time 0.01137/0.6871, allocations: 5.615 MB / 0.653 GB, free: 0.7188 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