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.001235/0.001235, allocations: 117.4 kB / 17.28 MB, free: 6.219 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.001412/0.001412, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.353/1.353, allocations: 205.1 MB / 224 MB, free: 12.44 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.002017/0.002017, allocations: 47.94 kB / 280.1 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1031, allocations: 46.63 MB / 326.8 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3283/0.4315, allocations: 148.5 MB / 475.2 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.4327, allocations: 0.9587 MB / 476.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.4328, allocations: 8 kB / 476.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.4331, allocations: 38.17 kB / 476.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005504/0.4336, allocations: 211.5 kB / 476.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.434, allocations: 107.7 kB / 476.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.4342, allocations: 167.3 kB / 476.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.4343, allocations: 4 kB / 476.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.4345, allocations: 87.62 kB / 476.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.758e-05/0.4346, allocations: 55.83 kB / 476.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4346, allocations: 4 kB / 476.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.4351, allocations: 271.7 kB / 477.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.4352, allocations: 35.84 kB / 477.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.4352, allocations: 39.86 kB / 477.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.4356, allocations: 284.9 kB / 477.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4356, allocations: 4 kB / 477.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4356, allocations: 0 / 477.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4356, allocations: 0 / 477.5 MB, free: 0.6992 MB / 366.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.0005378/0.4362, allocations: 406.9 kB / 477.9 MB, free: 264 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4362, allocations: 12.03 kB / 477.9 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.4383, allocations: 189.1 kB / 478.1 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.4386, allocations: 209.2 kB / 478.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4386, allocations: 15.92 kB / 478.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.4387, allocations: 11.98 kB / 478.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.4392, allocations: 220.1 kB / 478.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4392, allocations: 0 / 478.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.4393, allocations: 7.938 kB / 478.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4393, allocations: 0 / 478.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.4397, allocations: 167.9 kB / 478.7 MB, free: 15.39 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.001055/0.4408, allocations: 0.596 MB / 479.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.4411, allocations: 134.5 kB / 479.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.4413, allocations: 76.7 kB / 479.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.4413, allocations: 7.984 kB / 479.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.4413, allocations: 30.56 kB / 479.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.4413, allocations: 4 kB / 479.5 MB, free: 14.47 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.005358/0.4467, allocations: 1.305 MB / 480.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.4468, allocations: 55.41 kB / 480.9 MB, free: 13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4469, allocations: 113.8 kB / 481 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.4469, allocations: 29.7 kB / 481 MB, free: 12.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.447, allocations: 91.95 kB / 481.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.4471, allocations: 71.02 kB / 481.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.4472, allocations: 61.59 kB / 481.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4473, allocations: 318.8 kB / 481.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4474, allocations: 71.95 kB / 481.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.4476, allocations: 104.5 kB / 481.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.448, allocations: 183.3 kB / 481.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.448, allocations: 4 kB / 481.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004863/0.4485, allocations: 254.2 kB / 482.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4485, allocations: 8 kB / 482.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4485, allocations: 1.562 kB / 482.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.4487, allocations: 56.77 kB / 482.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.449, allocations: 51.91 kB / 482.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004303/0.4495, allocations: 0.568 MB / 482.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.4497, allocations: 8.031 kB / 482.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.4497, allocations: 31.98 kB / 482.9 MB, free: 10.91 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.0001308/0.4499, allocations: 117.8 kB / 483 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.4499, allocations: 12 kB / 483 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008216/0.4508, allocations: 343.8 kB / 483.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4508, allocations: 7.938 kB / 483.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4508, allocations: 0 / 483.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4508, allocations: 3.938 kB / 483.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009203/0.4517, allocations: 0.6313 MB / 484 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4517, allocations: 0 / 484 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.4521, allocations: 59.89 kB / 484.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.638e-05/0.4522, allocations: 24.84 kB / 484.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.4522, allocations: 19.97 kB / 484.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009301/0.4531, allocations: 1.367 MB / 485.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4532, allocations: 0 / 485.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.4538, allocations: 442.7 kB / 485.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.4539, allocations: 85.02 kB / 486 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.4539, allocations: 4 kB / 486 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.4542, allocations: 11.94 kB / 486 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.4542, allocations: 19.97 kB / 486 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.4543, allocations: 31.98 kB / 486.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.369e-05/0.4543, allocations: 91.27 kB / 486.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4543, allocations: 0 / 486.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000427/0.4547, allocations: 72 kB / 486.2 MB, free: 7.32 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.0003729/0.4551, allocations: 159.2 kB / 486.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.4557, allocations: 216.3 kB / 486.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4557, allocations: 0 / 486.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.4561, allocations: 226.5 kB / 486.8 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.4566, allocations: 56.8 kB / 486.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.4574, allocations: 0.508 MB / 487.4 MB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.4577, allocations: 0.7045 MB / 488.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.4581, allocations: 77.33 kB / 488.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.4583, allocations: 51.41 kB / 488.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4583, allocations: 0 / 488.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of Templates: time 0.009622/0.4679, allocations: 5.607 MB / 493.8 MB, free: 15.65 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches