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.001621/0.001621, allocations: 120 kB / 18.46 MB, free: 4.559 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.001783/0.001783, allocations: 208.9 kB / 21.42 MB, free: 1.605 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.449/1.449, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.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.2233/0.2233, allocations: 46.92 MB / 357.7 MB, free: 10.16 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_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 0.002255/0.002255, allocations: 83.88 kB / 0.4921 GB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1197, allocations: 66.05 MB / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.012/0.1317, allocations: 8.448 MB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.1447, allocations: 11.22 MB / 0.5758 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.1447, allocations: 0 / 0.5758 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1449, allocations: 47.73 kB / 0.5759 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.1498, allocations: 1.843 MB / 0.5777 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.773e-06/0.1498, allocations: 0 / 0.5777 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1499, allocations: 51.5 kB / 0.5777 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.15, allocations: 4 kB / 0.5777 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1501, allocations: 39.78 kB / 0.5777 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.1501, allocations: 15.94 kB / 0.5778 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.1501, allocations: 4 kB / 0.5778 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.1604, allocations: 6.717 MB / 0.5843 GB, free: 8.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.1604, allocations: 3.984 kB / 0.5843 GB, free: 8.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1605, allocations: 23.81 kB / 0.5844 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.1727, allocations: 5.096 MB / 0.5893 GB, free: 3.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1727, allocations: 4 kB / 0.5893 GB, free: 3.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1727, allocations: 0 / 0.5893 GB, free: 3.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1727, allocations: 0 / 0.5893 GB, free: 3.375 MB / 446.1 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.002892/0.1756, allocations: 0.5828 MB / 0.5899 GB, free: 2.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1756, allocations: 8.031 kB / 0.5899 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1757, allocations: 8 kB / 0.5899 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1759, allocations: 174.9 kB / 0.5901 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1759, allocations: 0 / 0.5901 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1759, allocations: 4 kB / 0.5901 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1761, allocations: 77.67 kB / 0.5902 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1761, allocations: 3.938 kB / 0.5902 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.1761, allocations: 0 / 0.5902 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1761, allocations: 4 kB / 0.5902 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1762, allocations: 71.97 kB / 0.5902 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.1767, allocations: 336.6 kB / 0.5906 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.1767, allocations: 34.56 kB / 0.5906 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.1768, allocations: 24.92 kB / 0.5906 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2258/0.4025, allocations: 1.847 MB / 0.5924 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4026, allocations: 31.62 kB / 0.5924 GB, free: 32.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.424e-06/0.4026, allocations: 1.344 kB / 0.5925 GB, free: 32.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003066/0.4029, allocations: 108.4 kB / 0.5926 GB, free: 32.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.4029, allocations: 56.59 kB / 0.5926 GB, free: 32.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.403, allocations: 94.39 kB / 0.5927 GB, free: 32.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.403, allocations: 28.89 kB / 0.5927 GB, free: 32.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.403, allocations: 92.12 kB / 0.5928 GB, free: 32.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.403, allocations: 32.39 kB / 0.5928 GB, free: 32.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.4031, allocations: 22.69 kB / 0.5929 GB, free: 32.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.4031, allocations: 318.8 kB / 0.5932 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.4031, allocations: 17.95 kB / 0.5932 GB, free: 32.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.4032, allocations: 39.03 kB / 0.5932 GB, free: 32.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.4033, allocations: 64.3 kB / 0.5933 GB, free: 32.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4033, allocations: 4.438 kB / 0.5933 GB, free: 32.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001431/0.4034, allocations: 94.8 kB / 0.5934 GB, free: 32.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4034, allocations: 11.42 kB / 0.5934 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4034, allocations: 5.469 kB / 0.5934 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4035, allocations: 0 / 0.5934 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.4035, allocations: 13.72 kB / 0.5934 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4035, allocations: 0.7969 kB / 0.5934 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.4035, allocations: 5.641 kB / 0.5934 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.4036, allocations: 2.75 kB / 0.5934 GB, free: 32.23 MB / 446.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: 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 4.956e-05/0.4036, allocations: 123.5 kB / 0.5935 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.4036, allocations: 4.078 kB / 0.5935 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.4039, allocations: 143.9 kB / 0.5937 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/0.404, allocations: 116.6 kB / 0.5938 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.404, allocations: 0.6875 kB / 0.5938 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.404, allocations: 0.75 kB / 0.5938 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.4044, allocations: 448.9 kB / 0.5942 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4044, allocations: 0.7969 kB / 0.5942 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.4044, allocations: 13.78 kB / 0.5942 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4044, allocations: 0 / 0.5942 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4044, allocations: 5.125 kB / 0.5942 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.4044, allocations: 13.34 kB / 0.5942 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4044, allocations: 0.75 kB / 0.5943 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.4046, allocations: 217.7 kB / 0.5945 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.4046, allocations: 82.45 kB / 0.5945 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.4046, allocations: 1.703 kB / 0.5945 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.4047, allocations: 7.906 kB / 0.5945 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.4047, allocations: 12.3 kB / 0.5946 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.4047, allocations: 4.594 kB / 0.5946 GB, free: 31.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.666e-05/0.4047, allocations: 76.03 kB / 0.5946 GB, free: 31.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4047, allocations: 1.531 kB / 0.5946 GB, free: 31.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002157/0.4069, allocations: 364.7 kB / 0.595 GB, free: 31.42 MB / 446.1 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.01278/0.4197, allocations: 4.087 MB / 0.599 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.42, allocations: 110 kB / 0.5991 GB, free: 29.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.42, allocations: 1.719 kB / 0.5991 GB, free: 29.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.4201, allocations: 43.67 kB / 0.5991 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.4205, allocations: 40.83 kB / 0.5992 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.421, allocations: 242.4 kB / 0.5994 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.4211, allocations: 0.6942 MB / 0.6001 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.4211, allocations: 15.94 kB / 0.6001 GB, free: 28.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4211, allocations: 0 / 0.6001 GB, free: 28.54 MB / 446.1 MB Notification: Performance of Templates: time 0.02593/0.4471, allocations: 19.5 MB / 0.6191 GB, free: 22.73 MB / 446.1 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/jenkins1/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/jenkins1/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: 9.172612449969165]