Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001093/0.001093, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001036/0.001036, allocations: 167 kB / 24.84 MB, free: 8.711 MB / 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.8349/0.8349, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.1446/0.1446, allocations: 32.38 MB / 271.5 MB, free: 14.4 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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.359e-05, allocations: 2.312 kB / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2667/0.2667, allocations: 144.2 MB / 493.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005532/0.2723, allocations: 4.977 MB / 498.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006673/0.2729, allocations: 30.72 kB / 498.2 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.2735, allocations: 210 kB / 498.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.2758, allocations: 1.149 MB / 499.5 MB, free: 8.051 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.2774, allocations: 0.8401 MB / 0.4887 GB, free: 7.504 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.2793, allocations: 1.903 MB / 0.4905 GB, free: 6.398 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006035/0.2799, allocations: 429 kB / 0.4909 GB, free: 6.086 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.2813, allocations: 1.126 MB / 0.492 GB, free: 5.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.282, allocations: 0.5987 MB / 0.4926 GB, free: 5.109 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.614e-05/0.2821, allocations: 64.38 kB / 0.4927 GB, free: 5.105 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007607/0.2828, allocations: 473 kB / 0.4931 GB, free: 4.906 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.283, allocations: 288.8 kB / 0.4934 GB, free: 4.707 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.2832, allocations: 280.1 kB / 0.4937 GB, free: 4.578 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.2844, allocations: 1.013 MB / 0.4947 GB, free: 3.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2844, allocations: 0 / 0.4947 GB, free: 3.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2844, allocations: 0 / 0.4947 GB, free: 3.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.2844, allocations: 0 / 0.4947 GB, free: 3.969 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001344/0.2857, allocations: 1.137 MB / 0.4958 GB, free: 3.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2858, allocations: 8.062 kB / 0.4958 GB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005217/0.2863, allocations: 210.1 kB / 0.496 GB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.2868, allocations: 492.7 kB / 0.4964 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.292e-05/0.2869, allocations: 152.1 kB / 0.4966 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.2869, allocations: 62.81 kB / 0.4966 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.2875, allocations: 0.9623 MB / 0.4976 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2875, allocations: 0 / 0.4976 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.2876, allocations: 23.73 kB / 0.4976 GB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.2876, allocations: 43.77 kB / 0.4976 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.2879, allocations: 259 kB / 0.4979 GB, free: 1.363 MB / 362.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.002296/0.2902, allocations: 3.788 MB / 0.5016 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.2905, allocations: 200.1 kB / 0.5018 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.574e-05/0.2905, allocations: 68.22 kB / 0.5019 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.2908, allocations: 126.2 kB / 0.502 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.2908, allocations: 45.66 kB / 0.502 GB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.2908, allocations: 0 / 0.502 GB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002376/0.2932, allocations: 0.9939 MB / 0.503 GB, free: 12.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.2932, allocations: 132.5 kB / 0.5031 GB, free: 12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.2936, allocations: 0.5449 MB / 0.5036 GB, free: 11.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.2936, allocations: 33.7 kB / 0.5037 GB, free: 11.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.2938, allocations: 442.8 kB / 0.5041 GB, free: 10.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/0.2939, allocations: 154.7 kB / 0.5042 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.294, allocations: 172.1 kB / 0.5044 GB, free: 10.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2942, allocations: 0.5468 MB / 0.5049 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2943, allocations: 77.92 kB / 0.505 GB, free: 9.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.2946, allocations: 0.6259 MB / 0.5056 GB, free: 9.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.2951, allocations: 0.6652 MB / 0.5063 GB, free: 8.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2951, allocations: 4 kB / 0.5063 GB, free: 8.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006862/0.2958, allocations: 0.6177 MB / 0.5069 GB, free: 7.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.2958, allocations: 23.88 kB / 0.5069 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2958, allocations: 8 kB / 0.5069 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/0.2965, allocations: 254.1 kB / 0.5072 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.2967, allocations: 127.8 kB / 0.5073 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005789/0.2973, allocations: 0.9794 MB / 0.5082 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.2976, allocations: 32.03 kB / 0.5083 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.235e-05/0.2976, allocations: 59.98 kB / 0.5083 GB, free: 6.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.2978, allocations: 212.2 kB / 0.5085 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.2979, allocations: 71.62 kB / 0.5086 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.2985, allocations: 482.9 kB / 0.5091 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.2986, allocations: 7.938 kB / 0.5091 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2986, allocations: 4 kB / 0.5091 GB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2986, allocations: 3.984 kB / 0.5091 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.2996, allocations: 0.9126 MB / 0.51 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2996, allocations: 0 / 0.51 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.3001, allocations: 167.8 kB / 0.5101 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.408e-05/0.3002, allocations: 27.67 kB / 0.5101 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3002, allocations: 16.12 kB / 0.5102 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.3016, allocations: 3.515 MB / 0.5136 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.3016, allocations: 0 / 0.5136 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.3021, allocations: 0.5541 MB / 0.5141 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.3023, allocations: 99.52 kB / 0.5142 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.3023, allocations: 8 kB / 0.5142 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3025, allocations: 19.98 kB / 0.5143 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.3026, allocations: 39.88 kB / 0.5143 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.3026, allocations: 31.98 kB / 0.5143 GB, free: 15.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001974/0.3028, allocations: 326.8 kB / 0.5146 GB, free: 15.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3028, allocations: 0 / 0.5146 GB, free: 15.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006494/0.3035, allocations: 247.8 kB / 0.5149 GB, free: 15.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0005635/0.304, allocations: 301.9 kB / 0.5152 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.3046, allocations: 350.6 kB / 0.5155 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3046, allocations: 4 kB / 0.5155 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.3051, allocations: 357.6 kB / 0.5158 GB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.3058, allocations: 309.4 kB / 0.5161 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3074, allocations: 1.132 MB / 0.5172 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3076, allocations: 166.5 kB / 0.5174 GB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004156/0.308, allocations: 157.4 kB / 0.5176 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.3085, allocations: 361.9 kB / 0.5179 GB, free: 11.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3085, allocations: 4 kB / 0.5179 GB, free: 11.89 MB / 394.7 MB Notification: Performance of Templates: time 0.01876/0.3273, allocations: 16.94 MB / 0.5344 GB, free: 11.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.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.7961094160564244]