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.0009925/0.0009925, allocations: 88.28 kB / 21.43 MB, free: 3.129 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.004667/0.004667, allocations: 152.3 kB / 24.69 MB, free: 8.906 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.8795/0.8795, allocations: 177 MB / 204.9 MB, free: 5.77 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.2327/0.2327, allocations: 34.24 MB / 295.6 MB, free: 0.6758 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.643e-06/1.643e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.163e-05, allocations: 2.281 kB / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.157/0.157, allocations: 8.037 MB / 451.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.162, allocations: 9.879 MB / 461.3 MB, free: 34.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.162, allocations: 2.781 kB / 461.3 MB, free: 34.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1622, allocations: 29.67 kB / 461.4 MB, free: 34.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.1644, allocations: 1.883 MB / 463.2 MB, free: 33.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.1644, allocations: 0 / 463.2 MB, free: 33.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.1645, allocations: 54.12 kB / 463.3 MB, free: 33.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.1645, allocations: 7.156 kB / 463.3 MB, free: 33.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.1646, allocations: 34.36 kB / 463.3 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.297e-05/0.1646, allocations: 17.55 kB / 463.4 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.1646, allocations: 0 / 463.4 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004671/0.1693, allocations: 6.595 MB / 470 MB, free: 32.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.1693, allocations: 0 / 470 MB, free: 32.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.1694, allocations: 17.38 kB / 470 MB, free: 32.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005432/0.1748, allocations: 5.329 MB / 475.3 MB, free: 31.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1748, allocations: 10.94 kB / 475.3 MB, free: 31.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1748, allocations: 0 / 475.3 MB, free: 31.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1748, allocations: 0 / 475.3 MB, free: 31.93 MB / 410.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.001286/0.1761, allocations: 0.5038 MB / 475.8 MB, free: 31.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1761, allocations: 9.031 kB / 475.8 MB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.1762, allocations: 14.73 kB / 475.8 MB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.114e-05/0.1762, allocations: 103.8 kB / 475.9 MB, free: 31.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1763, allocations: 1.344 kB / 475.9 MB, free: 31.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.1763, allocations: 8.281 kB / 475.9 MB, free: 31.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1764, allocations: 77.03 kB / 476 MB, free: 31.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1764, allocations: 0 / 476 MB, free: 31.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1764, allocations: 10.19 kB / 476 MB, free: 31.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1764, allocations: 7.359 kB / 476 MB, free: 31.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.1765, allocations: 77.56 kB / 476.1 MB, free: 31.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.1768, allocations: 261.5 kB / 476.4 MB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.1768, allocations: 44.48 kB / 476.4 MB, free: 31.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.1768, allocations: 24.77 kB / 476.4 MB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.1782, allocations: 0.8132 MB / 477.3 MB, free: 30.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.1782, allocations: 37.19 kB / 477.3 MB, free: 30.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1782, allocations: 0 / 477.3 MB, free: 30.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002005/0.1784, allocations: 112.2 kB / 477.4 MB, free: 30.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.1785, allocations: 56.47 kB / 477.5 MB, free: 30.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.922e-05/0.1785, allocations: 101.4 kB / 477.6 MB, free: 30.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.1785, allocations: 26.77 kB / 477.6 MB, free: 30.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.1785, allocations: 89.53 kB / 477.7 MB, free: 30.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.1785, allocations: 26.78 kB / 477.7 MB, free: 30.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.1786, allocations: 23.3 kB / 477.7 MB, free: 30.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.518e-05/0.1786, allocations: 320.3 kB / 478 MB, free: 30.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.1786, allocations: 18.41 kB / 478 MB, free: 30.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.1787, allocations: 37.17 kB / 478.1 MB, free: 30.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.1787, allocations: 71.09 kB / 478.1 MB, free: 30 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1787, allocations: 0 / 478.1 MB, free: 30 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.132e-05/0.1788, allocations: 97.02 kB / 478.2 MB, free: 29.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1788, allocations: 5.969 kB / 478.2 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1788, allocations: 4.031 kB / 478.3 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1788, allocations: 1.094 kB / 478.3 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.1789, allocations: 15.62 kB / 478.3 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1789, allocations: 1.344 kB / 478.3 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1789, allocations: 12.92 kB / 478.3 MB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1789, allocations: 2.344 kB / 478.3 MB, free: 29.92 MB / 410.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 3.79e-05/0.179, allocations: 112.3 kB / 478.4 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.179, allocations: 7.438 kB / 478.4 MB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.1791, allocations: 162.7 kB / 478.6 MB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-05/0.1792, allocations: 120.5 kB / 478.7 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1792, allocations: 1.156 kB / 478.7 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1792, allocations: 3.422 kB / 478.7 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1795, allocations: 367.7 kB / 479 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1795, allocations: 0.9375 kB / 479 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.1795, allocations: 19.38 kB / 479.1 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1795, allocations: 1.156 kB / 479.1 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1795, allocations: 7.656 kB / 479.1 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1795, allocations: 1.281 kB / 479.1 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1795, allocations: 0 / 479.1 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1796, allocations: 224.8 kB / 479.3 MB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.1796, allocations: 18.33 kB / 479.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1797, allocations: 1 kB / 479.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/0.1797, allocations: 1.844 kB / 479.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.1797, allocations: 6.047 kB / 479.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1797, allocations: 6.219 kB / 479.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.3e-05/0.1797, allocations: 78.97 kB / 479.4 MB, free: 29.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1797, allocations: 0 / 479.4 MB, free: 29.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009136/0.1806, allocations: 367.1 kB / 479.8 MB, free: 28.98 MB / 410.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.008136/0.1888, allocations: 4.146 MB / 483.9 MB, free: 26.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1889, allocations: 102.3 kB / 484 MB, free: 26.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1889, allocations: 1.375 kB / 484 MB, free: 26.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.189, allocations: 43.64 kB / 484.1 MB, free: 26.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.1893, allocations: 46.83 kB / 484.1 MB, free: 26.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.1896, allocations: 216.1 kB / 484.3 MB, free: 26.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.1896, allocations: 83.09 kB / 484.4 MB, free: 26.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.1897, allocations: 16.41 kB / 484.4 MB, free: 26.47 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1897, allocations: 0 / 484.4 MB, free: 26.47 MB / 410.7 MB Notification: Performance of Templates: time 0.0217/0.2114, allocations: 19.6 MB / 0.4922 GB, free: 19.75 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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: 5.734711026772857]