Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.0007944/0.0007944, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.001958, allocations: 445.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.0007663/0.0007663, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009678/0.001734, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8628/0.8628, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1348/0.9975, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.012e-05, allocations: 2.312 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2697/0.2697, allocations: 143.9 MB / 365.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003283/0.273, allocations: 3.109 MB / 368.9 MB, free: 12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2731, allocations: 0 / 368.9 MB, free: 12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.2734, allocations: 59.61 kB / 368.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.2755, allocations: 1.022 MB / 370 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.276, allocations: 199.5 kB / 370.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.2764, allocations: 362.5 kB / 370.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.2765, allocations: 13.91 kB / 370.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.2768, allocations: 199.4 kB / 370.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.2769, allocations: 95.75 kB / 370.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.277, allocations: 12 kB / 370.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.2793, allocations: 1.328 MB / 372.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-05/0.2794, allocations: 63.83 kB / 372.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.585e-05/0.2795, allocations: 63.94 kB / 372.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.2808, allocations: 0.8456 MB / 373.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.2808, allocations: 8 kB / 373.1 MB, free: 7.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2808, allocations: 0 / 373.1 MB, free: 7.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.2809, allocations: 0 / 373.1 MB, free: 7.73 MB / 330.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.0008323/0.2817, allocations: 0.5385 MB / 373.7 MB, free: 7.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2817, allocations: 8.031 kB / 373.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.2828, allocations: 337.4 kB / 374 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.2831, allocations: 181.5 kB / 374.2 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2831, allocations: 12.75 kB / 374.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.2831, allocations: 28.36 kB / 374.2 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.2835, allocations: 445.7 kB / 374.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2836, allocations: 3.938 kB / 374.7 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.2836, allocations: 12 kB / 374.7 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.2836, allocations: 4 kB / 374.7 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.2838, allocations: 149.4 kB / 374.8 MB, free: 5.906 MB / 330.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.001021/0.2848, allocations: 0.5754 MB / 375.4 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.2851, allocations: 202.4 kB / 375.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.2852, allocations: 67.84 kB / 375.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007863/0.286, allocations: 286.7 kB / 376 MB, free: 4.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.286, allocations: 42.55 kB / 376 MB, free: 4.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.286, allocations: 0 / 376 MB, free: 4.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006525/0.2866, allocations: 250.7 kB / 376.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.2867, allocations: 89.05 kB / 376.3 MB, free: 4.336 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.2867, allocations: 118.6 kB / 376.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.2868, allocations: 29.7 kB / 376.5 MB, free: 4.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.2868, allocations: 116.5 kB / 376.6 MB, free: 4.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.2869, allocations: 111 kB / 376.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.287, allocations: 65.98 kB / 376.8 MB, free: 3.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.2871, allocations: 326.8 kB / 377.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.2871, allocations: 39.47 kB / 377.1 MB, free: 3.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.2872, allocations: 123.6 kB / 377.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.2874, allocations: 215.8 kB / 377.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2875, allocations: 0 / 377.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002978/0.2877, allocations: 208.1 kB / 377.6 MB, free: 2.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2878, allocations: 4 kB / 377.7 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2878, allocations: 5.562 kB / 377.7 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2878, allocations: 4 kB / 377.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.288, allocations: 83.89 kB / 377.7 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.288, allocations: 15.86 kB / 377.8 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2882, allocations: 28.16 kB / 377.8 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.2882, allocations: 19.94 kB / 377.8 MB, free: 2.738 MB / 330.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 9.218e-05/0.2883, allocations: 132.5 kB / 377.9 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.2884, allocations: 27.97 kB / 378 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.2887, allocations: 201.6 kB / 378.2 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.2887, allocations: 4 kB / 378.2 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2887, allocations: 7.938 kB / 378.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2887, allocations: 0 / 378.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.289, allocations: 161.7 kB / 378.3 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.289, allocations: 0 / 378.3 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.2893, allocations: 69.84 kB / 378.4 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.2893, allocations: 15.84 kB / 378.4 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2893, allocations: 0 / 378.4 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.2893, allocations: 15.98 kB / 378.4 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.2893, allocations: 4 kB / 378.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2893, allocations: 3.938 kB / 378.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.2897, allocations: 455.7 kB / 378.9 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.2897, allocations: 8 kB / 378.9 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2899, allocations: 11.98 kB / 378.9 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.2899, allocations: 23.91 kB / 378.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.29, allocations: 7.984 kB / 378.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.29, allocations: 16.86 kB / 378.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.29, allocations: 4 kB / 379 MB, free: 1.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006201/0.2906, allocations: 227.4 kB / 379.2 MB, free: 1.324 MB / 330.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.0008383/0.2914, allocations: 438.4 kB / 379.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.2917, allocations: 157.3 kB / 379.8 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.2917, allocations: 7.984 kB / 379.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.2918, allocations: 80.7 kB / 379.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.2922, allocations: 121.4 kB / 380 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.2954, allocations: 478.4 kB / 380.4 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.03e-05/0.2955, allocations: 84.11 kB / 380.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.2958, allocations: 68.53 kB / 380.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.2961, allocations: 145.2 kB / 380.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2961, allocations: 0 / 380.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of Templates: time 0.01379/0.3099, allocations: 10.17 MB / 390.9 MB, free: 5.559 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/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.2423980198800564]