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.001476/0.001476, allocations: 79.92 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.001654/0.001654, allocations: 169 kB / 24.14 MB, free: 364 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.9495/0.9495, allocations: 158.6 MB / 186 MB, free: 2.766 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.1505/0.1505, allocations: 32.37 MB / 270.7 MB, free: 14.59 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.273e-06/1.273e-06, allocations: 0 / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.755e-05, allocations: 2.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2641/0.2642, allocations: 142.9 MB / 442 MB, free: 14.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2652, allocations: 0.9888 MB / 443 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.2653, allocations: 0 / 443 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.2655, allocations: 31.77 kB / 443 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006872/0.2662, allocations: 246.5 kB / 443.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.2666, allocations: 127.6 kB / 443.4 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.2668, allocations: 163.2 kB / 443.5 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.2668, allocations: 3.938 kB / 443.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.2671, allocations: 119.6 kB / 443.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.2672, allocations: 43.83 kB / 443.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2672, allocations: 4 kB / 443.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.2676, allocations: 259.5 kB / 444 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.2677, allocations: 27.91 kB / 444 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.2678, allocations: 27.98 kB / 444 MB, free: 12.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.2681, allocations: 303.2 kB / 444.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2681, allocations: 0 / 444.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2682, allocations: 0 / 444.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2682, allocations: 0 / 444.3 MB, free: 12.57 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.0004172/0.2686, allocations: 313.2 kB / 444.6 MB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2686, allocations: 8.031 kB / 444.6 MB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009964/0.2696, allocations: 249.2 kB / 444.9 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.2698, allocations: 125.7 kB / 445 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2698, allocations: 4.375 kB / 445 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.2699, allocations: 12.38 kB / 445 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.2703, allocations: 273.7 kB / 445.3 MB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2703, allocations: 0 / 445.3 MB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.2703, allocations: 8 kB / 445.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2703, allocations: 0 / 445.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2704, allocations: 83.89 kB / 445.4 MB, free: 11.44 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.000617/0.2711, allocations: 431.1 kB / 445.8 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.2713, allocations: 99.09 kB / 445.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.2713, allocations: 41.39 kB / 445.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.2713, allocations: 4 kB / 445.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2714, allocations: 34.56 kB / 446 MB, free: 10.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.2714, allocations: 0 / 446 MB, free: 10.8 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.002238/0.2736, allocations: 0.8404 MB / 446.8 MB, free: 9.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2736, allocations: 55.34 kB / 446.8 MB, free: 9.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.2737, allocations: 118.6 kB / 447 MB, free: 9.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2737, allocations: 29.7 kB / 447 MB, free: 9.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.2737, allocations: 100 kB / 447.1 MB, free: 9.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.2738, allocations: 67.42 kB / 447.2 MB, free: 9.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.2738, allocations: 45.64 kB / 447.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.2739, allocations: 326.8 kB / 447.5 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.274, allocations: 27.98 kB / 447.5 MB, free: 9.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.274, allocations: 68.45 kB / 447.6 MB, free: 9.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2741, allocations: 114.1 kB / 447.7 MB, free: 8.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2741, allocations: 0 / 447.7 MB, free: 8.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002198/0.2744, allocations: 158.3 kB / 447.9 MB, free: 8.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2744, allocations: 12.03 kB / 447.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2744, allocations: 4 kB / 447.9 MB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.2745, allocations: 20.84 kB / 447.9 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2747, allocations: 51.95 kB / 448 MB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007283/0.282, allocations: 1.585 MB / 449.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.2821, allocations: 4 kB / 449.6 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2821, allocations: 16 kB / 449.6 MB, free: 6.941 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 0.0001199/0.2822, allocations: 128.5 kB / 449.7 MB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.2823, allocations: 12 kB / 449.7 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.2826, allocations: 203.1 kB / 449.9 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2826, allocations: 4 kB / 449.9 MB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2826, allocations: 0 / 449.9 MB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2826, allocations: 0 / 449.9 MB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.2831, allocations: 374.6 kB / 450.3 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2831, allocations: 4 kB / 450.3 MB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.2832, allocations: 59.98 kB / 450.3 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.38e-05/0.2833, allocations: 16.84 kB / 450.4 MB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2833, allocations: 8 kB / 450.4 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005031/0.2838, allocations: 1.154 MB / 451.5 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2838, allocations: 12.06 kB / 451.5 MB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.2841, allocations: 299.9 kB / 451.8 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.2841, allocations: 7.953 kB / 451.8 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.2841, allocations: 7.984 kB / 451.8 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.2842, allocations: 8 kB / 451.8 MB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.2842, allocations: 19.91 kB / 451.9 MB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.2843, allocations: 19.98 kB / 451.9 MB, free: 4.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.725e-05/0.2843, allocations: 12.86 kB / 451.9 MB, free: 4.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2843, allocations: 0 / 451.9 MB, free: 4.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00027/0.2845, allocations: 87.89 kB / 452 MB, free: 4.355 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.0002666/0.2848, allocations: 152.7 kB / 452.1 MB, free: 4.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.2851, allocations: 234.2 kB / 452.4 MB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2851, allocations: 0 / 452.4 MB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2852, allocations: 186.2 kB / 452.5 MB, free: 3.762 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.2855, allocations: 63.05 kB / 452.6 MB, free: 3.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.2862, allocations: 374.3 kB / 453 MB, free: 3.301 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.2863, allocations: 75.94 kB / 453 MB, free: 3.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.2864, allocations: 69.38 kB / 453.1 MB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2866, allocations: 115.3 kB / 453.2 MB, free: 3.023 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/0.2866, allocations: 0 / 453.2 MB, free: 3.023 MB / 410.7 MB Notification: Performance of Templates: time 0.1911/0.4777, allocations: 6.118 MB / 459.3 MB, free: 15.29 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 -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.419149096123874]