Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.001296/0.001296, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00189/0.003186, 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.001449/0.001449, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.003042, 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.8191/0.8191, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1238/0.9428, 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.1341/0.1341, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01769/0.1518, 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 3.938 kB / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.95e-05, allocations: 10.19 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2497/0.2497, allocations: 143.4 MB / 410.7 MB, free: 8.336 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008777/0.2506, allocations: 0.9912 MB / 411.7 MB, free: 7.355 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.2506, allocations: 0 / 411.7 MB, free: 7.355 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.2508, allocations: 29.61 kB / 411.8 MB, free: 7.328 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.2513, allocations: 244.4 kB / 412 MB, free: 7.098 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2516, allocations: 120.5 kB / 412.1 MB, free: 6.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.2518, allocations: 179.2 kB / 412.3 MB, free: 6.805 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.2518, allocations: 7.984 kB / 412.3 MB, free: 6.797 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.252, allocations: 115.6 kB / 412.4 MB, free: 6.684 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.2521, allocations: 47.88 kB / 412.5 MB, free: 6.637 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2521, allocations: 8 kB / 412.5 MB, free: 6.629 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.2525, allocations: 259.6 kB / 412.7 MB, free: 6.375 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.2526, allocations: 19.92 kB / 412.7 MB, free: 6.355 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.2526, allocations: 27.94 kB / 412.8 MB, free: 6.328 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.2529, allocations: 259.3 kB / 413 MB, free: 6.074 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.253, allocations: 0 / 413 MB, free: 6.074 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.253, allocations: 0 / 413 MB, free: 6.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.253, allocations: 0 / 413 MB, free: 6.074 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004052/0.2534, allocations: 344.9 kB / 413.4 MB, free: 5.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.2534, allocations: 12.03 kB / 413.4 MB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2544, allocations: 313.5 kB / 413.7 MB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.2546, allocations: 133.6 kB / 413.8 MB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2546, allocations: 4.375 kB / 413.8 MB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.2547, allocations: 12.56 kB / 413.8 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.2549, allocations: 265.8 kB / 414.1 MB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2549, allocations: 0 / 414.1 MB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.255, allocations: 8 kB / 414.1 MB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.255, allocations: 3.938 kB / 414.1 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.2551, allocations: 83.89 kB / 414.2 MB, free: 4.816 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.0004898/0.2556, allocations: 431.1 kB / 414.6 MB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2557, allocations: 93.45 kB / 414.7 MB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.2557, allocations: 45.08 kB / 414.7 MB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2557, allocations: 8 kB / 414.7 MB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.2558, allocations: 34.56 kB / 414.8 MB, free: 4.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2558, allocations: 4 kB / 414.8 MB, free: 4.172 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.001901/0.2577, allocations: 0.8176 MB / 415.6 MB, free: 3.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.2577, allocations: 55.41 kB / 415.6 MB, free: 3.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.258, allocations: 110.7 kB / 415.8 MB, free: 3.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.258, allocations: 33.7 kB / 415.8 MB, free: 3.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.2581, allocations: 95.97 kB / 415.9 MB, free: 2.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.2581, allocations: 71.41 kB / 416 MB, free: 2.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.2582, allocations: 46.25 kB / 416 MB, free: 2.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.2582, allocations: 322.8 kB / 416.3 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/0.2583, allocations: 31.98 kB / 416.3 MB, free: 2.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.2583, allocations: 67.25 kB / 416.4 MB, free: 2.426 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.2584, allocations: 118.1 kB / 416.5 MB, free: 2.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2584, allocations: 0 / 416.5 MB, free: 2.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001764/0.2586, allocations: 150.3 kB / 416.7 MB, free: 2.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2586, allocations: 4 kB / 416.7 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2586, allocations: 8.031 kB / 416.7 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.2587, allocations: 24.84 kB / 416.7 MB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.2589, allocations: 75.86 kB / 416.8 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006822/0.2596, allocations: 1.251 MB / 418 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.2597, allocations: 8.062 kB / 418 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.2597, allocations: 15.98 kB / 418.1 MB, free: 0.668 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.403e-05/0.2598, allocations: 128.5 kB / 418.2 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.2598, allocations: 15.98 kB / 418.2 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.26, allocations: 188.4 kB / 418.4 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.26, allocations: 4 kB / 418.4 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.26, allocations: 3.984 kB / 418.4 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2601, allocations: 0 / 418.4 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.2604, allocations: 377.2 kB / 418.8 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2604, allocations: 3.938 kB / 418.8 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2606, allocations: 59.94 kB / 418.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.2606, allocations: 15.94 kB / 418.8 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.128e-05/0.2607, allocations: 20.84 kB / 418.9 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2607, allocations: 4 kB / 418.9 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004455/0.2611, allocations: 1.158 MB / 420 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2611, allocations: 4 kB / 420 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.2614, allocations: 303 kB / 420.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2614, allocations: 0 / 420.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.2615, allocations: 8 kB / 420.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.2615, allocations: 32.64 kB / 420.4 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.2615, allocations: 8.125 kB / 420.4 MB, free: 14.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.717e-05/0.2616, allocations: 20.84 kB / 420.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2616, allocations: 0 / 420.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.2618, allocations: 71.94 kB / 420.5 MB, free: 14.09 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 (20): * Single equations (assignments): 19 * 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.0002222/0.262, allocations: 132.2 kB / 420.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.2623, allocations: 240.2 kB / 420.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.2623, allocations: 0 / 420.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.2624, allocations: 207.8 kB / 421 MB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.2627, allocations: 153.2 kB / 421.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.2645, allocations: 366.6 kB / 421.5 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.2646, allocations: 75.88 kB / 421.6 MB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.2647, allocations: 53.39 kB / 421.7 MB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.2649, allocations: 115.3 kB / 421.8 MB, free: 12.67 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2649, allocations: 0 / 421.8 MB, free: 12.67 MB / 410.7 MB Notification: Performance of Templates: time 0.006794/0.2717, allocations: 5.544 MB / 427.3 MB, free: 7.172 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.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.9764247350394726]