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.001154/0.001154, allocations: 106.5 kB / 17.15 MB, free: 6.332 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.001313/0.001313, allocations: 198 kB / 18.07 MB, free: 5.434 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.364/1.364, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.001161/0.001161, allocations: 47.92 kB / 280 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08656, allocations: 46.63 MB / 326.6 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3498/0.4364, allocations: 148.3 MB / 474.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4384, allocations: 1.011 MB / 475.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.4385, allocations: 0 / 475.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.4389, allocations: 31.81 kB / 476 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008527/0.4398, allocations: 203 kB / 476.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.4402, allocations: 108.9 kB / 476.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.4406, allocations: 207.2 kB / 476.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.319e-05/0.4407, allocations: 8 kB / 476.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.4409, allocations: 79.64 kB / 476.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.4411, allocations: 59.75 kB / 476.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.4411, allocations: 8 kB / 476.6 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.4417, allocations: 267.7 kB / 476.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.4418, allocations: 15.92 kB / 476.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.4418, allocations: 39.84 kB / 477 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.4424, allocations: 300.8 kB / 477.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4424, allocations: 0 / 477.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4424, allocations: 0 / 477.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4424, allocations: 0 / 477.2 MB, free: 0.8945 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.0005916/0.443, allocations: 403.9 kB / 477.6 MB, free: 464 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4431, allocations: 12.03 kB / 477.7 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.4452, allocations: 188.6 kB / 477.8 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.4455, allocations: 200.4 kB / 478 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4456, allocations: 11.94 kB / 478 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.4456, allocations: 9.406 kB / 478.1 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.4463, allocations: 228 kB / 478.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4463, allocations: 4 kB / 478.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.4463, allocations: 4 kB / 478.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4463, allocations: 0 / 478.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.4468, allocations: 172.6 kB / 478.4 MB, free: 15.59 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.001156/0.448, allocations: 0.5884 MB / 479 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.4484, allocations: 134.5 kB / 479.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.4485, allocations: 72.81 kB / 479.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.4486, allocations: 8 kB / 479.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.4486, allocations: 30.56 kB / 479.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.4486, allocations: 0 / 479.3 MB, free: 14.68 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.005909/0.4546, allocations: 1.308 MB / 480.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4546, allocations: 55.41 kB / 480.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4547, allocations: 113.8 kB / 480.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.4548, allocations: 29.7 kB / 480.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.4549, allocations: 91.95 kB / 480.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.4549, allocations: 75.02 kB / 480.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.455, allocations: 53.59 kB / 481 MB, free: 12.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4552, allocations: 322.8 kB / 481.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.4554, allocations: 71.97 kB / 481.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.4556, allocations: 99.39 kB / 481.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.4559, allocations: 187.2 kB / 481.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4559, allocations: 4 kB / 481.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005385/0.4565, allocations: 258.2 kB / 481.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4565, allocations: 8 kB / 481.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4565, allocations: 0 / 481.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.4568, allocations: 48.83 kB / 482 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.4571, allocations: 55.89 kB / 482 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005595/0.4577, allocations: 0.5641 MB / 482.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.4579, allocations: 8.016 kB / 482.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.458, allocations: 28 kB / 482.6 MB, free: 11.13 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.0001369/0.4581, allocations: 121.8 kB / 482.7 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.4582, allocations: 11.98 kB / 482.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.4591, allocations: 351.1 kB / 483.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4591, allocations: 3.938 kB / 483.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4591, allocations: 4 kB / 483.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4591, allocations: 3.938 kB / 483.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4602, allocations: 0.6235 MB / 483.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4602, allocations: 0 / 483.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.4605, allocations: 67.89 kB / 483.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-05/0.4606, allocations: 16.84 kB / 483.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.4607, allocations: 17.05 kB / 483.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000912/0.4616, allocations: 1.27 MB / 485.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4616, allocations: 3.938 kB / 485.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.4623, allocations: 442.7 kB / 485.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.4624, allocations: 81.02 kB / 485.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.4624, allocations: 11.94 kB / 485.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.4627, allocations: 11.94 kB / 485.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.4628, allocations: 24.03 kB / 485.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.4628, allocations: 31.98 kB / 485.7 MB, free: 7.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.082e-05/0.4629, allocations: 91.2 kB / 485.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4629, allocations: 4 kB / 485.8 MB, free: 7.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004291/0.4633, allocations: 72 kB / 485.9 MB, free: 7.633 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.0004436/0.4638, allocations: 147.1 kB / 486 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.4643, allocations: 204.3 kB / 486.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4643, allocations: 4.188 kB / 486.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.4647, allocations: 222.5 kB / 486.4 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.4652, allocations: 35.97 kB / 486.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.4661, allocations: 0.5262 MB / 487 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.4665, allocations: 0.7088 MB / 487.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000455/0.467, allocations: 73.94 kB / 487.8 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.4672, allocations: 55.41 kB / 487.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4672, allocations: 0 / 487.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of Templates: time 0.009792/0.477, allocations: 5.465 MB / 493.3 MB, free: 136 kB / 382.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