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.001818/0.001818, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00211/0.00211, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.637/1.637, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2236/0.2236, allocations: 46.96 MB / 361.6 MB, free: 4.066 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.002689/0.002689, allocations: 71.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3236, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01224/0.3359, allocations: 8.063 MB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3484, allocations: 9.889 MB / 0.5793 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.3484, allocations: 4 kB / 0.5793 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.3486, allocations: 35.83 kB / 0.5794 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.3537, allocations: 1.85 MB / 0.5812 GB, free: 312 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.354e-06/0.3537, allocations: 0 / 0.5812 GB, free: 312 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.688e-05/0.3538, allocations: 43.69 kB / 0.5812 GB, free: 268 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.3538, allocations: 7.984 kB / 0.5812 GB, free: 260 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3539, allocations: 35.84 kB / 0.5813 GB, free: 224 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.354, allocations: 19.88 kB / 0.5813 GB, free: 204 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.354, allocations: 0 / 0.5813 GB, free: 204 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.365, allocations: 6.584 MB / 0.5877 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.365, allocations: 3.984 kB / 0.5877 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.3651, allocations: 15.94 kB / 0.5877 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.3804, allocations: 5.092 MB / 0.5927 GB, free: 4.484 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.3804, allocations: 4 kB / 0.5927 GB, free: 4.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3804, allocations: 0 / 0.5927 GB, free: 4.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3804, allocations: 4 kB / 0.5927 GB, free: 4.477 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.002931/0.3833, allocations: 0.5036 MB / 0.5932 GB, free: 3.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3834, allocations: 8.031 kB / 0.5932 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.3835, allocations: 7.984 kB / 0.5932 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3836, allocations: 113.1 kB / 0.5933 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3837, allocations: 8 kB / 0.5933 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3837, allocations: 0 / 0.5933 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3838, allocations: 85.64 kB / 0.5934 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3839, allocations: 3.938 kB / 0.5934 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3839, allocations: 7.938 kB / 0.5934 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3839, allocations: 4 kB / 0.5934 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.384, allocations: 79.95 kB / 0.5935 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.3845, allocations: 268.3 kB / 0.5938 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.567e-05/0.3846, allocations: 42.5 kB / 0.5938 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.3846, allocations: 20.92 kB / 0.5938 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002978/0.3876, allocations: 0.8114 MB / 0.5946 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3876, allocations: 34.55 kB / 0.5947 GB, free: 2.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.973e-06/0.3876, allocations: 0 / 0.5947 GB, free: 2.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003551/0.388, allocations: 113.7 kB / 0.5948 GB, free: 2.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.388, allocations: 55.41 kB / 0.5948 GB, free: 2.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3882, allocations: 97.84 kB / 0.5949 GB, free: 2.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3882, allocations: 25.7 kB / 0.5949 GB, free: 2.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.3883, allocations: 92.03 kB / 0.595 GB, free: 1.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.3883, allocations: 31.78 kB / 0.5951 GB, free: 1.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.3884, allocations: 29.72 kB / 0.5951 GB, free: 1.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3886, allocations: 314.8 kB / 0.5954 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.3886, allocations: 23.98 kB / 0.5954 GB, free: 1.555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.3887, allocations: 41.64 kB / 0.5954 GB, free: 1.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3888, allocations: 58.09 kB / 0.5955 GB, free: 1.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3888, allocations: 0 / 0.5955 GB, free: 1.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.389, allocations: 101.5 kB / 0.5956 GB, free: 1.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.389, allocations: 4 kB / 0.5956 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.389, allocations: 3.984 kB / 0.5956 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.389, allocations: 4.031 kB / 0.5956 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.3891, allocations: 8 kB / 0.5956 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3891, allocations: 8.125 kB / 0.5956 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.3891, allocations: 4 kB / 0.5956 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.3892, allocations: 4 kB / 0.5956 GB, free: 1.305 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 0.0001037/0.3893, allocations: 113.8 kB / 0.5957 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.3893, allocations: 7.953 kB / 0.5957 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3896, allocations: 145.7 kB / 0.5959 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000203/0.3898, allocations: 121.6 kB / 0.596 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3898, allocations: 4 kB / 0.596 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3898, allocations: 0 / 0.596 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.3903, allocations: 378 kB / 0.5964 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3903, allocations: 0 / 0.5964 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.3904, allocations: 19.98 kB / 0.5964 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3904, allocations: 0 / 0.5964 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.3904, allocations: 0 / 0.5964 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3904, allocations: 0 / 0.5964 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3904, allocations: 7.875 kB / 0.5964 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3906, allocations: 226.9 kB / 0.5966 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.3906, allocations: 19.83 kB / 0.5966 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3907, allocations: 0 / 0.5966 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.65e-05/0.3907, allocations: 4 kB / 0.5966 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.3907, allocations: 11.92 kB / 0.5966 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3907, allocations: 4 kB / 0.5966 GB, free: 200 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.3908, allocations: 79.27 kB / 0.5967 GB, free: 120 kB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3908, allocations: 0 / 0.5967 GB, free: 120 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002295/0.3931, allocations: 363 kB / 0.5971 GB, free: 15.76 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.01433/0.4074, allocations: 4.092 MB / 0.6011 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.4077, allocations: 105.7 kB / 0.6012 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4077, allocations: 0 / 0.6012 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.832e-05/0.4078, allocations: 51.92 kB / 0.6012 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.4082, allocations: 35.94 kB / 0.6013 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.4087, allocations: 251.8 kB / 0.6015 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/0.4088, allocations: 79.08 kB / 0.6016 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.4088, allocations: 19.42 kB / 0.6016 GB, free: 11.06 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4088, allocations: 0 / 0.6016 GB, free: 11.06 MB / 446.1 MB Notification: Performance of Templates: time 0.0269/0.4357, allocations: 19.52 MB / 0.6206 GB, free: 7.512 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/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: 9.498497883789241]