Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.0009153/0.0009153, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004584/0.0055, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007869/0.0007869, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001817, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09312/1.108, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2649/0.2649, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02615/0.291, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.943e-05, allocations: 3.078 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1466/0.1466, allocations: 145.6 MB / 438.2 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1496, allocations: 3.329 MB / 441.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.1497, allocations: 0 / 441.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1499, allocations: 55.66 kB / 441.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2128/0.3627, allocations: 1.077 MB / 442.7 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.3633, allocations: 198 kB / 442.9 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006697/0.364, allocations: 376.2 kB / 443.3 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.364, allocations: 10.3 kB / 443.3 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.3643, allocations: 212.2 kB / 443.5 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.3645, allocations: 101.9 kB / 443.6 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3645, allocations: 14.22 kB / 443.6 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.3666, allocations: 1.375 MB / 445 MB, free: 4.227 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.3667, allocations: 70.55 kB / 445 MB, free: 4.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.3668, allocations: 66.31 kB / 445.1 MB, free: 4.227 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3681, allocations: 0.879 MB / 446 MB, free: 4.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.3681, allocations: 3 kB / 446 MB, free: 4.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3681, allocations: 0 / 446 MB, free: 4.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3681, allocations: 3.188 kB / 446 MB, free: 4.199 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009335/0.369, allocations: 0.5717 MB / 446.6 MB, free: 19.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3691, allocations: 9.109 kB / 446.6 MB, free: 19.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/0.3699, allocations: 336.1 kB / 446.9 MB, free: 19.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3702, allocations: 181.8 kB / 447.1 MB, free: 19.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3702, allocations: 13.66 kB / 447.1 MB, free: 19.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3702, allocations: 22.88 kB / 447.1 MB, free: 19.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3705, allocations: 443.9 kB / 447.6 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3706, allocations: 4.344 kB / 447.6 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.3706, allocations: 10.42 kB / 447.6 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.3706, allocations: 9.094 kB / 447.6 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.3708, allocations: 164 kB / 447.7 MB, free: 19.31 MB / 442.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.0008557/0.3716, allocations: 0.5807 MB / 448.3 MB, free: 19.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3718, allocations: 242.4 kB / 448.6 MB, free: 18.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.3719, allocations: 67.98 kB / 448.6 MB, free: 18.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007082/0.3726, allocations: 302.9 kB / 448.9 MB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3726, allocations: 40.62 kB / 449 MB, free: 18.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.3726, allocations: 0 / 449 MB, free: 18.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005718/0.3732, allocations: 265.3 kB / 449.2 MB, free: 18.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3733, allocations: 84.39 kB / 449.3 MB, free: 18.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.3733, allocations: 124.4 kB / 449.4 MB, free: 18.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3733, allocations: 29.58 kB / 449.4 MB, free: 18.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.3734, allocations: 112.8 kB / 449.6 MB, free: 18.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.3734, allocations: 119.5 kB / 449.7 MB, free: 18.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.3735, allocations: 68.03 kB / 449.7 MB, free: 18.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.3736, allocations: 323.9 kB / 450.1 MB, free: 18.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.3736, allocations: 48.66 kB / 450.1 MB, free: 18.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.3737, allocations: 123.8 kB / 450.2 MB, free: 17.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3739, allocations: 223.8 kB / 450.4 MB, free: 17.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3739, allocations: 0.9375 kB / 450.4 MB, free: 17.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002416/0.3741, allocations: 219.3 kB / 450.7 MB, free: 17.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3741, allocations: 8.453 kB / 450.7 MB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3742, allocations: 7.516 kB / 450.7 MB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3742, allocations: 3.25 kB / 450.7 MB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3743, allocations: 84.8 kB / 450.8 MB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3744, allocations: 9.344 kB / 450.8 MB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/0.3744, allocations: 28 kB / 450.8 MB, free: 17.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3745, allocations: 20.45 kB / 450.8 MB, free: 17.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/0.3745, allocations: 130.7 kB / 450.9 MB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.3746, allocations: 35.53 kB / 451 MB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.3749, allocations: 209.6 kB / 451.2 MB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.3749, allocations: 7 kB / 451.2 MB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3749, allocations: 4.719 kB / 451.2 MB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3749, allocations: 3.094 kB / 451.2 MB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.3752, allocations: 159.7 kB / 451.4 MB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3752, allocations: 3.469 kB / 451.4 MB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3753, allocations: 67.38 kB / 451.4 MB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.3753, allocations: 23.03 kB / 451.4 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3754, allocations: 3.031 kB / 451.4 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3754, allocations: 9.906 kB / 451.5 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3754, allocations: 6.719 kB / 451.5 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3754, allocations: 3.938 kB / 451.5 MB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.3757, allocations: 0.4953 MB / 452 MB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3757, allocations: 13.3 kB / 452 MB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3759, allocations: 12.91 kB / 452 MB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.3759, allocations: 19.73 kB / 452 MB, free: 17.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3759, allocations: 15.14 kB / 452 MB, free: 17.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.463e-05/0.3759, allocations: 14.45 kB / 452 MB, free: 17.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3759, allocations: 0 / 452 MB, free: 17.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000583/0.3765, allocations: 241.4 kB / 452.3 MB, free: 17.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007135/0.3772, allocations: 446.1 kB / 452.7 MB, free: 17.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3774, allocations: 164.1 kB / 452.9 MB, free: 17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.3774, allocations: 3.406 kB / 452.9 MB, free: 17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.3775, allocations: 97.84 kB / 453 MB, free: 16.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3779, allocations: 128.7 kB / 453.1 MB, free: 16.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.3803, allocations: 492.1 kB / 453.6 MB, free: 16.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.3804, allocations: 84.66 kB / 453.7 MB, free: 16.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.3806, allocations: 66.11 kB / 453.7 MB, free: 16.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.3808, allocations: 147.9 kB / 453.9 MB, free: 16.58 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3808, allocations: 3.125 kB / 453.9 MB, free: 16.58 MB / 442.7 MB Notification: Performance of Templates: time 0.01129/0.3921, allocations: 10.5 MB / 464.4 MB, free: 15.71 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4347772477194667]