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.001004/0.001004, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009921/0.0009921, allocations: 166.4 kB / 24.99 MB, free: 8.746 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.986/0.986, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2813/0.2813, allocations: 34.26 MB / 296.1 MB, free: 0.7695 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 2.044e-06/2.044e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.108e-05, allocations: 2.312 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01032/0.01035, allocations: 8.842 MB / 386.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.02217, allocations: 13.87 MB / 400.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.02225, allocations: 0 / 400.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.02245, allocations: 39.73 kB / 400.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005447/0.0279, allocations: 2.481 MB / 403.2 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.81e-05/0.02798, allocations: 19.91 kB / 403.3 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.02814, allocations: 139.1 kB / 403.4 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.02818, allocations: 3.984 kB / 403.4 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.02834, allocations: 79.8 kB / 403.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.02841, allocations: 35.89 kB / 403.5 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.02843, allocations: 4 kB / 403.5 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00788/0.03631, allocations: 7.145 MB / 410.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.03634, allocations: 15.92 kB / 410.7 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.03641, allocations: 39.91 kB / 410.7 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008917/0.04533, allocations: 6.644 MB / 417.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.04533, allocations: 0 / 417.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.04534, allocations: 0 / 417.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.04534, allocations: 0 / 417.4 MB, free: 11.5 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.002694/0.04803, allocations: 0.7543 MB / 418.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.04807, allocations: 8.031 kB / 418.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.04828, allocations: 59.69 kB / 418.2 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.04837, allocations: 119.9 kB / 418.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.04839, allocations: 8 kB / 418.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.04841, allocations: 12 kB / 418.3 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.04869, allocations: 198 kB / 418.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.0487, allocations: 0 / 418.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.04871, allocations: 0 / 418.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.04873, allocations: 7.938 kB / 418.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.04885, allocations: 67.89 kB / 418.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.04932, allocations: 375.4 kB / 419 MB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.04952, allocations: 115 kB / 419.1 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.04957, allocations: 35.67 kB / 419.1 MB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.05066, allocations: 0.6512 MB / 419.8 MB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.05112, allocations: 209.9 kB / 420 MB, free: 8.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.05112, allocations: 4 kB / 420 MB, free: 8.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004187/0.05154, allocations: 208.7 kB / 420.2 MB, free: 8.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.05158, allocations: 51.41 kB / 420.2 MB, free: 8.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.05165, allocations: 165.9 kB / 420.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.05166, allocations: 29.69 kB / 420.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.0517, allocations: 142.8 kB / 420.6 MB, free: 8.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.05174, allocations: 47.59 kB / 420.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.05177, allocations: 43.36 kB / 420.6 MB, free: 7.996 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.05187, allocations: 0.4884 MB / 421.1 MB, free: 7.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.05191, allocations: 27.98 kB / 421.2 MB, free: 7.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/0.05196, allocations: 55.3 kB / 421.2 MB, free: 7.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.703e-05/0.05205, allocations: 79.55 kB / 421.3 MB, free: 7.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.05205, allocations: 0 / 421.3 MB, free: 7.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001756/0.05223, allocations: 141.4 kB / 421.4 MB, free: 7.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.05224, allocations: 4 kB / 421.4 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.05225, allocations: 0 / 421.4 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.05226, allocations: 0 / 421.4 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.05234, allocations: 27.98 kB / 421.5 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.05235, allocations: 3.984 kB / 421.5 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.05239, allocations: 19.89 kB / 421.5 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.05241, allocations: 11.98 kB / 421.5 MB, free: 7.109 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.724e-05/0.0525, allocations: 168.5 kB / 421.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.05255, allocations: 19.83 kB / 421.7 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.05284, allocations: 251.4 kB / 421.9 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001655/0.05301, allocations: 205.7 kB / 422.1 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.05301, allocations: 0 / 422.1 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.05302, allocations: 4 kB / 422.1 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.05352, allocations: 0.5817 MB / 422.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.05353, allocations: 0 / 422.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.05359, allocations: 27.98 kB / 422.7 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.0536, allocations: 0 / 422.7 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.05361, allocations: 11.98 kB / 422.7 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.05361, allocations: 0 / 422.7 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.05361, allocations: 4 kB / 422.7 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.05394, allocations: 399.5 kB / 423.1 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.05395, allocations: 19.83 kB / 423.2 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.05397, allocations: 8 kB / 423.2 MB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.05405, allocations: 15.98 kB / 423.2 MB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.0541, allocations: 19.97 kB / 423.2 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.05412, allocations: 11.92 kB / 423.2 MB, free: 5.305 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.05415, allocations: 127.2 kB / 423.3 MB, free: 5.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05415, allocations: 0 / 423.3 MB, free: 5.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001741/0.05589, allocations: 466.7 kB / 423.8 MB, free: 4.723 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.01249/0.06838, allocations: 4.956 MB / 428.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.06869, allocations: 149.1 kB / 428.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.06869, allocations: 0 / 428.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.06881, allocations: 91.53 kB / 429 MB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.06928, allocations: 80.27 kB / 429.1 MB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.07028, allocations: 358.6 kB / 429.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.762e-05/0.07034, allocations: 76.98 kB / 429.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.07046, allocations: 52.95 kB / 429.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.0705, allocations: 28.44 kB / 429.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0705, allocations: 0 / 429.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.1554/0.2259, allocations: 21.36 MB / 450.9 MB, free: 99.12 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: 5.045054844114929]