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.001421/0.001421, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001039/0.001039, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.2833/0.2833, allocations: 34.25 MB / 296.1 MB, free: 0.7305 MB / 266.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.533e-06/1.533e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.63e-05, allocations: 3.891 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3295/0.3296, allocations: 145.2 MB / 470.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.3321, allocations: 3.304 MB / 473.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.3321, allocations: 4.203 kB / 473.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.3325, allocations: 58 kB / 473.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.3346, allocations: 1.097 MB / 475 MB, free: 12.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3349, allocations: 199.2 kB / 475.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.3353, allocations: 371.4 kB / 475.5 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.3353, allocations: 14.69 kB / 475.5 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.3356, allocations: 205.5 kB / 475.7 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3357, allocations: 108.4 kB / 475.8 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3357, allocations: 10.72 kB / 475.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.3377, allocations: 1.378 MB / 477.2 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.345e-05/0.3378, allocations: 84.5 kB / 477.3 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.3379, allocations: 89.8 kB / 477.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.339, allocations: 1.034 MB / 478.4 MB, free: 12.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.339, allocations: 0 / 478.4 MB, free: 12.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.339, allocations: 0 / 478.4 MB, free: 12.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.339, allocations: 0 / 478.4 MB, free: 12.06 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0004903/0.3395, allocations: 470.7 kB / 478.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.3395, allocations: 12.22 kB / 478.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/0.3403, allocations: 270.1 kB / 479.2 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3405, allocations: 178 kB / 479.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3405, allocations: 12.94 kB / 479.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3406, allocations: 24.83 kB / 479.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3408, allocations: 448.7 kB / 479.8 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3409, allocations: 0 / 479.8 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.3409, allocations: 12.12 kB / 479.8 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.3409, allocations: 5.781 kB / 479.8 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.3411, allocations: 163.9 kB / 480 MB, free: 11.25 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.0007739/0.3419, allocations: 0.5858 MB / 480.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.342, allocations: 248.3 kB / 480.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.3421, allocations: 60.64 kB / 480.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/0.3427, allocations: 297.2 kB / 481.2 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3427, allocations: 51.14 kB / 481.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.3427, allocations: 0 / 481.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005159/0.3432, allocations: 263.3 kB / 481.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.3433, allocations: 82.3 kB / 481.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.3433, allocations: 120.4 kB / 481.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3433, allocations: 32.17 kB / 481.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.3434, allocations: 111.7 kB / 481.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.3434, allocations: 118.8 kB / 481.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.3435, allocations: 58.41 kB / 482 MB, free: 10.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.3435, allocations: 331.7 kB / 482.3 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.3435, allocations: 47.52 kB / 482.4 MB, free: 9.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.3436, allocations: 132.1 kB / 482.5 MB, free: 9.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3438, allocations: 230.7 kB / 482.7 MB, free: 9.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3438, allocations: 0 / 482.7 MB, free: 9.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002197/0.344, allocations: 216.3 kB / 482.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.344, allocations: 5.469 kB / 482.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.344, allocations: 2.938 kB / 482.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.344, allocations: 18.98 kB / 483 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3442, allocations: 74.77 kB / 483 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3442, allocations: 5.719 kB / 483 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.271e-05/0.3443, allocations: 30.81 kB / 483.1 MB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.3443, allocations: 13.7 kB / 483.1 MB, free: 9.602 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 (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 6.351e-05/0.3444, allocations: 128.4 kB / 483.2 MB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.3444, allocations: 33.5 kB / 483.2 MB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.3447, allocations: 210.8 kB / 483.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.3447, allocations: 6.812 kB / 483.4 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3447, allocations: 5.234 kB / 483.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3447, allocations: 0 / 483.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.345, allocations: 162.6 kB / 483.6 MB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.345, allocations: 4 kB / 483.6 MB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.3451, allocations: 60.39 kB / 483.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3451, allocations: 2.906 kB / 483.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3452, allocations: 8.094 kB / 483.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3452, allocations: 2.625 kB / 483.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3452, allocations: 0 / 483.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3455, allocations: 0.504 MB / 484.2 MB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.3455, allocations: 17.44 kB / 484.2 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3455, allocations: 9.281 kB / 484.2 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3457, allocations: 18.84 kB / 484.2 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.3457, allocations: 22.86 kB / 484.3 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.3457, allocations: 13.12 kB / 484.3 MB, free: 8.984 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.311e-05/0.3457, allocations: 16.59 kB / 484.3 MB, free: 8.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3457, allocations: 2.562 kB / 484.3 MB, free: 8.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006261/0.3463, allocations: 236.4 kB / 484.5 MB, free: 8.941 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 (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.0006521/0.347, allocations: 453.9 kB / 485 MB, free: 8.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3472, allocations: 161 kB / 485.1 MB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3472, allocations: 3.562 kB / 485.1 MB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/0.3473, allocations: 91.62 kB / 485.2 MB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3476, allocations: 100.2 kB / 485.3 MB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007715/0.3484, allocations: 0.4939 MB / 485.8 MB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.431e-05/0.3484, allocations: 84.66 kB / 485.9 MB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.3486, allocations: 70.75 kB / 486 MB, free: 8.336 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.3489, allocations: 148.7 kB / 486.1 MB, free: 8.285 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3489, allocations: 0 / 486.1 MB, free: 8.285 MB / 410.7 MB Notification: Performance of Templates: time 0.01008/0.3589, allocations: 10.3 MB / 496.4 MB, free: 3.738 MB / 410.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 -s gbode -gbm=radauIIA3 -emit_protected -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.4958974150940776]