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.001859/0.001859, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002284/0.002284, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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.716/1.716, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.3489/0.3489, allocations: 46.94 MB / 361.5 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002467/0.002467, allocations: 75.88 kB / 0.4974 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3837, allocations: 66.09 MB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.0138/0.3975, allocations: 8.32 MB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.4137, allocations: 12.41 MB / 0.5822 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.4138, allocations: 0 / 0.5822 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.414, allocations: 39.75 kB / 0.5822 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008342/0.4224, allocations: 2.43 MB / 0.5846 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.4225, allocations: 19.97 kB / 0.5846 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.4227, allocations: 127.2 kB / 0.5847 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.4228, allocations: 0 / 0.5847 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.423, allocations: 67.7 kB / 0.5848 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.4231, allocations: 47.77 kB / 0.5848 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.4231, allocations: 4 kB / 0.5848 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01438/0.4375, allocations: 7.13 MB / 0.5918 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.4375, allocations: 11.98 kB / 0.5918 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.4377, allocations: 39.86 kB / 0.5918 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01967/0.4573, allocations: 6.336 MB / 0.598 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4573, allocations: 0 / 0.598 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4573, allocations: 0 / 0.598 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4574, allocations: 0 / 0.598 GB, free: 14.89 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.004051/0.4614, allocations: 0.6713 MB / 0.5987 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4614, allocations: 8.031 kB / 0.5987 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.4617, allocations: 23.94 kB / 0.5987 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.4618, allocations: 113.2 kB / 0.5988 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.4619, allocations: 8 kB / 0.5988 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.4619, allocations: 15.98 kB / 0.5988 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.4624, allocations: 198.7 kB / 0.599 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4624, allocations: 7.875 kB / 0.599 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.4624, allocations: 4 kB / 0.599 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4624, allocations: 4 kB / 0.599 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.4628, allocations: 118 kB / 0.5992 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.4634, allocations: 328.2 kB / 0.5995 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.4639, allocations: 130.5 kB / 0.5996 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.464, allocations: 52.77 kB / 0.5996 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.4664, allocations: 0.64 MB / 0.6003 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000426/0.4668, allocations: 216.4 kB / 0.6005 GB, free: 12.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.735e-06/0.4668, allocations: 0 / 0.6005 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008158/0.4676, allocations: 237.4 kB / 0.6007 GB, free: 11.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.4677, allocations: 55.41 kB / 0.6007 GB, free: 11.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.4678, allocations: 105.8 kB / 0.6008 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.4678, allocations: 29.7 kB / 0.6009 GB, free: 11.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.4678, allocations: 95.86 kB / 0.601 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.4679, allocations: 51.52 kB / 0.601 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.468, allocations: 37.7 kB / 0.6011 GB, free: 11.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4681, allocations: 318.8 kB / 0.6014 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.4682, allocations: 43.97 kB / 0.6014 GB, free: 11.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.4684, allocations: 72.42 kB / 0.6015 GB, free: 11.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.4687, allocations: 112.6 kB / 0.6016 GB, free: 11.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4687, allocations: 0 / 0.6016 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004309/0.4691, allocations: 157.5 kB / 0.6017 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4691, allocations: 6.031 kB / 0.6017 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4691, allocations: 0 / 0.6017 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4691, allocations: 3.938 kB / 0.6017 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4693, allocations: 31.97 kB / 0.6018 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.4693, allocations: 3.984 kB / 0.6018 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.4694, allocations: 19.94 kB / 0.6018 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.4694, allocations: 4 kB / 0.6018 GB, free: 10.79 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.0001216/0.4695, allocations: 125.7 kB / 0.6019 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.4696, allocations: 11.95 kB / 0.6019 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006409/0.4702, allocations: 369.3 kB / 0.6023 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004701/0.4707, allocations: 297 kB / 0.6026 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4707, allocations: 3.984 kB / 0.6026 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4707, allocations: 0 / 0.6026 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.4718, allocations: 0.6576 MB / 0.6032 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4718, allocations: 0 / 0.6032 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.472, allocations: 27.98 kB / 0.6032 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.472, allocations: 0 / 0.6032 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.472, allocations: 8.234 kB / 0.6032 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.472, allocations: 8 kB / 0.6032 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.472, allocations: 4 kB / 0.6033 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.4728, allocations: 459.2 kB / 0.6037 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.4728, allocations: 19.86 kB / 0.6037 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.4729, allocations: 4 kB / 0.6037 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.4731, allocations: 31.91 kB / 0.6037 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.4731, allocations: 20.03 kB / 0.6038 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.4732, allocations: 11.98 kB / 0.6038 GB, free: 8.691 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.873e-05/0.4732, allocations: 79.28 kB / 0.6038 GB, free: 8.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4732, allocations: 4 kB / 0.6039 GB, free: 8.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003491/0.4767, allocations: 454.7 kB / 0.6043 GB, free: 8.164 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.01985/0.4966, allocations: 4.879 MB / 0.6091 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006985/0.4973, allocations: 197.5 kB / 0.6092 GB, free: 3.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4973, allocations: 0 / 0.6092 GB, free: 3.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.4975, allocations: 99.89 kB / 0.6093 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.4982, allocations: 83.97 kB / 0.6094 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009963/0.4992, allocations: 420.9 kB / 0.6098 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.4993, allocations: 103.2 kB / 0.6099 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.4994, allocations: 27.42 kB / 0.6099 GB, free: 2.293 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4994, allocations: 0 / 0.6099 GB, free: 2.293 MB / 446.1 MB Notification: Performance of Templates: time 0.03093/0.5303, allocations: 21.48 MB / 0.6309 GB, free: 12.78 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.87086149211973]