Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.002849, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.002102, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.033/1.033, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08578/1.119, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2601/0.2601, allocations: 34.87 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03659/0.2967, allocations: 13.22 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.717e-05, allocations: 4.766 kB / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01142/0.01144, allocations: 8.891 MB / 302.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.02209, allocations: 13.91 MB / 316.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.02215, allocations: 0 / 316.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.02231, allocations: 43.75 kB / 316.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.02752, allocations: 2.34 MB / 319 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.019e-05/0.0276, allocations: 19.91 kB / 319.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.02773, allocations: 135.1 kB / 319.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.02777, allocations: 4 kB / 319.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.02793, allocations: 91.66 kB / 319.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.02799, allocations: 27.97 kB / 319.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.028, allocations: 0 / 319.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00823/0.03623, allocations: 7.325 MB / 326.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.03627, allocations: 11.94 kB / 326.7 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.03634, allocations: 27.94 kB / 326.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009406/0.04575, allocations: 6.376 MB / 333.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.957e-05/0.04577, allocations: 0 / 333.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.04577, allocations: 0 / 333.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.04579, allocations: 0 / 333.1 MB, free: 13.89 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.003857/0.04964, allocations: 1.63 MB / 334.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.04968, allocations: 12.86 kB / 334.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.04985, allocations: 63.72 kB / 334.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.657e-05/0.04993, allocations: 113.1 kB / 334.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.04995, allocations: 8 kB / 334.9 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.04997, allocations: 8 kB / 334.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.05024, allocations: 191.2 kB / 335.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.05025, allocations: 4 kB / 335.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.05026, allocations: 8 kB / 335.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.05027, allocations: 3.938 kB / 335.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.05038, allocations: 58.89 kB / 335.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.05077, allocations: 257.6 kB / 335.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.05095, allocations: 96.23 kB / 335.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.05098, allocations: 20.84 kB / 335.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.05243, allocations: 0.8976 MB / 336.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.05263, allocations: 188.4 kB / 336.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.05263, allocations: 0 / 336.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002668/0.0529, allocations: 154.7 kB / 336.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.05293, allocations: 55.41 kB / 336.8 MB, free: 9.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.05298, allocations: 114.8 kB / 336.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.05299, allocations: 25.7 kB / 336.9 MB, free: 9.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.05302, allocations: 100 kB / 337 MB, free: 9.719 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.05306, allocations: 47.59 kB / 337.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.0531, allocations: 33.69 kB / 337.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.05318, allocations: 326.8 kB / 337.4 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.0532, allocations: 15.98 kB / 337.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.05324, allocations: 41.69 kB / 337.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.117e-05/0.0533, allocations: 56.16 kB / 337.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0533, allocations: 0 / 337.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001257/0.05343, allocations: 109.3 kB / 337.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.05344, allocations: 12 kB / 337.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.05345, allocations: 0 / 337.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.05346, allocations: 0 / 337.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.05354, allocations: 23.98 kB / 337.7 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.05354, allocations: 4 kB / 337.7 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.05358, allocations: 19.88 kB / 337.7 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.05359, allocations: 4 kB / 337.7 MB, free: 9.008 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 7.069e-05/0.05366, allocations: 121.8 kB / 337.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.05371, allocations: 27.8 kB / 337.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.05394, allocations: 205.9 kB / 338.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.05404, allocations: 138.8 kB / 338.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.05404, allocations: 0 / 338.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.05405, allocations: 7.984 kB / 338.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.05449, allocations: 454.2 kB / 338.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.05449, allocations: 4 kB / 338.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.05457, allocations: 31.98 kB / 338.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.05459, allocations: 19.83 kB / 338.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.05459, allocations: 0 / 338.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.0546, allocations: 12.19 kB / 338.7 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.05461, allocations: 4 kB / 338.7 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.05461, allocations: 0 / 338.7 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.05487, allocations: 335.4 kB / 339 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.05489, allocations: 4 kB / 339.1 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.05496, allocations: 16.02 kB / 339.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.05502, allocations: 19.97 kB / 339.1 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.05503, allocations: 11.98 kB / 339.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.208e-05/0.05505, allocations: 12.84 kB / 339.1 MB, free: 7.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05505, allocations: 3.938 kB / 339.1 MB, free: 7.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001891/0.05694, allocations: 454.7 kB / 339.6 MB, free: 7.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.01135/0.06829, allocations: 5.007 MB / 344.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.0686, allocations: 115.1 kB / 344.7 MB, free: 1.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.06861, allocations: 4 kB / 344.7 MB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.06869, allocations: 76.69 kB / 344.8 MB, free: 1.871 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.06908, allocations: 100 kB / 344.9 MB, free: 1.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.07159, allocations: 324 kB / 345.2 MB, free: 1.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.367e-05/0.07165, allocations: 80.86 kB / 345.3 MB, free: 1.328 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.0718, allocations: 58.77 kB / 345.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.07195, allocations: 119.2 kB / 345.4 MB, free: 1.152 MB / 330.7 MB Notification: Performance of SimCode: time 1.694e-06/0.07195, allocations: 0 / 345.4 MB, free: 1.152 MB / 330.7 MB Notification: Performance of Templates: time 0.0229/0.09485, allocations: 23.89 MB / 369.3 MB, free: 9.301 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.205290814861655]