Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 210.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 46.92 MB / 360.8 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.89 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.329, allocations: 66.03 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01363/0.3426, allocations: 8.499 MB / 0.5694 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.3572, allocations: 11.26 MB / 0.5804 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.3572, allocations: 4 kB / 0.5804 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.3575, allocations: 39.8 kB / 0.5805 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005888/0.3634, allocations: 1.877 MB / 0.5823 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.195e-06/0.3634, allocations: 0 / 0.5823 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3635, allocations: 43.69 kB / 0.5823 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.3636, allocations: 11.92 kB / 0.5823 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3637, allocations: 23.91 kB / 0.5824 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.3638, allocations: 19.88 kB / 0.5824 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3638, allocations: 4 kB / 0.5824 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/0.3753, allocations: 6.748 MB / 0.589 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.3753, allocations: 15.98 kB / 0.589 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.3753, allocations: 15.88 kB / 0.589 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.3891, allocations: 5.092 MB / 0.594 GB, free: 2.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3892, allocations: 0 / 0.594 GB, free: 2.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3892, allocations: 0 / 0.594 GB, free: 2.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.3892, allocations: 0 / 0.594 GB, free: 2.652 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.002922/0.3921, allocations: 0.5113 MB / 0.5945 GB, free: 2.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3921, allocations: 12.03 kB / 0.5945 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.3923, allocations: 7.984 kB / 0.5945 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3924, allocations: 113.2 kB / 0.5946 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3924, allocations: 4 kB / 0.5946 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3924, allocations: 4 kB / 0.5946 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.3926, allocations: 81.61 kB / 0.5947 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3926, allocations: 3.938 kB / 0.5947 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3926, allocations: 4 kB / 0.5947 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3926, allocations: 3.938 kB / 0.5947 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3927, allocations: 79.95 kB / 0.5948 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.3932, allocations: 295.8 kB / 0.5951 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.3933, allocations: 42.67 kB / 0.5951 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.3934, allocations: 28.84 kB / 0.5951 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003166/0.3965, allocations: 0.8115 MB / 0.5959 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3965, allocations: 30.56 kB / 0.596 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3965, allocations: 0 / 0.596 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002995/0.3968, allocations: 109.6 kB / 0.5961 GB, free: 400 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3969, allocations: 51.41 kB / 0.5961 GB, free: 336 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.397, allocations: 101.8 kB / 0.5962 GB, free: 224 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.397, allocations: 25.7 kB / 0.5962 GB, free: 192 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.3971, allocations: 88.09 kB / 0.5963 GB, free: 100 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3971, allocations: 31.73 kB / 0.5963 GB, free: 68 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.3971, allocations: 21.72 kB / 0.5964 GB, free: 40 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.3974, allocations: 322.8 kB / 0.5967 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.3974, allocations: 20 kB / 0.5967 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.3975, allocations: 33.7 kB / 0.5967 GB, free: 15.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3976, allocations: 65.66 kB / 0.5968 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3976, allocations: 4.375 kB / 0.5968 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000243/0.3978, allocations: 105.5 kB / 0.5969 GB, free: 15.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3978, allocations: 4 kB / 0.5969 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3978, allocations: 0 / 0.5969 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3978, allocations: 0 / 0.5969 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.3979, allocations: 8 kB / 0.5969 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.3979, allocations: 7.984 kB / 0.5969 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.3979, allocations: 3.938 kB / 0.5969 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.398, allocations: 4 kB / 0.5969 GB, free: 15.45 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 0.0001157/0.3981, allocations: 117.8 kB / 0.597 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.3981, allocations: 11.94 kB / 0.597 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.3984, allocations: 145.7 kB / 0.5972 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001621/0.3986, allocations: 117.6 kB / 0.5973 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.3986, allocations: 0 / 0.5973 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3986, allocations: 3.938 kB / 0.5973 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.3991, allocations: 409.4 kB / 0.5977 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3991, allocations: 4.094 kB / 0.5977 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.3992, allocations: 16.19 kB / 0.5977 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3992, allocations: 0 / 0.5977 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3992, allocations: 19.92 kB / 0.5977 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3992, allocations: 0 / 0.5977 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3992, allocations: 0 / 0.5977 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3995, allocations: 227.4 kB / 0.5979 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.3995, allocations: 3.938 kB / 0.5979 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3995, allocations: 7.938 kB / 0.598 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.3996, allocations: 4 kB / 0.598 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.3996, allocations: 3.984 kB / 0.598 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3996, allocations: 8 kB / 0.598 GB, free: 14.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.407e-05/0.3996, allocations: 79.28 kB / 0.598 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3996, allocations: 0 / 0.598 GB, free: 14.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002315/0.4019, allocations: 366.9 kB / 0.5984 GB, free: 13.85 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.01542/0.4174, allocations: 4.093 MB / 0.6024 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.4177, allocations: 105.1 kB / 0.6025 GB, free: 9.633 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4177, allocations: 4 kB / 0.6025 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4178, allocations: 43.92 kB / 0.6025 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.4182, allocations: 38.97 kB / 0.6026 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.4188, allocations: 225.6 kB / 0.6028 GB, free: 9.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4191, allocations: 0.6924 MB / 0.6035 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.4192, allocations: 23.95 kB / 0.6035 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.4192, allocations: 19.44 kB / 0.6035 GB, free: 8.539 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4192, allocations: 0 / 0.6035 GB, free: 8.539 MB / 446.1 MB Notification: Performance of Templates: time 0.03033/0.4496, allocations: 18.34 MB / 0.6214 GB, free: 6.168 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 7.000126697123051]