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.0008454/0.0008454, 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.0008812/0.0008812, 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.8442/0.8442, allocations: 158.6 MB / 186 MB, free: 2.77 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.13/0.13, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.453e-06/1.453e-06, allocations: 0 / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.797e-05, allocations: 2.312 kB / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2656/0.2656, allocations: 143 MB / 442.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2668, allocations: 0.9926 MB / 443.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2669, allocations: 0 / 443.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.2673, allocations: 27.78 kB / 443.1 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009588/0.2683, allocations: 242.5 kB / 443.3 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.2687, allocations: 123.6 kB / 443.5 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2691, allocations: 175.2 kB / 443.6 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/0.2691, allocations: 0 / 443.6 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.2694, allocations: 115.6 kB / 443.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2695, allocations: 43.83 kB / 443.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.2695, allocations: 4 kB / 443.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.2701, allocations: 271.5 kB / 444 MB, free: 12.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.2702, allocations: 19.91 kB / 444.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.2703, allocations: 43.91 kB / 444.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.2708, allocations: 295.3 kB / 444.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2708, allocations: 0 / 444.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2708, allocations: 0 / 444.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2708, allocations: 0 / 444.4 MB, free: 12.48 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004334/0.2712, allocations: 305.3 kB / 444.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.2713, allocations: 16.03 kB / 444.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.2724, allocations: 245.2 kB / 445 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.2726, allocations: 125.7 kB / 445.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2726, allocations: 8.375 kB / 445.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.2727, allocations: 4.375 kB / 445.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.273, allocations: 273.8 kB / 445.4 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.273, allocations: 3.938 kB / 445.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.273, allocations: 4 kB / 445.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.273, allocations: 8 kB / 445.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2732, allocations: 79.95 kB / 445.4 MB, free: 11.35 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.0006361/0.2738, allocations: 431.1 kB / 445.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.274, allocations: 91.7 kB / 446 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.274, allocations: 40.84 kB / 446 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.2741, allocations: 4 kB / 446 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.2741, allocations: 34.56 kB / 446 MB, free: 10.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.525e-06/0.2741, allocations: 4 kB / 446 MB, free: 10.71 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.002523/0.2766, allocations: 0.845 MB / 446.9 MB, free: 9.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2766, allocations: 59.39 kB / 446.9 MB, free: 9.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.2767, allocations: 118.6 kB / 447.1 MB, free: 9.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2767, allocations: 33.7 kB / 447.1 MB, free: 9.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.2768, allocations: 92.05 kB / 447.2 MB, free: 9.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.2768, allocations: 63.42 kB / 447.2 MB, free: 9.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.2769, allocations: 53.62 kB / 447.3 MB, free: 9.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.277, allocations: 326.8 kB / 447.6 MB, free: 9.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.277, allocations: 27.98 kB / 447.6 MB, free: 9.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.2771, allocations: 63.34 kB / 447.7 MB, free: 8.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.2772, allocations: 114.1 kB / 447.8 MB, free: 8.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2772, allocations: 3.312 kB / 447.8 MB, free: 8.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002255/0.2775, allocations: 154.3 kB / 448 MB, free: 8.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2775, allocations: 11.94 kB / 448 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.2775, allocations: 3.984 kB / 448 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.2777, allocations: 24.84 kB / 448 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.2779, allocations: 67.88 kB / 448.1 MB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007829/0.2858, allocations: 1.583 MB / 449.7 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.2859, allocations: 4 kB / 449.7 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.2859, allocations: 15.98 kB / 449.7 MB, free: 6.84 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.906e-05/0.286, allocations: 124.6 kB / 449.8 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.286, allocations: 11.98 kB / 449.8 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.2863, allocations: 212.3 kB / 450 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2863, allocations: 0 / 450 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.2863, allocations: 0 / 450 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2863, allocations: 7.438 kB / 450 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.2871, allocations: 378.6 kB / 450.4 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2871, allocations: 0 / 450.4 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.2873, allocations: 63.92 kB / 450.5 MB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.637e-05/0.2873, allocations: 24.78 kB / 450.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2873, allocations: 4 kB / 450.5 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005105/0.2878, allocations: 1.166 MB / 451.7 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2879, allocations: 3.938 kB / 451.7 MB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.2881, allocations: 300.4 kB / 451.9 MB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.2881, allocations: 7.953 kB / 452 MB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.2881, allocations: 7.984 kB / 452 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.2882, allocations: 12.16 kB / 452 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2883, allocations: 19.91 kB / 452 MB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.2883, allocations: 15.98 kB / 452 MB, free: 4.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.817e-05/0.2883, allocations: 16.84 kB / 452 MB, free: 4.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2883, allocations: 0 / 452 MB, free: 4.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.2886, allocations: 87.86 kB / 452.1 MB, free: 4.23 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.0002571/0.2889, allocations: 136.1 kB / 452.2 MB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.2891, allocations: 234.3 kB / 452.5 MB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2891, allocations: 192 / 452.5 MB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2893, allocations: 195.3 kB / 452.7 MB, free: 3.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2895, allocations: 58.38 kB / 452.7 MB, free: 3.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/0.2902, allocations: 380.6 kB / 453.1 MB, free: 3.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.428e-05/0.2903, allocations: 71.94 kB / 453.2 MB, free: 3.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.2905, allocations: 65.45 kB / 453.2 MB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.2906, allocations: 111.3 kB / 453.3 MB, free: 2.914 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2906, allocations: 0 / 453.3 MB, free: 2.914 MB / 410.7 MB Notification: Performance of Templates: time 0.1637/0.4544, allocations: 6.184 MB / 459.5 MB, free: 15.31 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.190348865929991]