Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001155/0.001155, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001299/0.002454, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007292/0.0007292, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008947/0.001624, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.046/1.046, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09495/1.141, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2798/0.2798, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03546/0.3153, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.426e-05, allocations: 3.406 kB / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.0107/0.01072, allocations: 8.896 MB / 301.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.02216, allocations: 13.91 MB / 315.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.0222, allocations: 0 / 315.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.02236, allocations: 43.73 kB / 315.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.02703, allocations: 2.332 MB / 318 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.024e-05/0.02708, allocations: 23.84 kB / 318 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.0272, allocations: 143.1 kB / 318.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.02723, allocations: 3.984 kB / 318.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.02738, allocations: 87.73 kB / 318.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.02744, allocations: 31.91 kB / 318.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.02745, allocations: 4 kB / 318.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009457/0.03691, allocations: 7.333 MB / 325.6 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.03695, allocations: 11.94 kB / 325.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.037, allocations: 27.94 kB / 325.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.0482, allocations: 6.364 MB / 332 MB, free: 14.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.584e-05/0.04822, allocations: 0 / 332 MB, free: 14.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.04822, allocations: 0 / 332 MB, free: 14.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.04823, allocations: 0 / 332 MB, free: 14.88 MB / 330.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.002932/0.05116, allocations: 1.626 MB / 333.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.0512, allocations: 8.031 kB / 333.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.0514, allocations: 55.73 kB / 333.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.27e-05/0.05148, allocations: 117.1 kB / 333.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.05149, allocations: 7.938 kB / 333.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.05151, allocations: 12 kB / 333.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.05176, allocations: 190.2 kB / 334 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.05177, allocations: 0 / 334 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.05178, allocations: 8 kB / 334.1 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.05179, allocations: 3.938 kB / 334.1 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.05191, allocations: 55.94 kB / 334.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.05229, allocations: 249.7 kB / 334.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.05248, allocations: 90.47 kB / 334.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.05251, allocations: 24.8 kB / 334.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/0.05414, allocations: 0.9055 MB / 335.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.05436, allocations: 189.3 kB / 335.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.05436, allocations: 0 / 335.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003334/0.05469, allocations: 156 kB / 335.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.05473, allocations: 55.41 kB / 335.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.05478, allocations: 106.7 kB / 335.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.0548, allocations: 33.7 kB / 335.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.05483, allocations: 88.08 kB / 336 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.05488, allocations: 51.53 kB / 336 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.05493, allocations: 37.69 kB / 336.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.05502, allocations: 326.8 kB / 336.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.05504, allocations: 23.98 kB / 336.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.05509, allocations: 29.7 kB / 336.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.05516, allocations: 61.61 kB / 336.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.05516, allocations: 256 / 336.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001496/0.05531, allocations: 107.5 kB / 336.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.05532, allocations: 8 kB / 336.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.05533, allocations: 4.047 kB / 336.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.05534, allocations: 3.984 kB / 336.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.05543, allocations: 35.92 kB / 336.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.05543, allocations: 4 kB / 336.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.05548, allocations: 19.88 kB / 336.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.05549, allocations: 4 kB / 336.7 MB, free: 9.992 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 (dT,$PRE.dT,state_check.phase,p,$PRE.p,state.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/0.05556, allocations: 118.4 kB / 336.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.05562, allocations: 23.8 kB / 336.8 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.05587, allocations: 200.2 kB / 337 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/0.05599, allocations: 134.8 kB / 337.2 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.05599, allocations: 4 kB / 337.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.05599, allocations: 4 kB / 337.2 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.05646, allocations: 466.1 kB / 337.6 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.05646, allocations: 0 / 337.6 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.05655, allocations: 31.98 kB / 337.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.05656, allocations: 15.88 kB / 337.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.05657, allocations: 0 / 337.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.05658, allocations: 11.94 kB / 337.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.05658, allocations: 0 / 337.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.05658, allocations: 0 / 337.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.05686, allocations: 337.9 kB / 338 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.05688, allocations: 4 kB / 338 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.05698, allocations: 15.98 kB / 338 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.05703, allocations: 15.97 kB / 338 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.05704, allocations: 7.984 kB / 338.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.05706, allocations: 12.86 kB / 338.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05706, allocations: 4.031 kB / 338.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001465/0.05852, allocations: 458.7 kB / 338.5 MB, free: 8.102 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,p,state_check.phase,dT) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01337/0.07189, allocations: 5.015 MB / 343.5 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.07206, allocations: 118.4 kB / 343.6 MB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.07207, allocations: 4 kB / 343.6 MB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.07216, allocations: 93.38 kB / 343.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.07265, allocations: 194.7 kB / 343.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.07574, allocations: 333.3 kB / 344.3 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.07579, allocations: 80.84 kB / 344.3 MB, free: 2.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.791e-05/0.07588, allocations: 55.58 kB / 344.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.07605, allocations: 111.3 kB / 344.5 MB, free: 2.016 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.07605, allocations: 0 / 344.5 MB, free: 2.016 MB / 330.7 MB Notification: Performance of Templates: time 0.0238/0.09985, allocations: 23.4 MB / 367.9 MB, free: 10.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.200362643226981]