Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001341/0.001341, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001393/0.001393, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9035/0.9035, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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.2578/0.2578, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 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_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.62e-07/7.62e-07, allocations: 0 / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.115e-05, allocations: 8.984 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.007754/0.007765, allocations: 8.522 MB / 387.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00748/0.01525, allocations: 11.07 MB / 398.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.01527, allocations: 0 / 398.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.01541, allocations: 35.81 kB / 398.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.01843, allocations: 1.896 MB / 400.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.945e-06/0.01843, allocations: 3.938 kB / 400.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.0185, allocations: 59.55 kB / 400.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.378e-05/0.01852, allocations: 0 / 400.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.969e-05/0.01861, allocations: 31.91 kB / 400.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.482e-05/0.01863, allocations: 19.92 kB / 400.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.01864, allocations: 0 / 400.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00571/0.02435, allocations: 6.603 MB / 407 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.02436, allocations: 4 kB / 407 MB, free: 5.742 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.02439, allocations: 11.94 kB / 407 MB, free: 5.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007055/0.03145, allocations: 5.333 MB / 412.3 MB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.03145, allocations: 0 / 412.3 MB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03145, allocations: 0 / 412.3 MB, free: 400 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.03146, allocations: 0 / 412.3 MB, free: 400 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001661/0.03312, allocations: 0.607 MB / 413 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.03315, allocations: 12.02 kB / 413 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.03327, allocations: 27.83 kB / 413 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.112e-05/0.03335, allocations: 116 kB / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.03336, allocations: 0 / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.03337, allocations: 4 kB / 413.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.495e-05/0.03346, allocations: 53.67 kB / 413.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.03347, allocations: 0 / 413.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.03348, allocations: 4 kB / 413.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.03349, allocations: 7.938 kB / 413.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.03353, allocations: 31.92 kB / 413.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.03384, allocations: 307.7 kB / 413.5 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.701e-05/0.03388, allocations: 39.06 kB / 413.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.03391, allocations: 27.67 kB / 413.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.03523, allocations: 0.8617 MB / 414.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.03525, allocations: 33.39 kB / 414.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.03525, allocations: 0 / 414.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001866/0.03544, allocations: 101.9 kB / 414.6 MB, free: 14.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.03546, allocations: 55.41 kB / 414.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.03553, allocations: 161.9 kB / 414.8 MB, free: 13.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.03554, allocations: 29.7 kB / 414.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.03558, allocations: 130.8 kB / 414.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.0356, allocations: 31.73 kB / 415 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.03563, allocations: 27.38 kB / 415 MB, free: 13.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.03573, allocations: 496.1 kB / 415.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.03575, allocations: 15.98 kB / 415.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.03578, allocations: 47.42 kB / 415.5 MB, free: 12.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.263e-05/0.03583, allocations: 59.31 kB / 415.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.03584, allocations: 0 / 415.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.386e-05/0.03593, allocations: 93.48 kB / 415.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.03594, allocations: 11.98 kB / 415.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.03595, allocations: 0 / 415.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.03596, allocations: 4 kB / 415.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.036, allocations: 12 kB / 415.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.03601, allocations: 0 / 415.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.03602, allocations: 0 / 415.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.03603, allocations: 4 kB / 415.7 MB, free: 12.79 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 5.587e-05/0.03609, allocations: 164.5 kB / 415.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.03611, allocations: 11.89 kB / 415.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.03625, allocations: 132.8 kB / 416 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.106e-05/0.03632, allocations: 97.7 kB / 416.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.03633, allocations: 0 / 416.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.03633, allocations: 0 / 416.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.03659, allocations: 401.4 kB / 416.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.0366, allocations: 0 / 416.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.03663, allocations: 16 kB / 416.5 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.03663, allocations: 3.984 kB / 416.5 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.03663, allocations: 4 kB / 416.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.03664, allocations: 0 / 416.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.03664, allocations: 4 kB / 416.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.03677, allocations: 267.8 kB / 416.8 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.03678, allocations: 7.891 kB / 416.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.03679, allocations: 7.984 kB / 416.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.87e-05/0.03682, allocations: 4 kB / 416.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.03684, allocations: 4 kB / 416.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.03684, allocations: 3.984 kB / 416.8 MB, free: 11.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.948e-05/0.03687, allocations: 123.2 kB / 416.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03687, allocations: 0 / 416.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009832/0.03785, allocations: 366.9 kB / 417.3 MB, free: 11.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.008015/0.04587, allocations: 4.147 MB / 421.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.04602, allocations: 94.77 kB / 421.5 MB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.04603, allocations: 0 / 421.5 MB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.04607, allocations: 43.61 kB / 421.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.04632, allocations: 48 kB / 421.6 MB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.04696, allocations: 220.3 kB / 421.8 MB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.819e-05/0.047, allocations: 63.34 kB / 421.9 MB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.04703, allocations: 20.05 kB / 421.9 MB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.04706, allocations: 24.42 kB / 422 MB, free: 6.391 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04706, allocations: 0 / 422 MB, free: 6.391 MB / 394.7 MB Notification: Performance of Templates: time 0.01766/0.06472, allocations: 21.15 MB / 443.1 MB, free: 1.234 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.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: 4.094572545029223]