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.001304/0.001304, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001391/0.001391, allocations: 170.2 kB / 24.5 MB, free: 3.453 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.504/1.504, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.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.2123/0.2123, allocations: 34.26 MB / 295.5 MB, free: 14.57 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.002096/0.002096, allocations: 71.88 kB / 443.1 MB, free: 6.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3115, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.00905/0.3205, allocations: 8.072 MB / 0.5051 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008326/0.3288, allocations: 9.893 MB / 0.5148 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.3289, allocations: 0 / 0.5148 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.3291, allocations: 40.73 kB / 0.5148 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005251/0.3344, allocations: 1.843 MB / 0.5166 GB, free: 17.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.152e-06/0.3344, allocations: 3.938 kB / 0.5166 GB, free: 17.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.3345, allocations: 47.98 kB / 0.5166 GB, free: 17.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.3345, allocations: 6.062 kB / 0.5167 GB, free: 17.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.3347, allocations: 34.53 kB / 0.5167 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.3347, allocations: 14.47 kB / 0.5167 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3347, allocations: 1.094 kB / 0.5167 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.3462, allocations: 6.587 MB / 0.5231 GB, free: 17.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.3463, allocations: 5.984 kB / 0.5231 GB, free: 17.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.3463, allocations: 18.19 kB / 0.5232 GB, free: 17.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.3619, allocations: 5.093 MB / 0.5281 GB, free: 16.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3619, allocations: 1.562 kB / 0.5281 GB, free: 16.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3619, allocations: 0 / 0.5281 GB, free: 16.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3619, allocations: 4 kB / 0.5281 GB, free: 16.62 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.005903/0.3678, allocations: 0.5086 MB / 0.5286 GB, free: 16.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3678, allocations: 9.312 kB / 0.5286 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.368, allocations: 7.922 kB / 0.5286 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.368, allocations: 112.5 kB / 0.5288 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3681, allocations: 6.406 kB / 0.5288 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3681, allocations: 2.406 kB / 0.5288 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3682, allocations: 80.11 kB / 0.5288 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3682, allocations: 3.938 kB / 0.5288 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3682, allocations: 0 / 0.5288 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3682, allocations: 1.781 kB / 0.5288 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3683, allocations: 81.81 kB / 0.5289 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.3687, allocations: 265.9 kB / 0.5292 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.3688, allocations: 40.2 kB / 0.5292 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.3688, allocations: 25.66 kB / 0.5292 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00283/0.3716, allocations: 0.8141 MB / 0.53 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.3717, allocations: 32.33 kB / 0.5301 GB, free: 15.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3717, allocations: 1.25 kB / 0.5301 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002589/0.3719, allocations: 115.5 kB / 0.5302 GB, free: 15.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.3719, allocations: 52.81 kB / 0.5302 GB, free: 15.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.005e-05/0.372, allocations: 95.75 kB / 0.5303 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.372, allocations: 25.7 kB / 0.5303 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.372, allocations: 94.94 kB / 0.5304 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.372, allocations: 34.41 kB / 0.5305 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.3721, allocations: 25.86 kB / 0.5305 GB, free: 15.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.3721, allocations: 317.5 kB / 0.5308 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.3722, allocations: 21.42 kB / 0.5308 GB, free: 14.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.3722, allocations: 41.06 kB / 0.5309 GB, free: 14.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.701e-05/0.3723, allocations: 65.58 kB / 0.5309 GB, free: 14.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3723, allocations: 1.875 kB / 0.5309 GB, free: 14.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001458/0.3724, allocations: 93.78 kB / 0.531 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3725, allocations: 5.438 kB / 0.531 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3725, allocations: 5.297 kB / 0.531 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3725, allocations: 2.5 kB / 0.531 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.3725, allocations: 19.64 kB / 0.531 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3725, allocations: 2 kB / 0.531 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.3726, allocations: 1.688 kB / 0.531 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3726, allocations: 3.359 kB / 0.531 GB, free: 14.6 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 5.503e-05/0.3726, allocations: 116.4 kB / 0.5312 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3727, allocations: 11.64 kB / 0.5312 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.3729, allocations: 144.2 kB / 0.5313 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001307/0.3731, allocations: 122 kB / 0.5314 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3731, allocations: 0 / 0.5314 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3731, allocations: 4.75 kB / 0.5314 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.3734, allocations: 372.9 kB / 0.5318 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3734, allocations: 2.047 kB / 0.5318 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.3735, allocations: 13.42 kB / 0.5318 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3735, allocations: 1.438 kB / 0.5318 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3735, allocations: 1.188 kB / 0.5318 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3735, allocations: 6.188 kB / 0.5318 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3735, allocations: 3.938 kB / 0.5318 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3737, allocations: 226.1 kB / 0.532 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.3737, allocations: 11.69 kB / 0.532 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3737, allocations: 5.312 kB / 0.532 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.3738, allocations: 4.656 kB / 0.532 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.3738, allocations: 11.31 kB / 0.5321 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.3738, allocations: 3.031 kB / 0.5321 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.047e-05/0.3738, allocations: 82.12 kB / 0.5321 GB, free: 13.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3738, allocations: 1.375 kB / 0.5321 GB, free: 13.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004432/0.3782, allocations: 358.3 kB / 0.5325 GB, free: 13.66 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.01676/0.395, allocations: 4.093 MB / 0.5365 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.3953, allocations: 104.8 kB / 0.5366 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.3953, allocations: 3.938 kB / 0.5366 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.3954, allocations: 46.16 kB / 0.5366 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.3959, allocations: 38.3 kB / 0.5367 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.3963, allocations: 224.7 kB / 0.5369 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.732e-05/0.3964, allocations: 82.89 kB / 0.537 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.3964, allocations: 7.5 kB / 0.537 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.3964, allocations: 20.44 kB / 0.537 GB, free: 11.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3964, allocations: 4 kB / 0.537 GB, free: 11.12 MB / 446.1 MB Notification: Performance of Templates: time 0.0259/0.4223, allocations: 18.34 MB / 0.5549 GB, free: 10.33 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 -s ida -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/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_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: 6.545683435047977]