Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001098/0.001098, allocations: 192 kB / 19.29 MB, free: 3.715 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.279/1.279, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.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.001226/0.001226, allocations: 43.94 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07267/0.07391, allocations: 46.63 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2803/0.3542, allocations: 150.6 MB / 479.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3555, allocations: 0.9743 MB / 480.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.3555, allocations: 7.938 kB / 480.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.3558, allocations: 27.77 kB / 480.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.3564, allocations: 246.1 kB / 480.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.3567, allocations: 114.2 kB / 480.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.3569, allocations: 164.9 kB / 480.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.357, allocations: 4 kB / 480.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.3572, allocations: 91.56 kB / 480.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-05/0.3573, allocations: 51.83 kB / 481 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3573, allocations: 8 kB / 481 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.3578, allocations: 263.7 kB / 481.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.3579, allocations: 19.91 kB / 481.3 MB, free: 14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.3579, allocations: 55.72 kB / 481.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.3583, allocations: 276.7 kB / 481.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3584, allocations: 0 / 481.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3584, allocations: 4 kB / 481.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3584, allocations: 0 / 481.6 MB, free: 13.68 MB / 382.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.0004704/0.3588, allocations: 403.9 kB / 482 MB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.3589, allocations: 16.03 kB / 482 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.3609, allocations: 185.1 kB / 482.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3612, allocations: 212.4 kB / 482.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3613, allocations: 11.92 kB / 482.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.3613, allocations: 9.781 kB / 482.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.3618, allocations: 220.1 kB / 482.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3618, allocations: 0 / 482.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.3619, allocations: 11.94 kB / 482.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3619, allocations: 0 / 482.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.3623, allocations: 167.8 kB / 482.8 MB, free: 12.37 MB / 382.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.001005/0.3633, allocations: 0.5807 MB / 483.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.3637, allocations: 134.5 kB / 483.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3638, allocations: 72.83 kB / 483.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3639, allocations: 7.984 kB / 483.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3639, allocations: 34.56 kB / 483.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.3639, allocations: 0 / 483.6 MB, free: 11.46 MB / 382.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.005165/0.3691, allocations: 1.309 MB / 484.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.3691, allocations: 67.33 kB / 485 MB, free: 9.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.3692, allocations: 105.8 kB / 485.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.3692, allocations: 33.7 kB / 485.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.3693, allocations: 87.95 kB / 485.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.3693, allocations: 71.03 kB / 485.3 MB, free: 9.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.3695, allocations: 53.61 kB / 485.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3696, allocations: 322.8 kB / 485.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3697, allocations: 75.95 kB / 485.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.3699, allocations: 103.3 kB / 485.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.3703, allocations: 183.3 kB / 486 MB, free: 8.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3703, allocations: 4 kB / 486 MB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004883/0.3708, allocations: 258.2 kB / 486.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3708, allocations: 8 kB / 486.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3708, allocations: 0 / 486.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.371, allocations: 48.83 kB / 486.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.3713, allocations: 55.03 kB / 486.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004122/0.3717, allocations: 0.568 MB / 486.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3719, allocations: 8.031 kB / 486.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.372, allocations: 23.98 kB / 487 MB, free: 7.914 MB / 382.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.0001139/0.3721, allocations: 129.7 kB / 487.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.3722, allocations: 7.906 kB / 487.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.3729, allocations: 351.5 kB / 487.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3729, allocations: 7.938 kB / 487.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3729, allocations: 0 / 487.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3729, allocations: 0 / 487.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009743/0.3739, allocations: 0.6351 MB / 488.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3739, allocations: 0 / 488.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.3743, allocations: 59.95 kB / 488.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.968e-05/0.3744, allocations: 21.97 kB / 488.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.3744, allocations: 8 kB / 488.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009289/0.3753, allocations: 1.368 MB / 489.5 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3754, allocations: 0 / 489.5 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006825/0.3761, allocations: 438.6 kB / 490 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.3761, allocations: 89.03 kB / 490.1 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.3761, allocations: 4 kB / 490.1 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3764, allocations: 12.06 kB / 490.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.3764, allocations: 31.91 kB / 490.1 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.3765, allocations: 27.98 kB / 490.1 MB, free: 4.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.319e-05/0.3765, allocations: 83.28 kB / 490.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3765, allocations: 0 / 490.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000382/0.3769, allocations: 87.92 kB / 490.3 MB, free: 4.309 MB / 382.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.0003657/0.3773, allocations: 147.1 kB / 490.4 MB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.3778, allocations: 203.9 kB / 490.6 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3778, allocations: 4 kB / 490.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.3782, allocations: 222.6 kB / 490.9 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3786, allocations: 36.16 kB / 490.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.3794, allocations: 491.8 kB / 491.4 MB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.3797, allocations: 0.7046 MB / 492.1 MB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.38, allocations: 77.61 kB / 492.2 MB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3802, allocations: 51.41 kB / 492.2 MB, free: 2.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3802, allocations: 0 / 492.2 MB, free: 2.316 MB / 382.1 MB Notification: Performance of Templates: time 0.009009/0.3892, allocations: 5.603 MB / 497.8 MB, free: 12.71 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches