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.001036/0.001036, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.002125/0.002125, allocations: 160 kB / 24.99 MB, free: 7.773 MB / 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.9791/0.9791, allocations: 177 MB / 205.2 MB, free: 5.598 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.2455/0.2455, allocations: 34.86 MB / 296.6 MB, free: 0.5586 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 2.164e-06/2.164e-06, allocations: 0 / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/3.689e-05, allocations: 2.875 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01344/0.01348, allocations: 8.529 MB / 387.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008463/0.02194, allocations: 11.06 MB / 398.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.02199, allocations: 0 / 398.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.0222, allocations: 31.83 kB / 398.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.02634, allocations: 1.896 MB / 400.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.591e-06/0.02635, allocations: 0 / 400.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.838e-05/0.02645, allocations: 51.61 kB / 400.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.02648, allocations: 0 / 400.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.02661, allocations: 39.89 kB / 400.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.923e-05/0.02664, allocations: 15.92 kB / 400.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.02665, allocations: 4 kB / 400.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00699/0.03364, allocations: 6.595 MB / 407 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.03366, allocations: 4 kB / 407 MB, free: 6.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.0337, allocations: 11.94 kB / 407 MB, free: 6.102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006931/0.04063, allocations: 5.341 MB / 412.3 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.04064, allocations: 0 / 412.3 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.04064, allocations: 0 / 412.3 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.04064, allocations: 0 / 412.3 MB, free: 0.7539 MB / 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.002146/0.04279, allocations: 0.607 MB / 412.9 MB, free: 112 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.04283, allocations: 12.03 kB / 412.9 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.04297, allocations: 23.89 kB / 413 MB, free: 76 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.04307, allocations: 112 kB / 413.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.04309, allocations: 0 / 413.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.0431, allocations: 8 kB / 413.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.04321, allocations: 49.69 kB / 413.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.04322, allocations: 3.938 kB / 413.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.04322, allocations: 4 kB / 413.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.04323, allocations: 3.938 kB / 413.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.04329, allocations: 31.98 kB / 413.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.04367, allocations: 307.7 kB / 413.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.659e-05/0.04372, allocations: 43 kB / 413.5 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.04376, allocations: 23.67 kB / 413.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/0.04531, allocations: 0.8617 MB / 414.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.04534, allocations: 37.39 kB / 414.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.04534, allocations: 0 / 414.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002359/0.04558, allocations: 101.7 kB / 414.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.04561, allocations: 55.41 kB / 414.6 MB, free: 14.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.04569, allocations: 161.9 kB / 414.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.0457, allocations: 25.7 kB / 414.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.04575, allocations: 134.8 kB / 414.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.04577, allocations: 31.73 kB / 414.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.04581, allocations: 23.38 kB / 414.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.04593, allocations: 0.4884 MB / 415.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.04595, allocations: 15.98 kB / 415.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.04599, allocations: 39.42 kB / 415.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.485e-05/0.04606, allocations: 59.38 kB / 415.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.04606, allocations: 4 kB / 415.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001203/0.04618, allocations: 101.4 kB / 415.6 MB, free: 13.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.04619, allocations: 8 kB / 415.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.0462, allocations: 0 / 415.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.04621, allocations: 0 / 415.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.04627, allocations: 11.94 kB / 415.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.04627, allocations: 0 / 415.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.04629, allocations: 4 kB / 415.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.0463, allocations: 3.938 kB / 415.7 MB, free: 13.16 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 7.443e-05/0.04638, allocations: 160.6 kB / 415.8 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.04641, allocations: 15.92 kB / 415.8 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.04659, allocations: 130 kB / 416 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.001e-05/0.04667, allocations: 101.6 kB / 416.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.04667, allocations: 0 / 416.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.04668, allocations: 0 / 416.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.04699, allocations: 401.2 kB / 416.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.04699, allocations: 0 / 416.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.04703, allocations: 16 kB / 416.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.04703, allocations: 3.938 kB / 416.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.04704, allocations: 8 kB / 416.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.04705, allocations: 0 / 416.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.04705, allocations: 0 / 416.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.04721, allocations: 259.8 kB / 416.7 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.04722, allocations: 15.88 kB / 416.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.04724, allocations: 0 / 416.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.04727, allocations: 4 kB / 416.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.04729, allocations: 7.984 kB / 416.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.04729, allocations: 4 kB / 416.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.211e-05/0.04733, allocations: 123.1 kB / 416.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04733, allocations: 0 / 416.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001545/0.04887, allocations: 370.9 kB / 417.3 MB, free: 11.48 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.009051/0.05792, allocations: 4.139 MB / 421.4 MB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.05813, allocations: 102 kB / 421.5 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.05813, allocations: 0 / 421.5 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.05818, allocations: 43.67 kB / 421.5 MB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.05847, allocations: 44 kB / 421.6 MB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.05916, allocations: 220.3 kB / 421.8 MB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/0.0592, allocations: 67.28 kB / 421.9 MB, free: 6.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.457e-05/0.05924, allocations: 16.34 kB / 421.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.05927, allocations: 24.48 kB / 421.9 MB, free: 6.762 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.05927, allocations: 0 / 421.9 MB, free: 6.762 MB / 394.7 MB Notification: Performance of Templates: time 0.01778/0.07705, allocations: 18.51 MB / 440.4 MB, free: 4.246 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.240968981990591]