Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 95.78 kB / 16.95 MB, free: 6.887 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.0008458/0.0008457, allocations: 185.7 kB / 17.84 MB, free: 6.133 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.4 MB / 224 MB, free: 13.09 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.0004106/0.0004106, allocations: 8 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09344, allocations: 47.58 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3274/0.4208, allocations: 140 MB / 468.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.4243, allocations: 2.836 MB / 471.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.4244, allocations: 0 / 471.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.4248, allocations: 71.61 kB / 471.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.4271, allocations: 0.7971 MB / 472 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.428, allocations: 287.7 kB / 472.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006923/0.4287, allocations: 0.5219 MB / 472.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.4288, allocations: 9.562 kB / 472.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.4292, allocations: 211.3 kB / 473 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.4295, allocations: 163.5 kB / 473.2 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.4295, allocations: 8 kB / 473.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.4329, allocations: 1.582 MB / 474.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.4331, allocations: 139.7 kB / 474.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.4332, allocations: 85.58 kB / 475 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.4347, allocations: 0.9096 MB / 475.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4347, allocations: 4 kB / 475.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4347, allocations: 0 / 475.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.4347, allocations: 0 / 475.9 MB, free: 6.59 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001864/0.4366, allocations: 0.7025 MB / 476.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4366, allocations: 8.031 kB / 476.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.4387, allocations: 267.9 kB / 476.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.4391, allocations: 286.6 kB / 477.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4392, allocations: 16.56 kB / 477.2 MB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.4392, allocations: 31.91 kB / 477.2 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.4405, allocations: 0.6727 MB / 477.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4406, allocations: 0 / 477.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.4406, allocations: 12 kB / 477.9 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.4407, allocations: 20.42 kB / 477.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.4423, allocations: 0.7556 MB / 478.7 MB, free: 3.734 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.003654/0.4459, allocations: 1.811 MB / 480.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.4472, allocations: 480.7 kB / 480.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.4478, allocations: 229.6 kB / 481.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/0.4501, allocations: 1.376 MB / 482.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4501, allocations: 34.56 kB / 482.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.4501, allocations: 4 kB / 482.6 MB, free: 15.46 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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01266/0.4628, allocations: 3.643 MB / 486.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4629, allocations: 81.11 kB / 486.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.4631, allocations: 182.5 kB / 486.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.4631, allocations: 33.7 kB / 486.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4632, allocations: 180.1 kB / 486.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.4634, allocations: 173.5 kB / 486.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.4635, allocations: 12 kB / 486.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4636, allocations: 338.8 kB / 487.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/0.4643, allocations: 261.1 kB / 487.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/0.4651, allocations: 422.2 kB / 487.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.4659, allocations: 309.1 kB / 488.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4659, allocations: 0 / 488.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001867/0.4677, allocations: 0.7807 MB / 489 MB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4678, allocations: 12.09 kB / 489 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4678, allocations: 4 kB / 489 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.468, allocations: 57.62 kB / 489 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.4691, allocations: 183.7 kB / 489.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006608/0.4698, allocations: 1.085 MB / 490.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.4705, allocations: 48.14 kB / 490.3 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/0.4706, allocations: 35.98 kB / 490.4 MB, free: 7.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.4708, allocations: 177.6 kB / 490.5 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.4709, allocations: 27.72 kB / 490.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.4731, allocations: 0.7855 MB / 491.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4731, allocations: 4 kB / 491.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4732, allocations: 0 / 491.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4732, allocations: 3.984 kB / 491.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.4763, allocations: 1.55 MB / 492.9 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4764, allocations: 3.984 kB / 492.9 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.4774, allocations: 152 kB / 493.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.4776, allocations: 41.59 kB / 493.1 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.4776, allocations: 27.97 kB / 493.1 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.4794, allocations: 2.537 MB / 495.7 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4794, allocations: 0 / 495.7 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.4818, allocations: 1.072 MB / 496.7 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.4819, allocations: 100.9 kB / 496.8 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.482, allocations: 16 kB / 496.9 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/0.4827, allocations: 43.95 kB / 496.9 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.4828, allocations: 43.84 kB / 496.9 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.4829, allocations: 31.97 kB / 497 MB, free: 248 kB / 382.1 MB Notification: Performance of sorting global known variables: time 9.343e-05/0.483, allocations: 128.4 kB / 497.1 MB, free: 120 kB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.483, allocations: 4 kB / 497.1 MB, free: 116 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001343/0.4844, allocations: 383.7 kB / 497.5 MB, free: 15.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/0.4865, allocations: 0.667 MB / 498.2 MB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.4883, allocations: 0.6439 MB / 498.8 MB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.4883, allocations: 0 / 498.8 MB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4894, allocations: 0.5289 MB / 499.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.4901, allocations: 111.8 kB / 499.4 MB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.4923, allocations: 1.189 MB / 0.4889 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.4927, allocations: 0.7774 MB / 0.4896 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001198/0.4939, allocations: 191.1 kB / 0.4898 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.4943, allocations: 63.39 kB / 0.4899 GB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4943, allocations: 0 / 0.4899 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Templates: time 0.02299/0.5173, allocations: 15.27 MB / 0.5048 GB, free: 12.16 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches