Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001494/0.001494, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001106/0.001106, allocations: 172.6 kB / 24.92 MB, free: 8.727 MB / 18.57 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 0.999/0.999, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2575/0.2575, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.288e-05, allocations: 3.188 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3464/0.3464, allocations: 145.2 MB / 468.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.3494, allocations: 3.19 MB / 471.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3495, allocations: 7.953 kB / 471.7 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.3499, allocations: 49.77 kB / 471.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.3523, allocations: 1.064 MB / 472.8 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.3527, allocations: 198.9 kB / 473 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.3532, allocations: 363.2 kB / 473.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.3533, allocations: 9.609 kB / 473.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.3536, allocations: 202.5 kB / 473.5 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3538, allocations: 94.66 kB / 473.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.3538, allocations: 16.44 kB / 473.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.356, allocations: 1.346 MB / 475 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3562, allocations: 86.56 kB / 475.1 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.3563, allocations: 85.86 kB / 475.1 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.3578, allocations: 1.021 MB / 476.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3578, allocations: 0 / 476.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3578, allocations: 0 / 476.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3578, allocations: 0 / 476.2 MB, free: 12.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007067/0.3585, allocations: 461.5 kB / 476.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3585, allocations: 8.469 kB / 476.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008643/0.3594, allocations: 271.1 kB / 476.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.3596, allocations: 175 kB / 477.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3596, allocations: 15.59 kB / 477.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.3597, allocations: 26.69 kB / 477.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.36, allocations: 441.4 kB / 477.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.36, allocations: 0 / 477.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.36, allocations: 9.219 kB / 477.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.36, allocations: 12.69 kB / 477.6 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.3603, allocations: 146.5 kB / 477.7 MB, free: 12.08 MB / 410.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.0008928/0.3611, allocations: 0.5645 MB / 478.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.3614, allocations: 205 kB / 478.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.3614, allocations: 70.52 kB / 478.5 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.3621, allocations: 291.2 kB / 478.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3621, allocations: 43.66 kB / 478.9 MB, free: 11.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.3621, allocations: 0 / 478.9 MB, free: 11.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005574/0.3627, allocations: 257.1 kB / 479.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.3627, allocations: 81.69 kB / 479.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.3628, allocations: 123.1 kB / 479.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3628, allocations: 29.02 kB / 479.3 MB, free: 11.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.3628, allocations: 112.4 kB / 479.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.3629, allocations: 116.5 kB / 479.6 MB, free: 11.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.363, allocations: 60.83 kB / 479.6 MB, free: 11.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.363, allocations: 330.7 kB / 479.9 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.363, allocations: 41.2 kB / 480 MB, free: 10.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.3631, allocations: 129.2 kB / 480.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.3633, allocations: 215.4 kB / 480.3 MB, free: 10.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3633, allocations: 0 / 480.3 MB, free: 10.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002346/0.3635, allocations: 208.6 kB / 480.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3636, allocations: 12.38 kB / 480.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3636, allocations: 5.172 kB / 480.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3636, allocations: 10.97 kB / 480.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3638, allocations: 71.02 kB / 480.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3638, allocations: 5.812 kB / 480.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.3639, allocations: 30.77 kB / 480.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.3639, allocations: 14.19 kB / 480.7 MB, free: 10.51 MB / 410.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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.479e-05/0.364, allocations: 132.3 kB / 480.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.364, allocations: 29.38 kB / 480.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.3643, allocations: 207.2 kB / 481 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.3643, allocations: 6.938 kB / 481 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3643, allocations: 0 / 481 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.3643, allocations: 12.33 kB / 481.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.3646, allocations: 156.3 kB / 481.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3646, allocations: 0 / 481.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.3648, allocations: 60.53 kB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3648, allocations: 0 / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3648, allocations: 10.31 kB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3648, allocations: 2.812 kB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3648, allocations: 1.953 kB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.3652, allocations: 457 kB / 481.7 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.3652, allocations: 14.17 kB / 481.7 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3652, allocations: 12.52 kB / 481.8 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3653, allocations: 10.72 kB / 481.8 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.3654, allocations: 26.08 kB / 481.8 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.3654, allocations: 12.69 kB / 481.8 MB, free: 9.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.538e-05/0.3654, allocations: 13.83 kB / 481.8 MB, free: 9.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3654, allocations: 1.203 kB / 481.8 MB, free: 9.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005733/0.366, allocations: 241.7 kB / 482.1 MB, free: 9.887 MB / 410.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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.0007254/0.3667, allocations: 436.9 kB / 482.5 MB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3669, allocations: 165.6 kB / 482.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3669, allocations: 2.125 kB / 482.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.367, allocations: 79.98 kB / 482.7 MB, free: 9.711 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.3673, allocations: 98.12 kB / 482.8 MB, free: 9.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/0.3682, allocations: 485.6 kB / 483.3 MB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.663e-05/0.3683, allocations: 86.89 kB / 483.4 MB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.3685, allocations: 59.48 kB / 483.4 MB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.3687, allocations: 146.2 kB / 483.6 MB, free: 9.246 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3687, allocations: 0 / 483.6 MB, free: 9.246 MB / 410.7 MB Notification: Performance of Templates: time 0.01103/0.3797, allocations: 9.966 MB / 493.5 MB, free: 5.211 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4926263550296426]