Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00116/0.00116, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.00117/0.00117, allocations: 170 kB / 24.82 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2435/0.2435, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 376.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.869e-05, allocations: 9.484 kB / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2541/0.2541, allocations: 142.5 MB / 0.5068 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.2551, allocations: 0.9717 MB / 0.5078 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.2551, allocations: 5.344 kB / 0.5078 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.2554, allocations: 25.45 kB / 0.5078 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006496/0.256, allocations: 255.7 kB / 0.5081 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2563, allocations: 123.2 kB / 0.5082 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.2565, allocations: 164.6 kB / 0.5083 GB, free: 20.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.2566, allocations: 11.86 kB / 0.5083 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.2568, allocations: 119.9 kB / 0.5085 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.2569, allocations: 44.44 kB / 0.5085 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.2569, allocations: 4.5 kB / 0.5085 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.2574, allocations: 256.3 kB / 0.5087 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.2575, allocations: 25.81 kB / 0.5088 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.2576, allocations: 32.69 kB / 0.5088 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.258, allocations: 308.9 kB / 0.5091 GB, free: 20.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.258, allocations: 0.9844 kB / 0.5091 GB, free: 20.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.258, allocations: 0 / 0.5091 GB, free: 20.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.258, allocations: 5.75 kB / 0.5091 GB, free: 20.06 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.000463/0.2585, allocations: 434 kB / 0.5095 GB, free: 19.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2585, allocations: 9.906 kB / 0.5095 GB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.2595, allocations: 215.1 kB / 0.5097 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2597, allocations: 146.6 kB / 0.5099 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2597, allocations: 9.297 kB / 0.5099 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.2597, allocations: 18.42 kB / 0.5099 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.26, allocations: 277.1 kB / 0.5102 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.26, allocations: 1.125 kB / 0.5102 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.26, allocations: 5.031 kB / 0.5102 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.26, allocations: 2.781 kB / 0.5102 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.2602, allocations: 103.6 kB / 0.5103 GB, free: 19.26 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.000536/0.2607, allocations: 0.6136 MB / 0.5109 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2609, allocations: 113.6 kB / 0.511 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.2609, allocations: 53.47 kB / 0.511 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.261, allocations: 7.281 kB / 0.511 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.261, allocations: 37.41 kB / 0.5111 GB, free: 18.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.261, allocations: 0 / 0.5111 GB, free: 18.59 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.002136/0.2631, allocations: 0.8694 MB / 0.5119 GB, free: 18.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.669e-05/0.2631, allocations: 58.16 kB / 0.512 GB, free: 18.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.2632, allocations: 171.7 kB / 0.5121 GB, free: 17.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2632, allocations: 27.73 kB / 0.5122 GB, free: 17.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.2632, allocations: 145.4 kB / 0.5123 GB, free: 17.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.2633, allocations: 65.64 kB / 0.5124 GB, free: 17.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.2633, allocations: 61.52 kB / 0.5124 GB, free: 17.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.2634, allocations: 0.4942 MB / 0.5129 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.2634, allocations: 35.89 kB / 0.5129 GB, free: 17.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.2635, allocations: 83.41 kB / 0.513 GB, free: 17.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.2636, allocations: 138.3 kB / 0.5131 GB, free: 17.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2636, allocations: 0 / 0.5131 GB, free: 17.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002581/0.2639, allocations: 214.9 kB / 0.5134 GB, free: 16.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2639, allocations: 5.219 kB / 0.5134 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2639, allocations: 1.859 kB / 0.5134 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.264, allocations: 50.38 kB / 0.5134 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2642, allocations: 58.59 kB / 0.5135 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000173/0.2644, allocations: 0.8126 MB / 0.5143 GB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.2644, allocations: 6.859 kB / 0.5143 GB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.2645, allocations: 19.81 kB / 0.5143 GB, free: 16.12 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/0.2645, allocations: 166.1 kB / 0.5144 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.2646, allocations: 16.3 kB / 0.5145 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.2649, allocations: 256.9 kB / 0.5147 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2649, allocations: 6.844 kB / 0.5147 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2649, allocations: 0.75 kB / 0.5147 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2649, allocations: 3.312 kB / 0.5147 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.2653, allocations: 0.5139 MB / 0.5152 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2653, allocations: 4.984 kB / 0.5152 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2654, allocations: 54.7 kB / 0.5153 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.522e-05/0.2655, allocations: 26.05 kB / 0.5153 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2655, allocations: 10.86 kB / 0.5153 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003642/0.2659, allocations: 1.712 MB / 0.517 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2659, allocations: 4.031 kB / 0.517 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.2661, allocations: 409.3 kB / 0.5174 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.2661, allocations: 10.09 kB / 0.5174 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2662, allocations: 2.406 kB / 0.5174 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.2663, allocations: 7.922 kB / 0.5174 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.2663, allocations: 33.8 kB / 0.5174 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.2663, allocations: 21.22 kB / 0.5174 GB, free: 13.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.46e-05/0.2663, allocations: 130 kB / 0.5176 GB, free: 13.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2663, allocations: 0 / 0.5176 GB, free: 13.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.2666, allocations: 86.2 kB / 0.5177 GB, free: 13.25 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.0002165/0.2668, allocations: 150.3 kB / 0.5178 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.267, allocations: 148.1 kB / 0.5179 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.267, allocations: 0 / 0.5179 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.2672, allocations: 264.3 kB / 0.5182 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.2674, allocations: 57.84 kB / 0.5182 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.268, allocations: 398.6 kB / 0.5186 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.2681, allocations: 70.64 kB / 0.5187 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.2682, allocations: 59.83 kB / 0.5187 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.2684, allocations: 146.9 kB / 0.5189 GB, free: 12.45 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2684, allocations: 4 kB / 0.5189 GB, free: 12.44 MB / 410.7 MB Notification: Performance of Templates: time 0.006474/0.2749, allocations: 5.941 MB / 0.5247 GB, free: 11.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.3545921337790787]