Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 102 kB / 17.16 MB, free: 6.32 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.00116/0.00116, allocations: 190 kB / 18.07 MB, free: 5.414 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.367/1.367, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001289/0.001289, allocations: 47.94 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.08172, allocations: 46.62 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3309/0.4126, allocations: 148.6 MB / 475.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.4145, allocations: 1.541 MB / 476.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.4146, allocations: 0 / 476.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.415, allocations: 55.78 kB / 476.8 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007411/0.4157, allocations: 343.3 kB / 477.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.4161, allocations: 148.6 kB / 477.3 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.4164, allocations: 247.1 kB / 477.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.4165, allocations: 4 kB / 477.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.4166, allocations: 75.69 kB / 477.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.4167, allocations: 59.77 kB / 477.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.4168, allocations: 8 kB / 477.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.4178, allocations: 0.6743 MB / 478.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.4179, allocations: 31.83 kB / 478.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.418, allocations: 51.78 kB / 478.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.4186, allocations: 424.5 kB / 478.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4186, allocations: 0 / 478.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.4186, allocations: 0 / 478.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.4186, allocations: 3.938 kB / 478.9 MB, free: 15.39 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005076/0.4191, allocations: 440 kB / 479.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.4192, allocations: 8.031 kB / 479.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.4213, allocations: 192.5 kB / 479.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.4216, allocations: 200.3 kB / 479.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4216, allocations: 16.25 kB / 479.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.4217, allocations: 4 kB / 479.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.4222, allocations: 213.4 kB / 479.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4222, allocations: 0 / 479.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.4222, allocations: 0 / 479.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4222, allocations: 4 kB / 479.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.4228, allocations: 243.8 kB / 480.1 MB, free: 14 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.001695/0.4245, allocations: 0.6647 MB / 480.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.425, allocations: 194.4 kB / 481 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.4252, allocations: 92.75 kB / 481.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.4254, allocations: 89.09 kB / 481.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4254, allocations: 42.56 kB / 481.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.644e-06/0.4254, allocations: 0 / 481.2 MB, free: 12.84 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.005884/0.4313, allocations: 1.536 MB / 482.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4314, allocations: 51.41 kB / 482.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.4315, allocations: 109.8 kB / 482.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.4315, allocations: 33.64 kB / 482.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.4316, allocations: 104.2 kB / 483 MB, free: 10.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.4316, allocations: 63.09 kB / 483.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.4317, allocations: 53.55 kB / 483.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.4318, allocations: 318.8 kB / 483.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.4321, allocations: 91.95 kB / 483.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.4323, allocations: 127.2 kB / 483.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.4328, allocations: 223.3 kB / 483.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4328, allocations: 4 kB / 483.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006488/0.4335, allocations: 290.1 kB / 484.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4335, allocations: 8 kB / 484.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4335, allocations: 0 / 484.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.4337, allocations: 24.84 kB / 484.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.4341, allocations: 55.89 kB / 484.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004135/0.4346, allocations: 0.529 MB / 484.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.4349, allocations: 20.05 kB / 484.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.4349, allocations: 8 kB / 484.8 MB, free: 9 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.0001419/0.4351, allocations: 129.7 kB / 485 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.4352, allocations: 11.91 kB / 485 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.4359, allocations: 311.1 kB / 485.3 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.436, allocations: 4 kB / 485.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.436, allocations: 3.938 kB / 485.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.436, allocations: 0 / 485.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4371, allocations: 0.6796 MB / 486 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4371, allocations: 0 / 486 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.4376, allocations: 47.95 kB / 486 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.272e-05/0.4377, allocations: 20.84 kB / 486 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.4377, allocations: 12.08 kB / 486 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008617/0.4386, allocations: 1.266 MB / 487.3 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4386, allocations: 4.062 kB / 487.3 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.4395, allocations: 461.6 kB / 487.8 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.4395, allocations: 85.05 kB / 487.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4396, allocations: 11.94 kB / 487.9 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.4399, allocations: 11.92 kB / 487.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.44, allocations: 15.98 kB / 487.9 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.44, allocations: 11.98 kB / 487.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.086e-05/0.4401, allocations: 91.52 kB / 488 MB, free: 5.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4401, allocations: 0 / 488 MB, free: 5.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.4406, allocations: 136 kB / 488.1 MB, free: 5.449 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 (19): * Single equations (assignments): 18 * 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.0007162/0.4414, allocations: 255 kB / 488.4 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006521/0.442, allocations: 227.7 kB / 488.6 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.442, allocations: 0 / 488.6 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.4425, allocations: 230.9 kB / 488.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.4429, allocations: 63.77 kB / 488.9 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.4439, allocations: 0.5078 MB / 489.4 MB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.4441, allocations: 0.7049 MB / 490.1 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.4446, allocations: 53.39 kB / 490.1 MB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.4447, allocations: 19.44 kB / 490.2 MB, free: 3.32 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4447, allocations: 3.938 kB / 490.2 MB, free: 3.316 MB / 382.1 MB Notification: Performance of Templates: time 0.01019/0.4549, allocations: 6.108 MB / 496.3 MB, free: 13.21 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches