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.001591/0.001591, allocations: 89.06 kB / 20.68 MB, free: 1.02 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.001836/0.001836, allocations: 158.7 kB / 23.95 MB, free: 4.152 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.487/1.487, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.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.2172/0.2172, allocations: 34.27 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] 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 1.593e-06/1.593e-06, allocations: 0 / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.898e-05, allocations: 6.219 kB / 442.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.2376/0.2376, allocations: 8.322 MB / 451 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.2501, allocations: 12.38 MB / 463.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.2502, allocations: 1.469 kB / 463.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.2504, allocations: 38.7 kB / 463.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007794/0.2582, allocations: 2.478 MB / 465.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.2583, allocations: 23.34 kB / 465.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.2585, allocations: 133.9 kB / 466 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.2586, allocations: 4.188 kB / 466 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2588, allocations: 88.22 kB / 466.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.2589, allocations: 38.11 kB / 466.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.2589, allocations: 4.5 kB / 466.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01682/0.2757, allocations: 7.136 MB / 473.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.2758, allocations: 14.72 kB / 473.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.276, allocations: 35.3 kB / 473.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02181/0.2978, allocations: 6.641 MB / 480 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.2978, allocations: 4 kB / 480 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2978, allocations: 0 / 480 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2978, allocations: 4 kB / 480 MB, free: 0.8164 MB / 366.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.007806/0.3056, allocations: 0.6636 MB / 480.6 MB, free: 120 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3056, allocations: 12.03 kB / 480.7 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.3059, allocations: 23.94 kB / 480.7 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.306, allocations: 123.5 kB / 480.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.306, allocations: 4 kB / 480.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.3061, allocations: 12 kB / 480.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.3065, allocations: 202.7 kB / 481 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3065, allocations: 4 kB / 481 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3066, allocations: 4 kB / 481 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3066, allocations: 0 / 481 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.307, allocations: 119.8 kB / 481.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.3076, allocations: 308.3 kB / 481.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.3081, allocations: 142.5 kB / 481.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3083, allocations: 52.77 kB / 481.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002323/0.3106, allocations: 0.6405 MB / 482.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.311, allocations: 216.6 kB / 482.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.425e-06/0.311, allocations: 0 / 482.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008521/0.3119, allocations: 237.4 kB / 482.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3119, allocations: 51.41 kB / 482.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.312, allocations: 111.7 kB / 482.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3121, allocations: 29.7 kB / 482.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.3121, allocations: 88.12 kB / 483 MB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.3122, allocations: 59.53 kB / 483 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.3123, allocations: 37.7 kB / 483.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3124, allocations: 314.8 kB / 483.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3126, allocations: 47.97 kB / 483.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.3127, allocations: 57.69 kB / 483.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.313, allocations: 120 kB / 483.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.313, allocations: 7.875 kB / 483.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004077/0.3134, allocations: 157.6 kB / 483.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3134, allocations: 4 kB / 483.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3135, allocations: 0 / 483.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3135, allocations: 4 kB / 483.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3136, allocations: 23.92 kB / 483.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3136, allocations: 0 / 483.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3137, allocations: 23.88 kB / 483.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3138, allocations: 8 kB / 483.8 MB, free: 12.74 MB / 382.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.0001283/0.3139, allocations: 125.8 kB / 484 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.314, allocations: 8 kB / 484 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.3147, allocations: 355.4 kB / 484.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004951/0.3152, allocations: 305.7 kB / 484.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3152, allocations: 0 / 484.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3152, allocations: 0 / 484.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.3163, allocations: 0.6383 MB / 485.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3163, allocations: 7.938 kB / 485.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3165, allocations: 35.91 kB / 485.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3165, allocations: 0 / 485.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3165, allocations: 4 kB / 485.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3165, allocations: 4 kB / 485.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3165, allocations: 0 / 485.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007712/0.3173, allocations: 451.2 kB / 485.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.3173, allocations: 23.88 kB / 485.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.3173, allocations: 11.98 kB / 485.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.3175, allocations: 19.98 kB / 485.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.3176, allocations: 23.89 kB / 485.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.3176, allocations: 12.88 kB / 485.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.3177, allocations: 91.14 kB / 485.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3177, allocations: 0 / 485.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005611/0.3233, allocations: 454.7 kB / 486.4 MB, free: 10.12 MB / 382.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.02171/0.345, allocations: 4.957 MB / 491.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007604/0.3458, allocations: 201.4 kB / 491.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3458, allocations: 4 kB / 491.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.346, allocations: 107.1 kB / 491.6 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.3467, allocations: 71.84 kB / 491.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009864/0.3477, allocations: 357.3 kB / 492 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.3478, allocations: 111.2 kB / 492.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.348, allocations: 48.95 kB / 492.2 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.348, allocations: 24.48 kB / 492.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.348, allocations: 4 kB / 492.2 MB, free: 4.207 MB / 382.1 MB Notification: Performance of Templates: time 0.03968/0.3877, allocations: 21.17 MB / 0.5014 GB, free: 15.07 MB / 414.1 MB " [Timeout remaining time 660] 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/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_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: 8.768231630325317]