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.001434/0.001434, allocations: 80.8 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.001789/0.001789, allocations: 168.8 kB / 24.91 MB, free: 9.195 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.9826/0.9826, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2767/0.2767, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.743e-06/1.743e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.028e-05, allocations: 5.969 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3455/0.3456, allocations: 145.2 MB / 468.4 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3487, allocations: 3.191 MB / 471.6 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.3489, allocations: 2.906 kB / 471.6 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.3492, allocations: 52.17 kB / 471.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.3524, allocations: 1.1 MB / 472.7 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.3529, allocations: 198.8 kB / 472.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.3534, allocations: 359.2 kB / 473.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.964e-05/0.3535, allocations: 12.12 kB / 473.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.3539, allocations: 200 kB / 473.5 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3541, allocations: 102.9 kB / 473.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.3542, allocations: 10.62 kB / 473.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.3569, allocations: 1.308 MB / 474.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.357, allocations: 84.27 kB / 475 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3571, allocations: 82.25 kB / 475 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.3591, allocations: 1.026 MB / 476.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3591, allocations: 2.125 kB / 476.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3591, allocations: 0 / 476.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3591, allocations: 0 / 476.1 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.0007072/0.3598, allocations: 458.2 kB / 476.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3598, allocations: 8.5 kB / 476.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008375/0.3607, allocations: 277.1 kB / 476.8 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.3609, allocations: 175.2 kB / 477 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3609, allocations: 19.23 kB / 477 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.361, allocations: 24.19 kB / 477 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.3613, allocations: 445.6 kB / 477.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3613, allocations: 2.938 kB / 477.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.3613, allocations: 6.344 kB / 477.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3613, allocations: 5.656 kB / 477.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.3615, allocations: 151.3 kB / 477.6 MB, free: 12.09 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.0009676/0.3625, allocations: 0.5804 MB / 478.2 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.3627, allocations: 191.8 kB / 478.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.3627, allocations: 65.92 kB / 478.4 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007959/0.3635, allocations: 296.9 kB / 478.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3636, allocations: 39.41 kB / 478.8 MB, free: 11.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.296e-06/0.3636, allocations: 1.203 kB / 478.8 MB, free: 11.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006101/0.3642, allocations: 259.8 kB / 479 MB, free: 11.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3642, allocations: 79.86 kB / 479.1 MB, free: 11.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.3643, allocations: 122.1 kB / 479.2 MB, free: 11.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3643, allocations: 31.48 kB / 479.3 MB, free: 11.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.3643, allocations: 108.8 kB / 479.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.3644, allocations: 117 kB / 479.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.3644, allocations: 58.8 kB / 479.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.3645, allocations: 330.8 kB / 479.9 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.3645, allocations: 48.17 kB / 479.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.3646, allocations: 124.8 kB / 480 MB, free: 10.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3648, allocations: 214.7 kB / 480.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3648, allocations: 0 / 480.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002379/0.365, allocations: 210.2 kB / 480.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3651, allocations: 8.047 kB / 480.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3651, allocations: 3.125 kB / 480.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3651, allocations: 13.12 kB / 480.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3653, allocations: 69.28 kB / 480.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3653, allocations: 6.906 kB / 480.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.823e-05/0.3654, allocations: 28.08 kB / 480.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.3654, allocations: 17.22 kB / 480.6 MB, free: 10.5 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.331e-05/0.3655, allocations: 128.2 kB / 480.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.3655, allocations: 29.86 kB / 480.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.3658, allocations: 211.2 kB / 480.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3658, allocations: 9.188 kB / 481 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.3658, allocations: 0 / 481 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3658, allocations: 6.562 kB / 481 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.3661, allocations: 162.5 kB / 481.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3661, allocations: 5.656 kB / 481.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.3663, allocations: 53.55 kB / 481.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3663, allocations: 1.094 kB / 481.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3663, allocations: 10.58 kB / 481.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3663, allocations: 0 / 481.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3663, allocations: 5.453 kB / 481.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.3666, allocations: 450.6 kB / 481.6 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.3667, allocations: 17.08 kB / 481.6 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3667, allocations: 8.734 kB / 481.7 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.3668, allocations: 18.34 kB / 481.7 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3668, allocations: 22.62 kB / 481.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.3669, allocations: 14.16 kB / 481.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.932e-05/0.3669, allocations: 14.42 kB / 481.7 MB, free: 9.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3669, allocations: 0 / 481.7 MB, free: 9.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000851/0.3677, allocations: 240.2 kB / 482 MB, free: 9.883 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.0008228/0.3686, allocations: 434.4 kB / 482.4 MB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3688, allocations: 157.8 kB / 482.5 MB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.3688, allocations: 3.031 kB / 482.5 MB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.3689, allocations: 89.86 kB / 482.6 MB, free: 9.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3692, allocations: 93.77 kB / 482.7 MB, free: 9.691 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.37, allocations: 489.5 kB / 483.2 MB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.612e-05/0.3701, allocations: 81.23 kB / 483.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.3703, allocations: 60.55 kB / 483.3 MB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.3705, allocations: 152.8 kB / 483.5 MB, free: 9.238 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3705, allocations: 0 / 483.5 MB, free: 9.238 MB / 410.7 MB Notification: Performance of Templates: time 0.0126/0.3831, allocations: 9.957 MB / 493.4 MB, free: 5.215 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 -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.8436788846738636]