Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002314/0.002314, allocations: 193.2 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 47.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2379, allocations: 52.17 MB / 423 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3718/0.6097, allocations: 131.3 MB / 0.5413 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.6134, allocations: 3.609 MB / 0.5449 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.6135, allocations: 5.219 kB / 0.5449 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.6139, allocations: 92.56 kB / 0.545 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.6163, allocations: 1.221 MB / 0.5462 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.6172, allocations: 397.2 kB / 0.5465 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.6176, allocations: 463.3 kB / 0.547 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.6176, allocations: 11.06 kB / 0.547 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.6179, allocations: 233.2 kB / 0.5472 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.6181, allocations: 144.5 kB / 0.5473 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.6182, allocations: 14.28 kB / 0.5474 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.6209, allocations: 1.826 MB / 0.5491 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.621, allocations: 138 kB / 0.5493 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.6212, allocations: 147.5 kB / 0.5494 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.6232, allocations: 1.471 MB / 0.5509 GB, free: 1.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6233, allocations: 3.188 kB / 0.5509 GB, free: 1.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6233, allocations: 0 / 0.5509 GB, free: 1.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.6233, allocations: 0.9062 kB / 0.5509 GB, free: 1.207 MB / 446.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.001962/0.6252, allocations: 0.7045 MB / 0.5515 GB, free: 16.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.6253, allocations: 8.719 kB / 0.5516 GB, free: 16.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/0.6259, allocations: 112.5 kB / 0.5517 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.6264, allocations: 222 kB / 0.5519 GB, free: 16.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.6264, allocations: 21.66 kB / 0.5519 GB, free: 16.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.6265, allocations: 29.23 kB / 0.5519 GB, free: 16.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.6276, allocations: 0.897 MB / 0.5528 GB, free: 16.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.6276, allocations: 0.7188 kB / 0.5528 GB, free: 16.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.6276, allocations: 15.25 kB / 0.5528 GB, free: 16.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.6277, allocations: 23.12 kB / 0.5528 GB, free: 16.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.6288, allocations: 0.6407 MB / 0.5535 GB, free: 16.23 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.002591/0.6314, allocations: 1.126 MB / 0.5546 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008679/0.6322, allocations: 353.3 kB / 0.5549 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/0.6326, allocations: 165.6 kB / 0.5551 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/0.6345, allocations: 0.4899 MB / 0.5555 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6346, allocations: 40.53 kB / 0.5556 GB, free: 15.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.6346, allocations: 0.7188 kB / 0.5556 GB, free: 15.75 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.01442/0.649, allocations: 3.186 MB / 0.5587 GB, free: 15.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.6491, allocations: 82.55 kB / 0.5588 GB, free: 14.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.6492, allocations: 185.2 kB / 0.5589 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.6493, allocations: 35.64 kB / 0.559 GB, free: 14.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.6494, allocations: 181.5 kB / 0.5591 GB, free: 14.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.6495, allocations: 186 kB / 0.5593 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.6497, allocations: 117.2 kB / 0.5594 GB, free: 14.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6498, allocations: 342.3 kB / 0.5598 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.6505, allocations: 262.5 kB / 0.56 GB, free: 14.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007609/0.6513, allocations: 433.8 kB / 0.5604 GB, free: 14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.6528, allocations: 0.6916 MB / 0.5611 GB, free: 13.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6528, allocations: 2.875 kB / 0.5611 GB, free: 13.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001862/0.6547, allocations: 0.7801 MB / 0.5619 GB, free: 13.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.6547, allocations: 8.188 kB / 0.5619 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.6547, allocations: 4.156 kB / 0.5619 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.6549, allocations: 56.3 kB / 0.5619 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.6561, allocations: 181.9 kB / 0.5621 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/0.6568, allocations: 1.081 MB / 0.5632 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/0.6576, allocations: 46.88 kB / 0.5632 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.6576, allocations: 37.59 kB / 0.5632 GB, free: 12.7 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.0002534/0.6579, allocations: 179.1 kB / 0.5634 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.658, allocations: 28.73 kB / 0.5634 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.6601, allocations: 0.7867 MB / 0.5642 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6601, allocations: 5.594 kB / 0.5642 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6601, allocations: 0.8438 kB / 0.5642 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.6601, allocations: 5.938 kB / 0.5642 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.6632, allocations: 1.419 MB / 0.5656 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.6632, allocations: 3.344 kB / 0.5656 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.6642, allocations: 146.9 kB / 0.5657 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.6644, allocations: 44.88 kB / 0.5658 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.6644, allocations: 24.23 kB / 0.5658 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.6662, allocations: 2.474 MB / 0.5682 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6662, allocations: 10.25 kB / 0.5682 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.6687, allocations: 1.072 MB / 0.5693 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.6688, allocations: 30.95 kB / 0.5693 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.6688, allocations: 12.16 kB / 0.5693 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008383/0.6697, allocations: 43.83 kB / 0.5694 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.6697, allocations: 47.84 kB / 0.5694 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.6698, allocations: 34.41 kB / 0.5694 GB, free: 9.215 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.79e-05/0.6699, allocations: 121.5 kB / 0.5696 GB, free: 9.141 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6699, allocations: 0 / 0.5696 GB, free: 9.141 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001391/0.6713, allocations: 393.1 kB / 0.5699 GB, free: 9.09 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.002108/0.6734, allocations: 0.8627 MB / 0.5708 GB, free: 8.859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.6752, allocations: 0.6277 MB / 0.5714 GB, free: 8.844 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6752, allocations: 4.422 kB / 0.5714 GB, free: 8.844 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.6763, allocations: 0.5244 MB / 0.5719 GB, free: 8.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.677, allocations: 100.6 kB / 0.572 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.679, allocations: 1.007 MB / 0.573 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.6792, allocations: 180.1 kB / 0.5732 GB, free: 7.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008316/0.68, allocations: 181.9 kB / 0.5733 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.6803, allocations: 68.27 kB / 0.5734 GB, free: 7.887 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6803, allocations: 3.938 kB / 0.5734 GB, free: 7.883 MB / 462.1 MB Notification: Performance of Templates: time 0.023/0.7033, allocations: 16.72 MB / 0.5897 GB, free: 2.215 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.82398097589612]