Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001809/0.001809, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00247/0.00247, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2192/0.2192, allocations: 46.93 MB / 361.6 MB, free: 4.246 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,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") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.91 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3094, allocations: 66.04 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01227/0.3217, allocations: 8.471 MB / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.3349, allocations: 11.27 MB / 0.5811 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.335, allocations: 0 / 0.5811 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.3352, allocations: 51.73 kB / 0.5812 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.3402, allocations: 1.87 MB / 0.583 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.23e-06/0.3402, allocations: 3.938 kB / 0.583 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.3403, allocations: 47.67 kB / 0.5831 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.3404, allocations: 3.938 kB / 0.5831 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3405, allocations: 31.91 kB / 0.5831 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.921e-05/0.3406, allocations: 23.86 kB / 0.5831 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-06/0.3406, allocations: 0 / 0.5831 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.3507, allocations: 6.752 MB / 0.5897 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.3507, allocations: 0 / 0.5897 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.3507, allocations: 35.78 kB / 0.5898 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.3624, allocations: 5.084 MB / 0.5947 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3624, allocations: 0 / 0.5947 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3624, allocations: 0 / 0.5947 GB, free: 2.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3624, allocations: 0 / 0.5947 GB, free: 2.672 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.002866/0.3652, allocations: 0.5152 MB / 0.5952 GB, free: 2.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3653, allocations: 15.97 kB / 0.5952 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3654, allocations: 11.98 kB / 0.5952 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3655, allocations: 109.2 kB / 0.5954 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3655, allocations: 4 kB / 0.5954 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.3655, allocations: 4 kB / 0.5954 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3657, allocations: 73.67 kB / 0.5954 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3657, allocations: 3.938 kB / 0.5954 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3657, allocations: 4 kB / 0.5954 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3657, allocations: 8 kB / 0.5954 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3658, allocations: 83.89 kB / 0.5955 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.3663, allocations: 291.8 kB / 0.5958 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.3664, allocations: 38.56 kB / 0.5958 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.3664, allocations: 24.92 kB / 0.5959 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002859/0.3693, allocations: 0.7998 MB / 0.5966 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3693, allocations: 42.64 kB / 0.5967 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3693, allocations: 3.938 kB / 0.5967 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003004/0.3696, allocations: 105.7 kB / 0.5968 GB, free: 424 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3697, allocations: 55.41 kB / 0.5968 GB, free: 356 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.3698, allocations: 101.8 kB / 0.5969 GB, free: 244 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3698, allocations: 29.92 kB / 0.597 GB, free: 208 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.3698, allocations: 84.09 kB / 0.597 GB, free: 120 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.3699, allocations: 35.72 kB / 0.5971 GB, free: 84 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.3699, allocations: 25.66 kB / 0.5971 GB, free: 52 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3701, allocations: 318.8 kB / 0.5974 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.3701, allocations: 23.98 kB / 0.5974 GB, free: 15.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.3702, allocations: 37.7 kB / 0.5975 GB, free: 15.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/0.3703, allocations: 57.72 kB / 0.5975 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3703, allocations: 3.938 kB / 0.5975 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000166/0.3704, allocations: 93.58 kB / 0.5976 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3705, allocations: 8 kB / 0.5976 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3705, allocations: 3.984 kB / 0.5976 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3705, allocations: 0 / 0.5976 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.3705, allocations: 12.03 kB / 0.5976 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3705, allocations: 0 / 0.5976 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.3706, allocations: 12.12 kB / 0.5977 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.3706, allocations: 4 kB / 0.5977 GB, free: 15.46 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 8.292e-05/0.3707, allocations: 109.8 kB / 0.5978 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.3707, allocations: 11.94 kB / 0.5978 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.371, allocations: 153.7 kB / 0.5979 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001608/0.3711, allocations: 125 kB / 0.598 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3712, allocations: 4 kB / 0.598 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3712, allocations: 0 / 0.598 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.3717, allocations: 405.4 kB / 0.5984 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3717, allocations: 0 / 0.5984 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.3717, allocations: 15.94 kB / 0.5984 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3717, allocations: 0 / 0.5984 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3717, allocations: 8.188 kB / 0.5985 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3717, allocations: 0 / 0.5985 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3717, allocations: 4 kB / 0.5985 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.372, allocations: 227.5 kB / 0.5987 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.372, allocations: 7.938 kB / 0.5987 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.372, allocations: 12.16 kB / 0.5987 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.274e-05/0.3721, allocations: 0 / 0.5987 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.3721, allocations: 7.984 kB / 0.5987 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3721, allocations: 7.938 kB / 0.5987 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.3721, allocations: 83.28 kB / 0.5988 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3721, allocations: 4 kB / 0.5988 GB, free: 14.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002009/0.3742, allocations: 362.9 kB / 0.5991 GB, free: 13.86 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.01332/0.3875, allocations: 4.08 MB / 0.6031 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.3878, allocations: 105.6 kB / 0.6032 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3878, allocations: 0 / 0.6032 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.3879, allocations: 47.98 kB / 0.6033 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.3883, allocations: 44.27 kB / 0.6033 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.3888, allocations: 251.3 kB / 0.6035 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3891, allocations: 0.6963 MB / 0.6042 GB, free: 8.562 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.3892, allocations: 19.44 kB / 0.6042 GB, free: 8.543 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3892, allocations: 0 / 0.6042 GB, free: 8.543 MB / 446.1 MB Notification: Performance of Templates: time 0.026/0.4152, allocations: 19.48 MB / 0.6233 GB, free: 5.031 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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: 8.84278158703819]