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.002069/0.002069, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002681/0.002681, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.487/1.487, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3507/0.3507, allocations: 34.26 MB / 295.3 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.054e-06/2.054e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.522e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01467/0.01471, allocations: 8.335 MB / 385.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.03242, allocations: 12.38 MB / 398 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.03249, allocations: 4 kB / 398 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.03272, allocations: 39.73 kB / 398 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007476/0.0402, allocations: 2.479 MB / 400.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.04031, allocations: 19.95 kB / 400.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.04054, allocations: 135.1 kB / 400.7 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.04059, allocations: 11.98 kB / 400.7 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.04081, allocations: 83.73 kB / 400.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.678e-05/0.04091, allocations: 35.89 kB / 400.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.04093, allocations: 0 / 400.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.054, allocations: 7.153 MB / 407.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.05404, allocations: 15.92 kB / 408 MB, free: 4.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.05415, allocations: 31.98 kB / 408 MB, free: 4.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.07183, allocations: 6.644 MB / 414.6 MB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.07184, allocations: 0 / 414.6 MB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.07184, allocations: 0 / 414.6 MB, free: 13.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.07185, allocations: 0 / 414.6 MB, free: 13.49 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.004667/0.07652, allocations: 0.6675 MB / 415.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.07656, allocations: 12.03 kB / 415.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.07686, allocations: 59.69 kB / 415.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.077, allocations: 113.1 kB / 415.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.07703, allocations: 8 kB / 415.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.07706, allocations: 4 kB / 415.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.07753, allocations: 210.7 kB / 415.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.07755, allocations: 3.984 kB / 415.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.07757, allocations: 0 / 415.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.07759, allocations: 7.938 kB / 415.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.07797, allocations: 111.9 kB / 415.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.07866, allocations: 316.2 kB / 416.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.07918, allocations: 142.4 kB / 416.3 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.07933, allocations: 52.83 kB / 416.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002444/0.08177, allocations: 0.6707 MB / 417 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.08229, allocations: 208.4 kB / 417.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.08229, allocations: 0 / 417.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009207/0.08321, allocations: 257.2 kB / 417.4 MB, free: 10.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.08327, allocations: 55.39 kB / 417.5 MB, free: 10.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.08338, allocations: 101.9 kB / 417.6 MB, free: 10.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.08342, allocations: 29.7 kB / 417.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.0835, allocations: 96.08 kB / 417.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.08356, allocations: 43.58 kB / 417.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.08363, allocations: 37.7 kB / 417.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.0838, allocations: 318.8 kB / 418.1 MB, free: 9.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.08395, allocations: 55.86 kB / 418.2 MB, free: 9.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.08412, allocations: 65.67 kB / 418.2 MB, free: 9.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.08441, allocations: 113.1 kB / 418.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.08441, allocations: 0 / 418.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000446/0.08486, allocations: 169.4 kB / 418.5 MB, free: 9.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.08487, allocations: 8 kB / 418.5 MB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.08488, allocations: 0 / 418.5 MB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.0849, allocations: 4.234 kB / 418.5 MB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.08503, allocations: 23.98 kB / 418.5 MB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.08504, allocations: 4 kB / 418.5 MB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.08516, allocations: 23.88 kB / 418.6 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.08518, allocations: 4 kB / 418.6 MB, free: 9.316 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 0.000123/0.0853, allocations: 121.7 kB / 418.7 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.0854, allocations: 27.89 kB / 418.7 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006975/0.0861, allocations: 349.4 kB / 419.1 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000531/0.08663, allocations: 305.6 kB / 419.4 MB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.08663, allocations: 0 / 419.4 MB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.08664, allocations: 0 / 419.4 MB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.08785, allocations: 0.6538 MB / 420 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.08785, allocations: 3.984 kB / 420 MB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.08799, allocations: 23.98 kB / 420 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.08799, allocations: 11.94 kB / 420 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.08802, allocations: 7.984 kB / 420.1 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.08802, allocations: 4 kB / 420.1 MB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.08802, allocations: 0 / 420.1 MB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.0889, allocations: 463.1 kB / 420.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.08894, allocations: 19.88 kB / 420.5 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.08898, allocations: 4 kB / 420.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.08929, allocations: 28.03 kB / 420.6 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.08937, allocations: 19.95 kB / 420.6 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.0894, allocations: 15.94 kB / 420.6 MB, free: 7.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.196e-05/0.08946, allocations: 79.28 kB / 420.7 MB, free: 7.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08946, allocations: 0 / 420.7 MB, free: 7.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003816/0.09328, allocations: 458.7 kB / 421.1 MB, free: 6.684 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.02006/0.1133, allocations: 4.958 MB / 426.1 MB, free: 1.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.114, allocations: 181.6 kB / 426.3 MB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.114, allocations: 0 / 426.3 MB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.1142, allocations: 110.9 kB / 426.4 MB, free: 1.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.1149, allocations: 76.34 kB / 426.4 MB, free: 1.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.1158, allocations: 369 kB / 426.8 MB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.116, allocations: 103.3 kB / 426.9 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1161, allocations: 55.27 kB / 427 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.1162, allocations: 24.5 kB / 427 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1162, allocations: 0 / 427 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of Templates: time 0.178/0.2942, allocations: 21.28 MB / 448.3 MB, free: 99.64 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.5613199239596725]