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.0009967/0.0009967, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001097/0.001097, allocations: 170 kB / 24.82 MB, free: 9.254 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.9502/0.9502, allocations: 177 MB / 205.1 MB, free: 5.48 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.2499/0.2499, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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 1.824e-06/1.824e-06, allocations: 0 / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.64e-05, allocations: 3.578 kB / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01202/0.01205, allocations: 8.482 MB / 387.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007987/0.02004, allocations: 10.88 MB / 398.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.02009, allocations: 4 kB / 398.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.02028, allocations: 31.81 kB / 398.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.02538, allocations: 1.892 MB / 400.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.809e-06/0.02539, allocations: 4 kB / 400.5 MB, free: 12.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.0255, allocations: 59.48 kB / 400.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.02554, allocations: 4 kB / 400.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.02567, allocations: 35.89 kB / 400.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.677e-05/0.0257, allocations: 11.94 kB / 400.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.02571, allocations: 4 kB / 400.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006827/0.03254, allocations: 6.595 MB / 407.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.03256, allocations: 4 kB / 407.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.0326, allocations: 19.94 kB / 407.2 MB, free: 5.727 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008715/0.04131, allocations: 5.333 MB / 412.6 MB, free: 396 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.04132, allocations: 0 / 412.6 MB, free: 396 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.04132, allocations: 0 / 412.6 MB, free: 396 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.04132, allocations: 0 / 412.6 MB, free: 396 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.002054/0.04338, allocations: 0.6031 MB / 413.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.04342, allocations: 12.03 kB / 413.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.04354, allocations: 31.81 kB / 413.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.421e-05/0.04361, allocations: 104.1 kB / 413.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.04363, allocations: 7.984 kB / 413.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.04363, allocations: 4 kB / 413.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.04371, allocations: 49.69 kB / 413.4 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.04372, allocations: 3.984 kB / 413.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.04373, allocations: 7.984 kB / 413.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.04373, allocations: 3.938 kB / 413.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.237e-05/0.04377, allocations: 27.92 kB / 413.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.04405, allocations: 288.3 kB / 413.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.0441, allocations: 39.05 kB / 413.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.04412, allocations: 15.69 kB / 413.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.04548, allocations: 0.8304 MB / 414.6 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.04551, allocations: 41.31 kB / 414.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.04551, allocations: 0 / 414.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.00018/0.04569, allocations: 93.58 kB / 414.7 MB, free: 14.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.04571, allocations: 55.41 kB / 414.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.04578, allocations: 157.9 kB / 414.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.04579, allocations: 25.7 kB / 415 MB, free: 13.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.04583, allocations: 134.8 kB / 415.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.04585, allocations: 31.73 kB / 415.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.04588, allocations: 31.36 kB / 415.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.04598, allocations: 496.1 kB / 415.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.046, allocations: 15.98 kB / 415.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.04603, allocations: 31.36 kB / 415.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.704e-05/0.04607, allocations: 55.3 kB / 415.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.04608, allocations: 0 / 415.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.04618, allocations: 85.45 kB / 415.8 MB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.0462, allocations: 12.03 kB / 415.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.04621, allocations: 0 / 415.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.04622, allocations: 0 / 415.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.04626, allocations: 15.98 kB / 415.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.04626, allocations: 0 / 415.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.04628, allocations: 4 kB / 415.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.04629, allocations: 0 / 415.8 MB, free: 12.89 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 6.132e-05/0.04635, allocations: 160.5 kB / 416 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.04639, allocations: 20.02 kB / 416 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.04653, allocations: 122 kB / 416.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-05/0.04659, allocations: 89.62 kB / 416.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.04659, allocations: 256 / 416.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.0466, allocations: 3.984 kB / 416.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.04688, allocations: 373.8 kB / 416.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.04688, allocations: 0 / 416.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.04691, allocations: 15.98 kB / 416.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.04692, allocations: 4 kB / 416.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.04692, allocations: 0 / 416.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.04692, allocations: 0 / 416.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.04692, allocations: 0 / 416.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.04706, allocations: 267.1 kB / 416.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.04707, allocations: 11.89 kB / 416.9 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-06/0.04708, allocations: 0 / 416.9 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.825e-05/0.04711, allocations: 0 / 416.9 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.04713, allocations: 11.98 kB / 416.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.04713, allocations: 4 kB / 416.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.848e-05/0.04716, allocations: 119.2 kB / 417 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04716, allocations: 0 / 417 MB, free: 11.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001525/0.04869, allocations: 366.9 kB / 417.4 MB, free: 11.28 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.009282/0.05797, allocations: 4.159 MB / 421.5 MB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.05817, allocations: 94.77 kB / 421.6 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.05817, allocations: 0 / 421.6 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.0582, allocations: 39.61 kB / 421.7 MB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.0585, allocations: 52 kB / 421.7 MB, free: 6.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.05909, allocations: 216.3 kB / 421.9 MB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.05913, allocations: 63.34 kB / 422 MB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.05917, allocations: 20.39 kB / 422 MB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.05926, allocations: 106.1 kB / 422.1 MB, free: 6.461 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.05927, allocations: 3.938 kB / 422.1 MB, free: 6.457 MB / 394.7 MB Notification: Performance of Templates: time 0.01888/0.07815, allocations: 20.44 MB / 442.6 MB, free: 1.996 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: 3.965293364133686]