Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001565/0.001565, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 207.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 55.91 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.239, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.402/0.641, allocations: 134.2 MB / 0.5525 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.6447, allocations: 3.61 MB / 0.556 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.6448, allocations: 1.188 kB / 0.556 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.6453, allocations: 93.2 kB / 0.5561 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.6483, allocations: 1.217 MB / 0.5573 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009855/0.6492, allocations: 396.7 kB / 0.5577 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.6498, allocations: 463.6 kB / 0.5581 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.6498, allocations: 11.12 kB / 0.5582 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.6502, allocations: 256.2 kB / 0.5584 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.6504, allocations: 138.9 kB / 0.5585 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.6504, allocations: 15.78 kB / 0.5585 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.6538, allocations: 1.837 MB / 0.5603 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.6539, allocations: 135.1 kB / 0.5605 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.6541, allocations: 151.7 kB / 0.5606 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.6564, allocations: 1.471 MB / 0.5621 GB, free: 15.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6564, allocations: 0 / 0.5621 GB, free: 15.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6564, allocations: 0 / 0.5621 GB, free: 15.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.6564, allocations: 3.938 kB / 0.5621 GB, free: 15.66 MB / 462.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.002177/0.6586, allocations: 0.7104 MB / 0.5628 GB, free: 15.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6586, allocations: 15.17 kB / 0.5628 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006653/0.6593, allocations: 109.5 kB / 0.5629 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.6598, allocations: 222.2 kB / 0.5631 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6598, allocations: 24.17 kB / 0.5631 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.6599, allocations: 29.84 kB / 0.5631 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.6612, allocations: 0.8959 MB / 0.564 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6612, allocations: 2.625 kB / 0.564 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.6612, allocations: 12.66 kB / 0.564 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.6613, allocations: 19.06 kB / 0.564 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.6625, allocations: 0.648 MB / 0.5647 GB, free: 14.66 MB / 462.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.002727/0.6652, allocations: 1.124 MB / 0.5658 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.6661, allocations: 354.5 kB / 0.5661 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.6666, allocations: 169.6 kB / 0.5663 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/0.6685, allocations: 478.3 kB / 0.5667 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.6685, allocations: 42.28 kB / 0.5668 GB, free: 14.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.6685, allocations: 0 / 0.5668 GB, free: 14.16 MB / 462.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.01484/0.6833, allocations: 3.202 MB / 0.5699 GB, free: 13.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.6834, allocations: 85.84 kB / 0.57 GB, free: 13.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.6836, allocations: 184.6 kB / 0.5702 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.6837, allocations: 35.73 kB / 0.5702 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.6838, allocations: 188 kB / 0.5704 GB, free: 12.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.6839, allocations: 179.4 kB / 0.5705 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.6841, allocations: 121.7 kB / 0.5707 GB, free: 12.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6843, allocations: 342 kB / 0.571 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.685, allocations: 265.9 kB / 0.5712 GB, free: 12.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008191/0.6858, allocations: 425.7 kB / 0.5716 GB, free: 12.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.6874, allocations: 0.6985 MB / 0.5723 GB, free: 12.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6874, allocations: 2.25 kB / 0.5723 GB, free: 12.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001877/0.6893, allocations: 0.7817 MB / 0.5731 GB, free: 12.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6893, allocations: 8.906 kB / 0.5731 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6893, allocations: 2.219 kB / 0.5731 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.6895, allocations: 56.77 kB / 0.5732 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.6907, allocations: 181.7 kB / 0.5733 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007666/0.6914, allocations: 1.077 MB / 0.5744 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/0.6922, allocations: 43.72 kB / 0.5744 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.6923, allocations: 42.58 kB / 0.5745 GB, free: 11.01 MB / 462.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.6926, allocations: 174.2 kB / 0.5746 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6927, allocations: 25.92 kB / 0.5746 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.6948, allocations: 0.7883 MB / 0.5754 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6948, allocations: 8.562 kB / 0.5754 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6948, allocations: 0 / 0.5754 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6948, allocations: 2.203 kB / 0.5754 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.6979, allocations: 1.405 MB / 0.5768 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6979, allocations: 2.875 kB / 0.5768 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.6991, allocations: 156 kB / 0.577 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.6992, allocations: 39.45 kB / 0.577 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.6992, allocations: 26.48 kB / 0.577 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.7011, allocations: 2.479 MB / 0.5794 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7011, allocations: 6.219 kB / 0.5794 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.7036, allocations: 1.075 MB / 0.5805 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.7036, allocations: 23.95 kB / 0.5805 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/0.7037, allocations: 14.09 kB / 0.5805 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/0.7045, allocations: 45.94 kB / 0.5806 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.7046, allocations: 44.38 kB / 0.5806 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.7046, allocations: 37.89 kB / 0.5807 GB, free: 7.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.664e-05/0.7047, allocations: 127.4 kB / 0.5808 GB, free: 7.418 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7047, allocations: 1.094 kB / 0.5808 GB, free: 7.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001388/0.7061, allocations: 393.5 kB / 0.5811 GB, free: 7.371 MB / 462.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.002127/0.7083, allocations: 0.8685 MB / 0.582 GB, free: 7.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.7101, allocations: 0.6408 MB / 0.5826 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7101, allocations: 0 / 0.5826 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.7112, allocations: 0.5296 MB / 0.5831 GB, free: 6.879 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/0.712, allocations: 90.59 kB / 0.5832 GB, free: 6.871 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.714, allocations: 1.018 MB / 0.5842 GB, free: 6.332 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.7142, allocations: 174.3 kB / 0.5844 GB, free: 6.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008151/0.715, allocations: 180.7 kB / 0.5846 GB, free: 6.164 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.7153, allocations: 66.09 kB / 0.5846 GB, free: 6.152 MB / 462.1 MB Notification: Performance of SimCode: time 6.22e-07/0.7153, allocations: 1.203 kB / 0.5846 GB, free: 6.152 MB / 462.1 MB Notification: Performance of Templates: time 0.02566/0.741, allocations: 16.91 MB / 0.6011 GB, free: 13.38 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9352693464607]