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.001394/0.001394, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001579/0.001579, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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.552/1.552, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 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.2393/0.2393, allocations: 46.97 MB / 361.6 MB, free: 4.105 MB / 286.1 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 0.002307/0.002307, allocations: 59.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3784, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01505/0.3934, allocations: 8.335 MB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.4127, allocations: 12.4 MB / 0.5821 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.4128, allocations: 4 kB / 0.5821 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.4131, allocations: 39.75 kB / 0.5821 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009359/0.4225, allocations: 2.43 MB / 0.5845 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.4226, allocations: 11.98 kB / 0.5845 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.4229, allocations: 127.2 kB / 0.5846 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.561e-05/0.4229, allocations: 7.984 kB / 0.5846 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.4231, allocations: 63.77 kB / 0.5847 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4233, allocations: 43.84 kB / 0.5847 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.4233, allocations: 3.938 kB / 0.5847 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/0.4382, allocations: 7.134 MB / 0.5917 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.4383, allocations: 11.94 kB / 0.5917 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.4384, allocations: 43.84 kB / 0.5917 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02169/0.4601, allocations: 6.332 MB / 0.5979 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4601, allocations: 4 kB / 0.5979 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4601, allocations: 0 / 0.5979 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4601, allocations: 0 / 0.5979 GB, free: 15.09 MB / 446.1 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.004299/0.4644, allocations: 0.6636 MB / 0.5986 GB, free: 14.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4645, allocations: 12.03 kB / 0.5986 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.4647, allocations: 23.94 kB / 0.5986 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.4648, allocations: 113.2 kB / 0.5987 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.4648, allocations: 8 kB / 0.5987 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.4649, allocations: 8 kB / 0.5987 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.4653, allocations: 202.7 kB / 0.5989 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.4653, allocations: 7.938 kB / 0.5989 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.4654, allocations: 4 kB / 0.5989 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4654, allocations: 3.984 kB / 0.5989 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.4657, allocations: 119.9 kB / 0.5991 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.4664, allocations: 328.1 kB / 0.5994 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.4669, allocations: 130.6 kB / 0.5995 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4671, allocations: 48.83 kB / 0.5995 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002363/0.4694, allocations: 0.64 MB / 0.6002 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.4699, allocations: 224.3 kB / 0.6004 GB, free: 12.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/0.4699, allocations: 0 / 0.6004 GB, free: 12.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008891/0.4708, allocations: 232.5 kB / 0.6006 GB, free: 12.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.4708, allocations: 59.39 kB / 0.6007 GB, free: 12.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.4709, allocations: 97.86 kB / 0.6008 GB, free: 12.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.4709, allocations: 33.7 kB / 0.6008 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.471, allocations: 95.86 kB / 0.6009 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.4711, allocations: 47.58 kB / 0.6009 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.4711, allocations: 41.7 kB / 0.601 GB, free: 11.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4713, allocations: 322.8 kB / 0.6013 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.4715, allocations: 43.97 kB / 0.6013 GB, free: 11.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.4716, allocations: 65.61 kB / 0.6014 GB, free: 11.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.4719, allocations: 101.9 kB / 0.6015 GB, free: 11.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4719, allocations: 0 / 0.6015 GB, free: 11.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004204/0.4723, allocations: 165.5 kB / 0.6016 GB, free: 11.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4723, allocations: 4 kB / 0.6016 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4724, allocations: 7.984 kB / 0.6016 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4724, allocations: 0 / 0.6016 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4725, allocations: 23.92 kB / 0.6017 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4725, allocations: 0 / 0.6017 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.4726, allocations: 23.88 kB / 0.6017 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.4727, allocations: 4 kB / 0.6017 GB, free: 11.01 MB / 446.1 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.0001311/0.4728, allocations: 133.7 kB / 0.6018 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.4729, allocations: 7.953 kB / 0.6018 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.4735, allocations: 357.3 kB / 0.6022 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005235/0.4741, allocations: 305.5 kB / 0.6025 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4741, allocations: 8 kB / 0.6025 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4741, allocations: 0 / 0.6025 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.4753, allocations: 0.6412 MB / 0.6031 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4753, allocations: 4 kB / 0.6031 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.4754, allocations: 27.98 kB / 0.6031 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.4754, allocations: 0 / 0.6031 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4754, allocations: 11.98 kB / 0.6031 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4754, allocations: 0 / 0.6031 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4755, allocations: 0 / 0.6031 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.4762, allocations: 463.2 kB / 0.6036 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.4763, allocations: 19.92 kB / 0.6036 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.4763, allocations: 8 kB / 0.6036 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.4765, allocations: 31.91 kB / 0.6036 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.4766, allocations: 19.95 kB / 0.6037 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.4766, allocations: 8 kB / 0.6037 GB, free: 8.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.4767, allocations: 83.28 kB / 0.6037 GB, free: 8.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4767, allocations: 0 / 0.6037 GB, free: 8.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003638/0.4803, allocations: 458.7 kB / 0.6042 GB, free: 8.387 MB / 446.1 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.01996/0.5003, allocations: 4.894 MB / 0.609 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.501, allocations: 193.7 kB / 0.6091 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.501, allocations: 0 / 0.6091 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.5012, allocations: 107.8 kB / 0.6092 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.5018, allocations: 82.97 kB / 0.6093 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.5028, allocations: 412.9 kB / 0.6097 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.5029, allocations: 111.1 kB / 0.6098 GB, free: 2.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.503, allocations: 23.44 kB / 0.6098 GB, free: 2.508 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.503, allocations: 0 / 0.6098 GB, free: 2.508 MB / 446.1 MB Notification: Performance of Templates: time 0.03331/0.5363, allocations: 21.48 MB / 0.6308 GB, free: 13 MB / 478.1 MB " [Timeout remaining time 659] 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/jenkins1/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/jenkins1/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: 10.655153673142195]