Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.001084/0.001084, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00166/0.002745, 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.001119/0.001119, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002628, 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.873/0.873, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1537/1.027, allocations: 49.49 MB / 220.6 MB, free: 1.441 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.97e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2625/0.2626, allocations: 143.6 MB / 365.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2638, allocations: 1.53 MB / 367 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.2638, allocations: 4 kB / 367 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.264, allocations: 46.36 kB / 367 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.2646, allocations: 392.9 kB / 367.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.2649, allocations: 175.3 kB / 367.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.265, allocations: 187.2 kB / 367.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.2651, allocations: 4 kB / 367.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2652, allocations: 111.6 kB / 367.9 MB, free: 13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.2653, allocations: 47.88 kB / 367.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2653, allocations: 8 kB / 367.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005768/0.2659, allocations: 0.5454 MB / 368.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.266, allocations: 23.92 kB / 368.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.266, allocations: 31.94 kB / 368.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.2664, allocations: 351.1 kB / 368.9 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.2664, allocations: 0 / 368.9 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2664, allocations: 4 kB / 368.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.2664, allocations: 0 / 368.9 MB, free: 11.99 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004066/0.2668, allocations: 368.1 kB / 369.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.2668, allocations: 8.031 kB / 369.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009768/0.2678, allocations: 321.5 kB / 369.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.268, allocations: 137.6 kB / 369.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.268, allocations: 4.562 kB / 369.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.268, allocations: 16.5 kB / 369.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2682, allocations: 242.1 kB / 370 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2682, allocations: 0 / 370 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.2683, allocations: 8 kB / 370 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2683, allocations: 0 / 370 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.2684, allocations: 107.8 kB / 370.1 MB, free: 10.71 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.0007013/0.2691, allocations: 354.9 kB / 370.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.2693, allocations: 130.6 kB / 370.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.2693, allocations: 56.84 kB / 370.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.117e-05/0.2694, allocations: 16.73 kB / 370.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2694, allocations: 30.56 kB / 370.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.2694, allocations: 0 / 370.7 MB, free: 10.1 MB / 330.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.002064/0.2715, allocations: 1.024 MB / 371.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.2715, allocations: 55.34 kB / 371.7 MB, free: 8.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.193e-05/0.2716, allocations: 122.6 kB / 371.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2716, allocations: 25.7 kB / 371.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.2716, allocations: 100.4 kB / 372 MB, free: 8.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.2717, allocations: 67.38 kB / 372 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.2717, allocations: 45.67 kB / 372.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.2718, allocations: 322.8 kB / 372.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.2718, allocations: 39.98 kB / 372.4 MB, free: 8.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.2719, allocations: 83.25 kB / 372.5 MB, free: 8.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.272, allocations: 134.1 kB / 372.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.272, allocations: 0 / 372.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002139/0.2722, allocations: 170.3 kB / 372.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2723, allocations: 4.094 kB / 372.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2723, allocations: 8 kB / 372.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.2724, allocations: 24.78 kB / 372.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.2726, allocations: 67.94 kB / 372.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006162/0.2733, allocations: 1.242 MB / 374.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2734, allocations: 8 kB / 374.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.2734, allocations: 4 kB / 374.2 MB, free: 6.332 MB / 330.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 8.026e-05/0.2735, allocations: 132.5 kB / 374.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.2735, allocations: 11.94 kB / 374.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.2737, allocations: 207.5 kB / 374.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2737, allocations: 4 kB / 374.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2737, allocations: 0 / 374.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2737, allocations: 3.984 kB / 374.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.2741, allocations: 405.8 kB / 374.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2741, allocations: 4 kB / 374.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.2744, allocations: 67.86 kB / 375 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-06/0.2744, allocations: 7.953 kB / 375 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.111e-05/0.2744, allocations: 20.84 kB / 375 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2744, allocations: 11.92 kB / 375 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004275/0.2749, allocations: 1.154 MB / 376.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2749, allocations: 4 kB / 376.2 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.2752, allocations: 342.6 kB / 376.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2752, allocations: 8 kB / 376.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2753, allocations: 4 kB / 376.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.2753, allocations: 16.12 kB / 376.5 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.2753, allocations: 15.98 kB / 376.6 MB, free: 3.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.29e-05/0.2753, allocations: 16.84 kB / 376.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2753, allocations: 0 / 376.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.2756, allocations: 123.7 kB / 376.7 MB, free: 3.617 MB / 330.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.0003259/0.2759, allocations: 207.9 kB / 376.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.2762, allocations: 253.4 kB / 377.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.2762, allocations: 4.188 kB / 377.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2763, allocations: 207.3 kB / 377.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.2766, allocations: 59.94 kB / 377.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2783, allocations: 359.3 kB / 377.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.2784, allocations: 83.75 kB / 377.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.2786, allocations: 57.61 kB / 377.9 MB, free: 2.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.2787, allocations: 101.2 kB / 378 MB, free: 2.223 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2787, allocations: 4 kB / 378 MB, free: 2.219 MB / 330.7 MB Notification: Performance of Templates: time 0.006741/0.2855, allocations: 6.743 MB / 384.8 MB, free: 11.49 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.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.0538134602829814]