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.0009945/0.0009946, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.000885/0.0008853, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.326/1.326, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004308/0.0004307, allocations: 16 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08363/0.08407, allocations: 47.58 MB / 328.9 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.339/0.4231, allocations: 146.4 MB / 475.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.4245, allocations: 0.9895 MB / 476.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.4245, allocations: 0 / 476.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.4248, allocations: 31.88 kB / 476.4 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005252/0.4253, allocations: 206.9 kB / 476.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.4256, allocations: 99.78 kB / 476.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.4259, allocations: 211.2 kB / 476.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.426, allocations: 15.97 kB / 476.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.4262, allocations: 87.62 kB / 477 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.4263, allocations: 51.83 kB / 477.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.4263, allocations: 4 kB / 477.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.4268, allocations: 259.7 kB / 477.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.4268, allocations: 23.84 kB / 477.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.4269, allocations: 73.55 kB / 477.4 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.4273, allocations: 280.9 kB / 477.7 MB, free: 5.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4273, allocations: 5.5 kB / 477.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4273, allocations: 0 / 477.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.4273, allocations: 0 / 477.7 MB, free: 5.043 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.0004447/0.4278, allocations: 383.9 kB / 478.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4278, allocations: 12.03 kB / 478.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.4299, allocations: 192.6 kB / 478.3 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.4301, allocations: 208.4 kB / 478.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4302, allocations: 7.938 kB / 478.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.4302, allocations: 8 kB / 478.5 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.4308, allocations: 216.1 kB / 478.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4308, allocations: 0 / 478.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.4308, allocations: 8 kB / 478.7 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4308, allocations: 4 kB / 478.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.4313, allocations: 171.8 kB / 478.9 MB, free: 3.758 MB / 366.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.001035/0.4323, allocations: 0.5844 MB / 479.5 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.4327, allocations: 139.4 kB / 479.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.4328, allocations: 72.81 kB / 479.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.4328, allocations: 3.984 kB / 479.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4329, allocations: 39.44 kB / 479.7 MB, free: 2.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4329, allocations: 0 / 479.7 MB, free: 2.844 MB / 366.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.005313/0.4382, allocations: 1.321 MB / 481 MB, free: 1.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.4383, allocations: 51.41 kB / 481.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.4384, allocations: 109.8 kB / 481.2 MB, free: 1.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.4384, allocations: 29.7 kB / 481.2 MB, free: 1.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.4385, allocations: 99.95 kB / 481.3 MB, free: 1.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.4386, allocations: 71.02 kB / 481.4 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.4386, allocations: 29.64 kB / 481.4 MB, free: 1.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4388, allocations: 318.8 kB / 481.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.4389, allocations: 67.95 kB / 481.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4391, allocations: 103.4 kB / 481.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.4395, allocations: 179.3 kB / 482.1 MB, free: 332 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4395, allocations: 4 kB / 482.1 MB, free: 328 kB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004826/0.44, allocations: 258.2 kB / 482.3 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.44, allocations: 4 kB / 482.3 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.4401, allocations: 12.08 kB / 482.3 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.4403, allocations: 48.88 kB / 482.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.4406, allocations: 55.86 kB / 482.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004192/0.441, allocations: 0.5639 MB / 483 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.4412, allocations: 12.12 kB / 483 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.4413, allocations: 27.92 kB / 483.1 MB, free: 15.31 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.0001235/0.4414, allocations: 121.8 kB / 483.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.4415, allocations: 7.906 kB / 483.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008314/0.4423, allocations: 343.1 kB / 483.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4423, allocations: 3.938 kB / 483.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4423, allocations: 4 kB / 483.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.4424, allocations: 0 / 483.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.4433, allocations: 0.6311 MB / 484.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4433, allocations: 4 kB / 484.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.4437, allocations: 56.05 kB / 484.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.942e-05/0.4438, allocations: 28.78 kB / 484.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.4438, allocations: 15.98 kB / 484.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008821/0.4447, allocations: 1.265 MB / 485.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4447, allocations: 11.91 kB / 485.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.4454, allocations: 430.7 kB / 486 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.4454, allocations: 89.03 kB / 486 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.4455, allocations: 7.938 kB / 486 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.4457, allocations: 11.94 kB / 486.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.4457, allocations: 27.91 kB / 486.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.4458, allocations: 23.98 kB / 486.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.842e-05/0.4458, allocations: 87.28 kB / 486.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4458, allocations: 4.062 kB / 486.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.4463, allocations: 87.92 kB / 486.3 MB, free: 11.81 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.0003463/0.4466, allocations: 147.8 kB / 486.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.4471, allocations: 200.2 kB / 486.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4471, allocations: 0 / 486.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.4474, allocations: 219 kB / 486.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.4479, allocations: 47.95 kB / 486.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.4487, allocations: 0.5792 MB / 487.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.449, allocations: 0.7088 MB / 488.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004224/0.4494, allocations: 81.92 kB / 488.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.4496, allocations: 55.41 kB / 488.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4496, allocations: 0 / 488.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of Templates: time 0.009072/0.4587, allocations: 5.443 MB / 493.8 MB, free: 4.266 MB / 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