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.0009808/0.0009808, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001018/0.001018, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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.8841/0.8841, allocations: 158.6 MB / 186 MB, free: 2.285 MB / 170.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.1219/0.1219, allocations: 32.38 MB / 270.7 MB, free: 14.55 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.844e-06/1.844e-06, allocations: 4 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.209e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2493/0.2493, allocations: 143.2 MB / 442.3 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2506, allocations: 1.522 MB / 443.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.2506, allocations: 0 / 443.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.2509, allocations: 47.69 kB / 443.9 MB, free: 12.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006979/0.2516, allocations: 397.7 kB / 444.3 MB, free: 12.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.252, allocations: 179.3 kB / 444.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.2522, allocations: 187.1 kB / 444.7 MB, free: 12.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.2523, allocations: 7.938 kB / 444.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.2524, allocations: 103.6 kB / 444.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2525, allocations: 51.86 kB / 444.8 MB, free: 12.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2526, allocations: 8 kB / 444.8 MB, free: 12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006602/0.2532, allocations: 0.5298 MB / 445.4 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.2533, allocations: 31.89 kB / 445.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.2533, allocations: 43.91 kB / 445.4 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.2537, allocations: 402.9 kB / 445.8 MB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2537, allocations: 8 kB / 445.8 MB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2537, allocations: 3.938 kB / 445.8 MB, free: 10.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2537, allocations: 0 / 445.8 MB, free: 10.99 MB / 410.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.0003583/0.2541, allocations: 329.3 kB / 446.2 MB, free: 10.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2541, allocations: 8.031 kB / 446.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.2552, allocations: 237.2 kB / 446.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.2553, allocations: 137.6 kB / 446.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2553, allocations: 4.562 kB / 446.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.2554, allocations: 16.38 kB / 446.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.2556, allocations: 238.1 kB / 446.8 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2556, allocations: 0 / 446.8 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.2556, allocations: 4 kB / 446.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2556, allocations: 4 kB / 446.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.2558, allocations: 107.8 kB / 446.9 MB, free: 9.855 MB / 410.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.0007558/0.2565, allocations: 349.8 kB / 447.2 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.2567, allocations: 135 kB / 447.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.2568, allocations: 57.47 kB / 447.4 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.414e-05/0.2568, allocations: 11.98 kB / 447.4 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2569, allocations: 34.56 kB / 447.5 MB, free: 9.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.2569, allocations: 0 / 447.5 MB, free: 9.242 MB / 410.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.002384/0.2593, allocations: 1.025 MB / 448.5 MB, free: 8.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.2593, allocations: 59.33 kB / 448.6 MB, free: 8.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.2594, allocations: 114.7 kB / 448.7 MB, free: 7.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.2594, allocations: 29.7 kB / 448.7 MB, free: 7.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.2594, allocations: 100.3 kB / 448.8 MB, free: 7.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.2595, allocations: 71.38 kB / 448.9 MB, free: 7.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.2595, allocations: 45.67 kB / 448.9 MB, free: 7.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.2596, allocations: 322.8 kB / 449.2 MB, free: 7.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.2597, allocations: 39.98 kB / 449.3 MB, free: 7.332 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.2597, allocations: 71.41 kB / 449.3 MB, free: 7.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2599, allocations: 134.1 kB / 449.5 MB, free: 7.105 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2599, allocations: 0 / 449.5 MB, free: 7.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002297/0.2601, allocations: 174.3 kB / 449.6 MB, free: 6.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2601, allocations: 8 kB / 449.6 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2601, allocations: 0 / 449.6 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.2602, allocations: 28.77 kB / 449.7 MB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.2605, allocations: 68.06 kB / 449.7 MB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007905/0.2684, allocations: 1.807 MB / 451.5 MB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2685, allocations: 8 kB / 451.6 MB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2686, allocations: 4 kB / 451.6 MB, free: 4.883 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 9.879e-05/0.2687, allocations: 124.7 kB / 451.7 MB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.2687, allocations: 12 kB / 451.7 MB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.269, allocations: 218.3 kB / 451.9 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.269, allocations: 0 / 451.9 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.269, allocations: 4 kB / 451.9 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.269, allocations: 3.984 kB / 451.9 MB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.2694, allocations: 399 kB / 452.3 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2694, allocations: 0 / 452.3 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.2697, allocations: 67.86 kB / 452.4 MB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-05/0.2697, allocations: 16.8 kB / 452.4 MB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2698, allocations: 11.98 kB / 452.4 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000532/0.2703, allocations: 1.154 MB / 453.6 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2703, allocations: 0 / 453.6 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.2706, allocations: 350.6 kB / 453.9 MB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.2706, allocations: 7.953 kB / 453.9 MB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2706, allocations: 12.14 kB / 453.9 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2708, allocations: 12 kB / 453.9 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.2708, allocations: 15.97 kB / 453.9 MB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.2708, allocations: 11.98 kB / 454 MB, free: 2.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.618e-05/0.2708, allocations: 12.86 kB / 454 MB, free: 2.305 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2708, allocations: 0 / 454 MB, free: 2.305 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.2712, allocations: 131.7 kB / 454.1 MB, free: 2.176 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.000444/0.2716, allocations: 243.9 kB / 454.3 MB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.272, allocations: 255 kB / 454.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.272, allocations: 0 / 454.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.2721, allocations: 210.2 kB / 454.8 MB, free: 1.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2723, allocations: 56.11 kB / 454.8 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.2731, allocations: 374.2 kB / 455.2 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.2732, allocations: 68 kB / 455.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.2733, allocations: 53.44 kB / 455.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.2735, allocations: 101.3 kB / 455.4 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2735, allocations: 0 / 455.4 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of Templates: time 0.1661/0.4396, allocations: 7.27 MB / 462.7 MB, free: 14.6 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.258598946966231]