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.001956/0.001956, allocations: 99.95 kB / 21.18 MB, free: 0.6602 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.002306/0.002306, allocations: 187.4 kB / 24.46 MB, free: 3.973 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.73/1.73, allocations: 225.7 MB / 253.3 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.001754/0.001754, allocations: 43.94 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2697, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4157/0.6854, allocations: 131.3 MB / 0.5421 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.6892, allocations: 3.608 MB / 0.5456 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.6894, allocations: 6.156 kB / 0.5456 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.6898, allocations: 92.08 kB / 0.5457 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.6925, allocations: 1.225 MB / 0.5469 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.6935, allocations: 399.3 kB / 0.5473 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.694, allocations: 469 kB / 0.5477 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.6941, allocations: 8.828 kB / 0.5477 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.6944, allocations: 234.7 kB / 0.5479 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.6947, allocations: 144.5 kB / 0.5481 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.6947, allocations: 13.97 kB / 0.5481 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.698, allocations: 1.822 MB / 0.5499 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.6981, allocations: 144 kB / 0.55 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.6983, allocations: 145.9 kB / 0.5502 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.7004, allocations: 1.469 MB / 0.5516 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7004, allocations: 2.188 kB / 0.5516 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.7004, allocations: 0.9062 kB / 0.5516 GB, free: 1.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.7004, allocations: 0 / 0.5516 GB, free: 1.191 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.002159/0.7026, allocations: 0.6995 MB / 0.5523 GB, free: 16.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.7026, allocations: 11.05 kB / 0.5523 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006846/0.7033, allocations: 114.5 kB / 0.5524 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.7038, allocations: 223.1 kB / 0.5526 GB, free: 16.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.7038, allocations: 18.22 kB / 0.5526 GB, free: 16.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.7039, allocations: 28.45 kB / 0.5527 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.705, allocations: 0.8984 MB / 0.5535 GB, free: 16.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.705, allocations: 2.125 kB / 0.5535 GB, free: 16.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.7051, allocations: 13.5 kB / 0.5535 GB, free: 16.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.7051, allocations: 21.72 kB / 0.5536 GB, free: 16.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.7062, allocations: 0.6485 MB / 0.5542 GB, free: 16.21 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.002812/0.709, allocations: 1.128 MB / 0.5553 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009387/0.71, allocations: 346.7 kB / 0.5556 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.7104, allocations: 166.3 kB / 0.5558 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.7125, allocations: 0.4901 MB / 0.5563 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.7125, allocations: 37.56 kB / 0.5563 GB, free: 15.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.555e-06/0.7125, allocations: 0 / 0.5563 GB, free: 15.74 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.01426/0.7268, allocations: 3.186 MB / 0.5594 GB, free: 15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.7268, allocations: 86.52 kB / 0.5595 GB, free: 14.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.727, allocations: 186.6 kB / 0.5597 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.7271, allocations: 35.61 kB / 0.5597 GB, free: 14.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.7271, allocations: 186.8 kB / 0.5599 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.7273, allocations: 182.3 kB / 0.5601 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.7274, allocations: 117.4 kB / 0.5602 GB, free: 14.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7276, allocations: 342.3 kB / 0.5605 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007126/0.7283, allocations: 265.4 kB / 0.5608 GB, free: 14.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.729, allocations: 428.5 kB / 0.5612 GB, free: 13.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.7306, allocations: 0.6936 MB / 0.5618 GB, free: 13.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7306, allocations: 3.125 kB / 0.5618 GB, free: 13.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001862/0.7325, allocations: 0.7794 MB / 0.5626 GB, free: 13.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.7325, allocations: 6.219 kB / 0.5626 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.7325, allocations: 8.141 kB / 0.5626 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.7327, allocations: 57.41 kB / 0.5627 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7339, allocations: 174.2 kB / 0.5628 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007679/0.7346, allocations: 1.086 MB / 0.5639 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.7355, allocations: 40.75 kB / 0.5639 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.7355, allocations: 41.14 kB / 0.564 GB, free: 12.68 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.0002835/0.7358, allocations: 181.8 kB / 0.5641 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.736, allocations: 25.7 kB / 0.5642 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.738, allocations: 0.7836 MB / 0.5649 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.738, allocations: 15.75 kB / 0.565 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.738, allocations: 0 / 0.565 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.738, allocations: 3.562 kB / 0.565 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.7412, allocations: 1.41 MB / 0.5663 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7412, allocations: 3.094 kB / 0.5663 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.7423, allocations: 157.1 kB / 0.5665 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.7425, allocations: 40.06 kB / 0.5665 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.7426, allocations: 27.73 kB / 0.5665 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.7445, allocations: 2.474 MB / 0.569 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.7445, allocations: 4.938 kB / 0.569 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.7471, allocations: 1.073 MB / 0.57 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.7472, allocations: 32.11 kB / 0.57 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.7473, allocations: 12.28 kB / 0.5701 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.7482, allocations: 42.34 kB / 0.5701 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.7482, allocations: 48.84 kB / 0.5701 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.51e-05/0.7483, allocations: 31.03 kB / 0.5702 GB, free: 9.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.7484, allocations: 124.8 kB / 0.5703 GB, free: 9.125 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7484, allocations: 0 / 0.5703 GB, free: 9.125 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001484/0.7499, allocations: 389.8 kB / 0.5707 GB, free: 9.074 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.002658/0.7526, allocations: 0.8636 MB / 0.5715 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.7545, allocations: 0.6334 MB / 0.5721 GB, free: 8.824 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7545, allocations: 0 / 0.5721 GB, free: 8.824 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.7556, allocations: 0.5216 MB / 0.5726 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.7564, allocations: 94.17 kB / 0.5727 GB, free: 8.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.7587, allocations: 1.049 MB / 0.5738 GB, free: 8.031 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.7589, allocations: 174.7 kB / 0.5739 GB, free: 7.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.7593, allocations: 80.53 kB / 0.574 GB, free: 7.938 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7593, allocations: 0 / 0.574 GB, free: 7.938 MB / 462.1 MB Notification: Performance of Templates: time 0.0227/0.782, allocations: 14.82 MB / 0.5885 GB, free: 3.047 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/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: 11.233621893916279]