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.001404/0.001404, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001017/0.001017, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 0.9824/0.9824, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.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.2689/0.2689, allocations: 34.25 MB / 296.1 MB, free: 0.7266 MB / 266.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.433e-06/1.433e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.037e-05, allocations: 10.25 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.009915/0.009935, allocations: 8.799 MB / 387.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.02057, allocations: 13.66 MB / 400.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.02062, allocations: 0 / 400.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.02083, allocations: 47.73 kB / 401 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00494/0.02577, allocations: 2.48 MB / 403.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.872e-05/0.02584, allocations: 23.91 kB / 403.5 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.02598, allocations: 135.1 kB / 403.6 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.02602, allocations: 7.984 kB / 403.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.02619, allocations: 79.8 kB / 403.7 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.02626, allocations: 39.89 kB / 403.8 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.02628, allocations: 4 kB / 403.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/0.03363, allocations: 7.145 MB / 410.9 MB, free: 1.863 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.03366, allocations: 15.92 kB / 410.9 MB, free: 1.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.0337, allocations: 39.91 kB / 411 MB, free: 1.809 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009175/0.04288, allocations: 6.644 MB / 417.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.04288, allocations: 4 kB / 417.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04288, allocations: 0 / 417.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.04289, allocations: 0 / 417.6 MB, free: 11.15 MB / 394.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.002652/0.04554, allocations: 0.7582 MB / 418.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.04559, allocations: 12.03 kB / 418.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.04576, allocations: 59.69 kB / 418.4 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.752e-05/0.04584, allocations: 115.9 kB / 418.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.04586, allocations: 4 kB / 418.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.04588, allocations: 12 kB / 418.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.04612, allocations: 190 kB / 418.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.04613, allocations: 0 / 418.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.04614, allocations: 0 / 418.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.04614, allocations: 11.94 kB / 418.8 MB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.04625, allocations: 71.34 kB / 418.8 MB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.04666, allocations: 348 kB / 419.2 MB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.04683, allocations: 99.06 kB / 419.3 MB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.04687, allocations: 35.67 kB / 419.3 MB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.04789, allocations: 0.6432 MB / 419.9 MB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.04812, allocations: 190 kB / 420.1 MB, free: 8.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.04812, allocations: 0 / 420.1 MB, free: 8.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003615/0.04849, allocations: 193.4 kB / 420.3 MB, free: 8.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.04852, allocations: 55.41 kB / 420.4 MB, free: 8.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.0486, allocations: 169.8 kB / 420.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.04862, allocations: 29.7 kB / 420.6 MB, free: 7.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.04867, allocations: 138.8 kB / 420.7 MB, free: 7.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.04871, allocations: 59.5 kB / 420.8 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.04875, allocations: 43.34 kB / 420.8 MB, free: 7.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.04888, allocations: 0.4884 MB / 421.3 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.04891, allocations: 19.98 kB / 421.3 MB, free: 7.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.04895, allocations: 43.36 kB / 421.4 MB, free: 7.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/0.04902, allocations: 71.33 kB / 421.4 MB, free: 7.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.04902, allocations: 0 / 421.4 MB, free: 7.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000162/0.04918, allocations: 128.5 kB / 421.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.0492, allocations: 8 kB / 421.6 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.0492, allocations: 0 / 421.6 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.04921, allocations: 4 kB / 421.6 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.04929, allocations: 27.92 kB / 421.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.04929, allocations: 0 / 421.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.04933, allocations: 19.88 kB / 421.6 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.04935, allocations: 4 kB / 421.6 MB, free: 6.887 MB / 394.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.phase,p,$PRE.p,state_check.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 8.462e-05/0.04943, allocations: 168.2 kB / 421.8 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.04948, allocations: 24.02 kB / 421.8 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.04974, allocations: 233.5 kB / 422 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001341/0.04987, allocations: 173.7 kB / 422.2 MB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.04988, allocations: 8 kB / 422.2 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.04988, allocations: 0 / 422.2 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.05037, allocations: 0.5404 MB / 422.7 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.05037, allocations: 4 kB / 422.7 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.05044, allocations: 27.92 kB / 422.8 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.05044, allocations: 3.938 kB / 422.8 MB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.05046, allocations: 11.98 kB / 422.8 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.05046, allocations: 0 / 422.8 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.05046, allocations: 0 / 422.8 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.05075, allocations: 371.6 kB / 423.2 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.05077, allocations: 15.84 kB / 423.2 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.05078, allocations: 3.984 kB / 423.2 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.05086, allocations: 20.03 kB / 423.2 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.0509, allocations: 20 kB / 423.2 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.05091, allocations: 11.98 kB / 423.2 MB, free: 5.199 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.347e-05/0.05095, allocations: 127.2 kB / 423.3 MB, free: 5.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.05095, allocations: 4 kB / 423.4 MB, free: 5.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001568/0.05252, allocations: 458.6 kB / 423.8 MB, free: 4.621 MB / 394.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,dT,state_check.phase,p) * 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.01046/0.06298, allocations: 4.981 MB / 428.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.06318, allocations: 140.1 kB / 428.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.06319, allocations: 8 kB / 428.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.06326, allocations: 79.52 kB / 429 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.06359, allocations: 79.83 kB / 429.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.0644, allocations: 366.6 kB / 429.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.457e-05/0.06446, allocations: 73 kB / 429.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.39e-05/0.06455, allocations: 55.44 kB / 429.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.0647, allocations: 138.1 kB / 429.7 MB, free: 14.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.0647, allocations: 3.938 kB / 429.7 MB, free: 14.63 MB / 410.7 MB Notification: Performance of Templates: time 0.1633/0.228, allocations: 23.81 MB / 453.5 MB, free: 75.45 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.836642157752067]