Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.00261, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.00252, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.046/1.046, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1129/1.159, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.327/0.327, allocations: 34.86 MB / 279.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03415/0.3612, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.537e-05, allocations: 9.094 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1729/0.1729, allocations: 145.6 MB / 439.5 MB, free: 3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2451/0.418, allocations: 3.315 MB / 442.8 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.4182, allocations: 4.344 kB / 442.8 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.4186, allocations: 57.03 kB / 442.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.4215, allocations: 1.078 MB / 443.9 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.4219, allocations: 201 kB / 444.1 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.4223, allocations: 377.2 kB / 444.5 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.4223, allocations: 8.984 kB / 444.5 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.4226, allocations: 215 kB / 444.7 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.4228, allocations: 102.5 kB / 444.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.4228, allocations: 14.75 kB / 444.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.4248, allocations: 1.381 MB / 446.2 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.4249, allocations: 70.61 kB / 446.3 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.425, allocations: 66.72 kB / 446.4 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.4261, allocations: 0.8743 MB / 447.2 MB, free: 3.523 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.4261, allocations: 0.7188 kB / 447.2 MB, free: 3.523 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4261, allocations: 0 / 447.2 MB, free: 3.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4261, allocations: 5.328 kB / 447.2 MB, free: 3.523 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.0007515/0.4269, allocations: 0.5629 MB / 447.8 MB, free: 19.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.486e-05/0.4269, allocations: 13 kB / 447.8 MB, free: 19.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007618/0.4277, allocations: 348.2 kB / 448.2 MB, free: 19.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.4279, allocations: 171.4 kB / 448.3 MB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4279, allocations: 21.03 kB / 448.3 MB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.4279, allocations: 25.78 kB / 448.4 MB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.4282, allocations: 444.9 kB / 448.8 MB, free: 18.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4282, allocations: 2.953 kB / 448.8 MB, free: 18.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.4282, allocations: 12.73 kB / 448.8 MB, free: 18.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.4282, allocations: 6.156 kB / 448.8 MB, free: 18.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.4284, allocations: 162 kB / 449 MB, free: 18.64 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.0007438/0.4292, allocations: 0.5821 MB / 449.6 MB, free: 18.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.4293, allocations: 243.5 kB / 449.8 MB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.4294, allocations: 68.83 kB / 449.9 MB, free: 18.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.43, allocations: 295.9 kB / 450.2 MB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.43, allocations: 40.47 kB / 450.2 MB, free: 18.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.43, allocations: 1.031 kB / 450.2 MB, free: 18.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004528/0.4304, allocations: 267.7 kB / 450.5 MB, free: 18.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.4305, allocations: 88.62 kB / 450.5 MB, free: 18.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.4305, allocations: 118.1 kB / 450.7 MB, free: 17.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.4306, allocations: 30.02 kB / 450.7 MB, free: 17.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.4306, allocations: 115.9 kB / 450.8 MB, free: 17.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.4306, allocations: 116.7 kB / 450.9 MB, free: 17.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.4307, allocations: 68.84 kB / 451 MB, free: 17.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.75e-05/0.4308, allocations: 325.7 kB / 451.3 MB, free: 17.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.4308, allocations: 44.62 kB / 451.3 MB, free: 17.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.4309, allocations: 132.4 kB / 451.5 MB, free: 17.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.431, allocations: 220 kB / 451.7 MB, free: 17.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.431, allocations: 5.078 kB / 451.7 MB, free: 17.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002006/0.4312, allocations: 223.3 kB / 451.9 MB, free: 17.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.4312, allocations: 6.656 kB / 451.9 MB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4313, allocations: 2.594 kB / 451.9 MB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.4313, allocations: 6.5 kB / 451.9 MB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.4314, allocations: 86.06 kB / 452 MB, free: 17.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4314, allocations: 10.41 kB / 452 MB, free: 17.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.4315, allocations: 28.12 kB / 452 MB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.4315, allocations: 14.66 kB / 452.1 MB, free: 17.09 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 7.684e-05/0.4316, allocations: 127.9 kB / 452.2 MB, free: 16.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.4317, allocations: 38.11 kB / 452.2 MB, free: 16.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.4319, allocations: 211.2 kB / 452.4 MB, free: 16.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4319, allocations: 9.562 kB / 452.4 MB, free: 16.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.4319, allocations: 0 / 452.4 MB, free: 16.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4319, allocations: 4.219 kB / 452.4 MB, free: 16.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.4322, allocations: 165.2 kB / 452.6 MB, free: 16.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4322, allocations: 0 / 452.6 MB, free: 16.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4323, allocations: 67.09 kB / 452.7 MB, free: 16.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.4323, allocations: 21.69 kB / 452.7 MB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4323, allocations: 3.375 kB / 452.7 MB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4324, allocations: 8.016 kB / 452.7 MB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4324, allocations: 2.062 kB / 452.7 MB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4324, allocations: 6.625 kB / 452.7 MB, free: 16.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.4327, allocations: 0.5035 MB / 453.2 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.4327, allocations: 6.75 kB / 453.2 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4328, allocations: 11.73 kB / 453.2 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.4328, allocations: 20.39 kB / 453.3 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.4329, allocations: 14.08 kB / 453.3 MB, free: 16.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.126e-05/0.4329, allocations: 15.73 kB / 453.3 MB, free: 16.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4329, allocations: 0 / 453.3 MB, free: 16.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004713/0.4333, allocations: 240.6 kB / 453.5 MB, free: 16.45 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.0006543/0.434, allocations: 445.6 kB / 454 MB, free: 16.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.4342, allocations: 173 kB / 454.1 MB, free: 16.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.4342, allocations: 4.188 kB / 454.1 MB, free: 16.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.4342, allocations: 87.53 kB / 454.2 MB, free: 16.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.4346, allocations: 123.9 kB / 454.3 MB, free: 16.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.4368, allocations: 490.2 kB / 454.8 MB, free: 16.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.4369, allocations: 84.67 kB / 454.9 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.437, allocations: 68.41 kB / 455 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.4373, allocations: 151.3 kB / 455.1 MB, free: 15.91 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4373, allocations: 3.094 kB / 455.1 MB, free: 15.91 MB / 442.7 MB Notification: Performance of Templates: time 0.01008/0.4473, allocations: 10.49 MB / 465.6 MB, free: 15.02 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.682164934463799]