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.001171/0.001171, allocations: 110 kB / 18.25 MB, free: 4.898 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.001189/0.001189, allocations: 195.5 kB / 19.18 MB, free: 3.977 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.525/1.525, allocations: 205.1 MB / 225 MB, free: 12.3 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.001471/0.001471, allocations: 55.92 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09701, allocations: 46.63 MB / 327.9 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3511/0.4481, allocations: 150.6 MB / 478.5 MB, free: 428 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.4494, allocations: 0.9796 MB / 479.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.4496, allocations: 0 / 479.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.4499, allocations: 31.81 kB / 479.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.4505, allocations: 246.6 kB / 479.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.4509, allocations: 111.7 kB / 479.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.4511, allocations: 171.2 kB / 480 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.4512, allocations: 4 kB / 480 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.4514, allocations: 87.62 kB / 480.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.439e-05/0.4515, allocations: 55.77 kB / 480.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.4515, allocations: 8 kB / 480.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005197/0.452, allocations: 259.7 kB / 480.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.4521, allocations: 23.95 kB / 480.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.175e-05/0.4522, allocations: 47.8 kB / 480.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.4526, allocations: 277 kB / 480.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4526, allocations: 2.531 kB / 480.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.4526, allocations: 0 / 480.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4527, allocations: 7.938 kB / 480.8 MB, free: 14.14 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.0006344/0.4533, allocations: 403.9 kB / 481.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4534, allocations: 16.03 kB / 481.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.4556, allocations: 185.1 kB / 481.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.4559, allocations: 212.4 kB / 481.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4559, allocations: 7.938 kB / 481.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.4559, allocations: 12 kB / 481.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.4565, allocations: 220.1 kB / 481.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4565, allocations: 3.938 kB / 481.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.4565, allocations: 8 kB / 481.8 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4565, allocations: 0 / 481.8 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.457, allocations: 163.9 kB / 482 MB, free: 12.84 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.001042/0.458, allocations: 0.5883 MB / 482.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.4584, allocations: 130.5 kB / 482.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.4585, allocations: 73.7 kB / 482.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4586, allocations: 7.984 kB / 482.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.4586, allocations: 34.56 kB / 482.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.4586, allocations: 0 / 482.8 MB, free: 11.93 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.005484/0.4641, allocations: 1.313 MB / 484.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.4642, allocations: 60.19 kB / 484.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.4643, allocations: 109.8 kB / 484.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.4643, allocations: 33.7 kB / 484.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.4644, allocations: 87.95 kB / 484.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.4644, allocations: 71.03 kB / 484.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4646, allocations: 57.59 kB / 484.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4647, allocations: 322.8 kB / 484.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.4649, allocations: 71.95 kB / 484.9 MB, free: 9.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.465, allocations: 99.39 kB / 485 MB, free: 9.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.4654, allocations: 191.2 kB / 485.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4654, allocations: 0 / 485.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004977/0.4659, allocations: 261.9 kB / 485.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4659, allocations: 4 kB / 485.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.466, allocations: 4 kB / 485.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.4661, allocations: 52.92 kB / 485.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.4665, allocations: 51.91 kB / 485.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004234/0.4669, allocations: 0.5679 MB / 486.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.4671, allocations: 4.031 kB / 486.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.4671, allocations: 27.98 kB / 486.2 MB, free: 8.371 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.0001169/0.4673, allocations: 125.9 kB / 486.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.4673, allocations: 7.906 kB / 486.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.4682, allocations: 351.2 kB / 486.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4682, allocations: 7.938 kB / 486.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4682, allocations: 0 / 486.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4682, allocations: 0 / 486.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.4692, allocations: 0.6274 MB / 487.3 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4692, allocations: 4 kB / 487.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.4696, allocations: 63.89 kB / 487.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-05/0.4696, allocations: 16.84 kB / 487.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.4697, allocations: 22.89 kB / 487.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009766/0.4707, allocations: 1.363 MB / 488.8 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4707, allocations: 0 / 488.8 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.4714, allocations: 442.4 kB / 489.2 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.4714, allocations: 85.05 kB / 489.3 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.4715, allocations: 8 kB / 489.3 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.4717, allocations: 8 kB / 489.3 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.4718, allocations: 23.97 kB / 489.3 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.4718, allocations: 27.98 kB / 489.3 MB, free: 4.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.537e-05/0.4719, allocations: 87.27 kB / 489.4 MB, free: 4.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4719, allocations: 4.062 kB / 489.4 MB, free: 4.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.4723, allocations: 83.94 kB / 489.5 MB, free: 4.77 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.0003642/0.4727, allocations: 151.1 kB / 489.7 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005328/0.4732, allocations: 215.7 kB / 489.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4732, allocations: 0 / 489.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.4735, allocations: 214.6 kB / 490.1 MB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.474, allocations: 50.23 kB / 490.1 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.4749, allocations: 0.5024 MB / 490.6 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.4752, allocations: 0.7007 MB / 491.3 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.4754, allocations: 63.39 kB / 491.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4754, allocations: 0 / 491.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of Templates: time 0.005896/0.4813, allocations: 3.803 MB / 495.2 MB, free: 14.99 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 -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