Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001961/0.003219, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002019/0.003305, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9557/0.9557, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1703/1.126, allocations: 52.48 MB / 238.5 MB, free: 7.637 MB / 234.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.136/0.136, allocations: 32.81 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02042/0.1564, allocations: 12.54 MB / 284.5 MB, free: 9.723 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 285.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.159e-05, allocations: 6.25 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2603/0.2603, allocations: 142.4 MB / 428.2 MB, free: 10.24 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2618, allocations: 1.635 MB / 429.9 MB, free: 8.613 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.2619, allocations: 0 / 429.9 MB, free: 8.613 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.2621, allocations: 42.42 kB / 429.9 MB, free: 8.574 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000721/0.2628, allocations: 417.5 kB / 430.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.2632, allocations: 183.3 kB / 430.5 MB, free: 7.996 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.2634, allocations: 187.2 kB / 430.7 MB, free: 7.812 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.2635, allocations: 4 kB / 430.7 MB, free: 7.809 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.2636, allocations: 103.7 kB / 430.8 MB, free: 7.707 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.2637, allocations: 51.83 kB / 430.8 MB, free: 7.656 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2638, allocations: 4 kB / 430.8 MB, free: 7.652 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007668/0.2645, allocations: 0.561 MB / 431.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.2646, allocations: 31.91 kB / 431.4 MB, free: 7.059 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.2646, allocations: 37.56 kB / 431.5 MB, free: 7.023 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.2651, allocations: 359 kB / 431.8 MB, free: 6.672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.2651, allocations: 4 kB / 431.8 MB, free: 6.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2651, allocations: 0 / 431.8 MB, free: 6.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2651, allocations: 0 / 431.8 MB, free: 6.668 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004465/0.2655, allocations: 372 kB / 432.2 MB, free: 6.281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.2656, allocations: 12.03 kB / 432.2 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.2666, allocations: 322 kB / 432.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.2668, allocations: 129.6 kB / 432.6 MB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2668, allocations: 8.75 kB / 432.6 MB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.2669, allocations: 19.89 kB / 432.7 MB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.2671, allocations: 236.2 kB / 432.9 MB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2671, allocations: 4 kB / 432.9 MB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.2671, allocations: 4 kB / 432.9 MB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2671, allocations: 0 / 432.9 MB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.2673, allocations: 99.83 kB / 433 MB, free: 5.395 MB / 394.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.0007155/0.268, allocations: 365.7 kB / 433.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2681, allocations: 126.5 kB / 433.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.2682, allocations: 56.84 kB / 433.5 MB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/0.2683, allocations: 11.98 kB / 433.5 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2683, allocations: 39.81 kB / 433.6 MB, free: 4.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.2683, allocations: 0 / 433.6 MB, free: 4.77 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.002092/0.2704, allocations: 1.008 MB / 434.6 MB, free: 3.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.2704, allocations: 55.41 kB / 434.6 MB, free: 3.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.2704, allocations: 134.5 kB / 434.8 MB, free: 3.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.2705, allocations: 25.7 kB / 434.8 MB, free: 3.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.2705, allocations: 96.41 kB / 434.9 MB, free: 3.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.2705, allocations: 71.36 kB / 435 MB, free: 3.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.2706, allocations: 42.3 kB / 435 MB, free: 3.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.2707, allocations: 330.8 kB / 435.3 MB, free: 2.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.2707, allocations: 39.98 kB / 435.4 MB, free: 2.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.2708, allocations: 75.25 kB / 435.4 MB, free: 2.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.2709, allocations: 136.4 kB / 435.6 MB, free: 2.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2709, allocations: 0 / 435.6 MB, free: 2.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001979/0.2711, allocations: 172.8 kB / 435.7 MB, free: 2.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2711, allocations: 8 kB / 435.8 MB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2711, allocations: 7.875 kB / 435.8 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.363e-05/0.2712, allocations: 20.84 kB / 435.8 MB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.2715, allocations: 75.86 kB / 435.9 MB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006448/0.2721, allocations: 1.234 MB / 437.1 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2723, allocations: 4 kB / 437.1 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.2723, allocations: 8 kB / 437.1 MB, free: 1.008 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/0.2724, allocations: 128.7 kB / 437.2 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2724, allocations: 19.92 kB / 437.2 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.2726, allocations: 200.7 kB / 437.4 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2726, allocations: 0 / 437.4 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.2726, allocations: 0 / 437.4 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2726, allocations: 3.984 kB / 437.4 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.2731, allocations: 397.9 kB / 437.8 MB, free: 232 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2731, allocations: 4 kB / 437.8 MB, free: 228 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.2733, allocations: 69.11 kB / 437.9 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.2733, allocations: 7.953 kB / 437.9 MB, free: 152 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.453e-05/0.2734, allocations: 24.77 kB / 437.9 MB, free: 124 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2734, allocations: 12.09 kB / 437.9 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004664/0.2738, allocations: 1.155 MB / 439.1 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2739, allocations: 0 / 439.1 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.2741, allocations: 347.4 kB / 439.4 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2742, allocations: 8.031 kB / 439.4 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2743, allocations: 8 kB / 439.5 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.2743, allocations: 19.97 kB / 439.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.2743, allocations: 7.984 kB / 439.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.689e-05/0.2743, allocations: 16.78 kB / 439.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2743, allocations: 0 / 439.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.2747, allocations: 123.7 kB / 439.6 MB, free: 14.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003661/0.275, allocations: 231.8 kB / 439.8 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.2753, allocations: 266.5 kB / 440.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.2753, allocations: 4 kB / 440.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2755, allocations: 204.8 kB / 440.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2757, allocations: 157.1 kB / 440.5 MB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.2775, allocations: 360.2 kB / 440.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.2776, allocations: 71.98 kB / 440.9 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.2778, allocations: 57.67 kB / 440.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.2779, allocations: 101.3 kB / 441 MB, free: 12.79 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2779, allocations: 0 / 441 MB, free: 12.79 MB / 410.7 MB Notification: Performance of Templates: time 0.007421/0.2854, allocations: 6.676 MB / 447.7 MB, free: 6.172 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.204440246336162]