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.001605/0.001605, allocations: 111.6 kB / 21.19 MB, free: 0.6641 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.00186/0.00186, allocations: 219.4 kB / 24.48 MB, free: 3.965 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.446/1.446, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.2269/0.2269, allocations: 46.95 MB / 361.6 MB, free: 3.918 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.002582/0.002582, allocations: 79.88 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2847, allocations: 66.09 MB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01244/0.2971, allocations: 8.05 MB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.31, allocations: 9.893 MB / 0.5794 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.3101, allocations: 0 / 0.5794 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.3103, allocations: 35.81 kB / 0.5795 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.3156, allocations: 1.855 MB / 0.5813 GB, free: 60 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.262e-06/0.3156, allocations: 0 / 0.5813 GB, free: 60 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3157, allocations: 47.67 kB / 0.5813 GB, free: 12 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3157, allocations: 4 kB / 0.5813 GB, free: 8 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3159, allocations: 31.92 kB / 0.5814 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.3159, allocations: 19.86 kB / 0.5814 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.3159, allocations: 4 kB / 0.5814 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.3266, allocations: 6.588 MB / 0.5878 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.3266, allocations: 7.984 kB / 0.5878 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.3267, allocations: 11.94 kB / 0.5878 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.3418, allocations: 5.096 MB / 0.5928 GB, free: 4.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3418, allocations: 0 / 0.5928 GB, free: 4.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3418, allocations: 0 / 0.5928 GB, free: 4.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3418, allocations: 0 / 0.5928 GB, free: 4.23 MB / 430.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.002617/0.3444, allocations: 0.5036 MB / 0.5933 GB, free: 3.695 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3445, allocations: 12.03 kB / 0.5933 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.3446, allocations: 12 kB / 0.5933 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3447, allocations: 117.1 kB / 0.5934 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3447, allocations: 0 / 0.5934 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3447, allocations: 4 kB / 0.5934 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3449, allocations: 81.66 kB / 0.5935 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3449, allocations: 7.938 kB / 0.5935 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3449, allocations: 0 / 0.5935 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3449, allocations: 0 / 0.5935 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.345, allocations: 79.97 kB / 0.5936 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.3455, allocations: 268.3 kB / 0.5939 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.3456, allocations: 50.5 kB / 0.5939 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.3456, allocations: 24.92 kB / 0.5939 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00289/0.3485, allocations: 0.8075 MB / 0.5947 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3485, allocations: 30.56 kB / 0.5948 GB, free: 2.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.3485, allocations: 4 kB / 0.5948 GB, free: 2.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003016/0.3488, allocations: 113.7 kB / 0.5949 GB, free: 2.008 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3489, allocations: 51.41 kB / 0.5949 GB, free: 1.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.349, allocations: 97.86 kB / 0.595 GB, free: 1.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.349, allocations: 29.7 kB / 0.595 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.349, allocations: 96 kB / 0.5951 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3491, allocations: 27.75 kB / 0.5952 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.3491, allocations: 25.81 kB / 0.5952 GB, free: 1.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3493, allocations: 322.7 kB / 0.5955 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.3493, allocations: 27.92 kB / 0.5955 GB, free: 1.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.196e-05/0.3494, allocations: 33.72 kB / 0.5955 GB, free: 1.258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/0.3495, allocations: 61.7 kB / 0.5956 GB, free: 1.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3495, allocations: 0 / 0.5956 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001666/0.3496, allocations: 93.95 kB / 0.5957 GB, free: 1.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3496, allocations: 8 kB / 0.5957 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3497, allocations: 0 / 0.5957 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3497, allocations: 0 / 0.5957 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.3497, allocations: 23.86 kB / 0.5957 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3497, allocations: 0 / 0.5957 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.3498, allocations: 4 kB / 0.5957 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3498, allocations: 8.031 kB / 0.5957 GB, free: 1.051 MB / 430.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 8.76e-05/0.3499, allocations: 113.8 kB / 0.5958 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.3499, allocations: 7.953 kB / 0.5958 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.3502, allocations: 141.7 kB / 0.596 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001513/0.3503, allocations: 113.6 kB / 0.5961 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3503, allocations: 4 kB / 0.5961 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3503, allocations: 0 / 0.5961 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.3508, allocations: 377.1 kB / 0.5965 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3508, allocations: 4 kB / 0.5965 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.3509, allocations: 15.94 kB / 0.5965 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3509, allocations: 0 / 0.5965 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3509, allocations: 8 kB / 0.5965 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3509, allocations: 3.984 kB / 0.5965 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.3509, allocations: 4.125 kB / 0.5965 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.3512, allocations: 227.5 kB / 0.5967 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.3512, allocations: 11.89 kB / 0.5967 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3512, allocations: 192 / 0.5967 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.3513, allocations: 4.188 kB / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.3513, allocations: 19.86 kB / 0.5967 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3513, allocations: 8 kB / 0.5967 GB, free: 15.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.19e-05/0.3514, allocations: 83.22 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3514, allocations: 0 / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001952/0.3533, allocations: 366.9 kB / 0.5972 GB, free: 15.5 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.01409/0.3674, allocations: 4.08 MB / 0.6012 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.3677, allocations: 105.6 kB / 0.6013 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.3677, allocations: 0 / 0.6013 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.3678, allocations: 48.05 kB / 0.6013 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.3682, allocations: 31.95 kB / 0.6013 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.3687, allocations: 251.3 kB / 0.6016 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.08e-05/0.3688, allocations: 87.08 kB / 0.6017 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.3688, allocations: 15.44 kB / 0.6017 GB, free: 10.81 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3688, allocations: 0 / 0.6017 GB, free: 10.81 MB / 446.1 MB Notification: Performance of Templates: time 0.02624/0.395, allocations: 19.51 MB / 0.6207 GB, free: 7.266 MB / 462.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.126268414780498]