Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.0008984/0.0008984, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002243, allocations: 452 kB / 10.43 MB, free: 264 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.0007293/0.0007293, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.00176, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.799/0.799, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1258/0.9248, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1317/0.1317, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0189/0.1506, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.736e-05, allocations: 6.25 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2435/0.2435, allocations: 143.6 MB / 411 MB, free: 8.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2448, allocations: 1.531 MB / 412.5 MB, free: 7.07 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.2449, allocations: 0 / 412.5 MB, free: 7.07 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.2451, allocations: 58 kB / 412.6 MB, free: 7.016 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000532/0.2456, allocations: 385.4 kB / 413 MB, free: 6.645 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.246, allocations: 171.3 kB / 413.1 MB, free: 6.477 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.2461, allocations: 191.2 kB / 413.3 MB, free: 6.289 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.2462, allocations: 9.562 kB / 413.3 MB, free: 6.281 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2463, allocations: 107.7 kB / 413.4 MB, free: 6.176 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2464, allocations: 51.81 kB / 413.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2464, allocations: 8 kB / 413.5 MB, free: 6.117 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005985/0.247, allocations: 0.5415 MB / 414 MB, free: 5.574 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.2471, allocations: 19.92 kB / 414.1 MB, free: 5.555 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.2471, allocations: 31.94 kB / 414.1 MB, free: 5.523 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.2475, allocations: 347.1 kB / 414.4 MB, free: 5.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2475, allocations: 4 kB / 414.4 MB, free: 5.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2475, allocations: 0 / 414.4 MB, free: 5.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2475, allocations: 0 / 414.4 MB, free: 5.18 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.0003993/0.2479, allocations: 380.7 kB / 414.8 MB, free: 4.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.2479, allocations: 12.03 kB / 414.8 MB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.249, allocations: 317.5 kB / 415.1 MB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.2491, allocations: 137.6 kB / 415.3 MB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.2491, allocations: 4.562 kB / 415.3 MB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.2492, allocations: 12.56 kB / 415.3 MB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.2494, allocations: 238.1 kB / 415.5 MB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.2494, allocations: 0 / 415.5 MB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.2494, allocations: 8 kB / 415.5 MB, free: 4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2494, allocations: 4 kB / 415.5 MB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.2496, allocations: 107.8 kB / 415.6 MB, free: 3.891 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.0006764/0.2503, allocations: 353.6 kB / 416 MB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.2504, allocations: 125.3 kB / 416.1 MB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.2505, allocations: 60.83 kB / 416.1 MB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.641e-05/0.2506, allocations: 16.61 kB / 416.2 MB, free: 3.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2506, allocations: 34.56 kB / 416.2 MB, free: 3.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.2506, allocations: 0 / 416.2 MB, free: 3.277 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.002089/0.2527, allocations: 1.03 MB / 417.2 MB, free: 2.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.2527, allocations: 59.33 kB / 417.3 MB, free: 2.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/0.2527, allocations: 122.6 kB / 417.4 MB, free: 1.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2528, allocations: 29.7 kB / 417.4 MB, free: 1.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.2528, allocations: 100.3 kB / 417.5 MB, free: 1.844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.2528, allocations: 67.42 kB / 417.6 MB, free: 1.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.2529, allocations: 41.67 kB / 417.6 MB, free: 1.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.2529, allocations: 330.8 kB / 418 MB, free: 1.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.253, allocations: 40.59 kB / 418 MB, free: 1.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.253, allocations: 71.27 kB / 418.1 MB, free: 1.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.2532, allocations: 138.1 kB / 418.2 MB, free: 1.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.2532, allocations: 0 / 418.2 MB, free: 1.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001879/0.2534, allocations: 171.7 kB / 418.4 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2534, allocations: 8 kB / 418.4 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2534, allocations: 0 / 418.4 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.048e-05/0.2535, allocations: 28.88 kB / 418.4 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.2537, allocations: 76.05 kB / 418.5 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007153/0.2544, allocations: 1.236 MB / 419.7 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.2545, allocations: 8 kB / 419.7 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.2546, allocations: 7.984 kB / 419.7 MB, free: 15.5 MB / 410.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 6.835e-05/0.2546, allocations: 120.6 kB / 419.9 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.2547, allocations: 19.92 kB / 419.9 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.2549, allocations: 207.2 kB / 420.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2549, allocations: 0 / 420.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2549, allocations: 0 / 420.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2549, allocations: 0 / 420.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.2553, allocations: 393.9 kB / 420.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2553, allocations: 4 kB / 420.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.2555, allocations: 71.95 kB / 420.5 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.2555, allocations: 11.95 kB / 420.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.637e-05/0.2556, allocations: 16.84 kB / 420.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2556, allocations: 15.92 kB / 420.6 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004152/0.256, allocations: 1.155 MB / 421.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.256, allocations: 0 / 421.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.2562, allocations: 342.6 kB / 422.1 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2563, allocations: 8 kB / 422.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2564, allocations: 11.98 kB / 422.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.2564, allocations: 19.97 kB / 422.1 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2564, allocations: 4 kB / 422.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.289e-05/0.2564, allocations: 12.84 kB / 422.1 MB, free: 12.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2564, allocations: 0 / 422.1 MB, free: 12.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.2567, allocations: 127.8 kB / 422.2 MB, free: 12.81 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.0003176/0.257, allocations: 219.8 kB / 422.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.2573, allocations: 251.3 kB / 422.7 MB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.2573, allocations: 4 kB / 422.7 MB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.2574, allocations: 211.9 kB / 422.9 MB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2576, allocations: 153.2 kB / 423.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.2594, allocations: 368 kB / 423.4 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.2594, allocations: 71.86 kB / 423.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.2596, allocations: 53.39 kB / 423.5 MB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.2597, allocations: 101.2 kB / 423.6 MB, free: 11.3 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2597, allocations: 0 / 423.6 MB, free: 11.3 MB / 410.7 MB Notification: Performance of Templates: time 0.007/0.2667, allocations: 6.731 MB / 430.4 MB, free: 4.617 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9062889479100704]