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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002099/0.00342, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001678/0.002976, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9413/0.9413, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1795/1.121, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.502e-05/3.772e-05, allocations: 9.344 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3442/0.3442, allocations: 147.1 MB / 369 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.3474, allocations: 3.109 MB / 372.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.3476, allocations: 4 kB / 372.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.348, allocations: 99.36 kB / 372.2 MB, free: 8.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.3509, allocations: 1.185 MB / 373.4 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.3518, allocations: 390.5 kB / 373.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000619/0.3524, allocations: 474.5 kB / 374.3 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.938e-05/0.3525, allocations: 10.47 kB / 374.3 MB, free: 6.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.3531, allocations: 299 kB / 374.6 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.3533, allocations: 123.7 kB / 374.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.3534, allocations: 16 kB / 374.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.3572, allocations: 1.88 MB / 376.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.3573, allocations: 119.7 kB / 376.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.3574, allocations: 99.88 kB / 376.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.3598, allocations: 1.301 MB / 378.1 MB, free: 2.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.3598, allocations: 0 / 378.1 MB, free: 2.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3598, allocations: 3.938 kB / 378.1 MB, free: 2.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.3598, allocations: 0 / 378.1 MB, free: 2.73 MB / 330.7 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.001839/0.3617, allocations: 0.8836 MB / 379 MB, free: 1.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.3617, allocations: 8.031 kB / 379 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006362/0.3624, allocations: 148.5 kB / 379.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.3627, allocations: 202.1 kB / 379.3 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.3628, allocations: 17.22 kB / 379.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.3628, allocations: 41.12 kB / 379.4 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.3634, allocations: 0.6634 MB / 380.1 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3634, allocations: 0 / 380.1 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.3635, allocations: 12 kB / 380.1 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.3635, allocations: 16.5 kB / 380.1 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.3637, allocations: 201 kB / 380.3 MB, free: 408 kB / 330.7 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.001487/0.3652, allocations: 0.8768 MB / 381.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.3655, allocations: 210 kB / 381.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.3656, allocations: 91.56 kB / 381.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.3666, allocations: 499.9 kB / 382 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.3666, allocations: 46.55 kB / 382 MB, free: 14.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.3666, allocations: 0 / 382 MB, free: 14.64 MB / 346.7 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.007603/0.3742, allocations: 2.859 MB / 384.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3743, allocations: 81.11 kB / 384.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3744, allocations: 170.5 kB / 385.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.3744, allocations: 33.7 kB / 385.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.3745, allocations: 184.5 kB / 385.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3746, allocations: 182.5 kB / 385.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.3748, allocations: 110.2 kB / 385.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.3749, allocations: 346.6 kB / 385.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.375, allocations: 109.3 kB / 386 MB, free: 10.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.3752, allocations: 277.5 kB / 386.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.3756, allocations: 462.8 kB / 386.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3756, allocations: 0 / 386.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005113/0.3761, allocations: 455.9 kB / 387.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3761, allocations: 12.06 kB / 387.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3761, allocations: 8 kB / 387.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.3763, allocations: 45.69 kB / 387.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.3769, allocations: 211.6 kB / 387.5 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.3784, allocations: 2.469 MB / 390 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.3788, allocations: 31.92 kB / 390 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.3788, allocations: 31.98 kB / 390 MB, free: 6.09 MB / 346.7 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.379, allocations: 156.6 kB / 390.2 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.3791, allocations: 35.97 kB / 390.2 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.3797, allocations: 476.2 kB / 390.7 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3797, allocations: 4 kB / 390.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3797, allocations: 4 kB / 390.7 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3797, allocations: 3.984 kB / 390.7 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.3808, allocations: 0.8265 MB / 391.5 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3808, allocations: 4 kB / 391.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.3813, allocations: 172 kB / 391.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.3814, allocations: 35.83 kB / 391.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.3815, allocations: 37.62 kB / 391.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.3815, allocations: 19.98 kB / 391.8 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.3826, allocations: 2.305 MB / 394.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3826, allocations: 0 / 394.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.3833, allocations: 0.7429 MB / 394.8 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3834, allocations: 12 kB / 394.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.3836, allocations: 27.91 kB / 394.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.3837, allocations: 43.94 kB / 394.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.3837, allocations: 23.97 kB / 394.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.3838, allocations: 45.03 kB / 395 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3838, allocations: 7.938 kB / 395 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001238/0.385, allocations: 379.2 kB / 395.3 MB, free: 468 kB / 346.7 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.001526/0.3865, allocations: 0.7663 MB / 396.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.3874, allocations: 0.6178 MB / 396.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-05/0.3874, allocations: 4 kB / 396.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.3878, allocations: 473 kB / 397.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.3883, allocations: 204.8 kB / 397.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.3914, allocations: 0.7162 MB / 398.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.391e-05/0.3915, allocations: 110.5 kB / 398.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.392, allocations: 151.2 kB / 398.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.3924, allocations: 177.2 kB / 398.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 2.304e-06/0.3924, allocations: 0 / 398.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.02289/0.4153, allocations: 18.86 MB / 417.4 MB, free: 10.22 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6236775470897555]