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.001681/0.001681, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002082/0.002082, allocations: 213.6 kB / 24.49 MB, free: 3.934 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2584/0.2584, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.0021/0.0021, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3084, allocations: 66.02 MB / 0.5618 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01148/0.3199, allocations: 8.062 MB / 0.5697 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.3316, allocations: 9.893 MB / 0.5793 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.3316, allocations: 0 / 0.5793 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.3318, allocations: 35.83 kB / 0.5794 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004246/0.336, allocations: 1.858 MB / 0.5812 GB, free: 420 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.464e-06/0.336, allocations: 4 kB / 0.5812 GB, free: 416 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.3361, allocations: 39.69 kB / 0.5812 GB, free: 376 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.3362, allocations: 11.98 kB / 0.5812 GB, free: 364 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.3363, allocations: 31.84 kB / 0.5813 GB, free: 332 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.3363, allocations: 15.94 kB / 0.5813 GB, free: 316 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.3363, allocations: 4 kB / 0.5813 GB, free: 312 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.3467, allocations: 6.689 MB / 0.5878 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.3467, allocations: 3.984 kB / 0.5878 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.3468, allocations: 15.94 kB / 0.5878 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.3611, allocations: 5.096 MB / 0.5928 GB, free: 4.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3611, allocations: 0 / 0.5928 GB, free: 4.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3611, allocations: 0 / 0.5928 GB, free: 4.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.3611, allocations: 0 / 0.5928 GB, free: 4.48 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.002643/0.3638, allocations: 0.5075 MB / 0.5933 GB, free: 3.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3638, allocations: 12.03 kB / 0.5933 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.364, allocations: 7.984 kB / 0.5933 GB, free: 3.922 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3641, allocations: 109.2 kB / 0.5934 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3641, allocations: 0 / 0.5934 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.3641, allocations: 8 kB / 0.5934 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3643, allocations: 77.61 kB / 0.5935 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3643, allocations: 3.938 kB / 0.5935 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3643, allocations: 4 kB / 0.5935 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3643, allocations: 7.938 kB / 0.5935 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3644, allocations: 83.95 kB / 0.5936 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.3649, allocations: 268.3 kB / 0.5939 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.3649, allocations: 46.5 kB / 0.5939 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.365, allocations: 28.91 kB / 0.5939 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002949/0.3679, allocations: 0.8114 MB / 0.5947 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.368, allocations: 30.56 kB / 0.5948 GB, free: 2.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.368, allocations: 0 / 0.5948 GB, free: 2.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002772/0.3682, allocations: 109.7 kB / 0.5949 GB, free: 2.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3683, allocations: 51.41 kB / 0.5949 GB, free: 2.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.3684, allocations: 101.8 kB / 0.595 GB, free: 2.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3684, allocations: 25.7 kB / 0.595 GB, free: 2.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.3684, allocations: 88.09 kB / 0.5951 GB, free: 1.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3685, allocations: 31.73 kB / 0.5951 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.3685, allocations: 17.72 kB / 0.5952 GB, free: 1.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3686, allocations: 322.8 kB / 0.5955 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.3687, allocations: 19.98 kB / 0.5955 GB, free: 1.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.3687, allocations: 41.75 kB / 0.5955 GB, free: 1.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.365e-05/0.3688, allocations: 65.59 kB / 0.5956 GB, free: 1.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3688, allocations: 384 / 0.5956 GB, free: 1.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.369, allocations: 101.5 kB / 0.5957 GB, free: 1.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.369, allocations: 11.98 kB / 0.5957 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.369, allocations: 0 / 0.5957 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.369, allocations: 0 / 0.5957 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.3691, allocations: 12.22 kB / 0.5957 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3691, allocations: 3.938 kB / 0.5957 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.3691, allocations: 11.94 kB / 0.5957 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3691, allocations: 0 / 0.5957 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 9.011e-05/0.3692, allocations: 117.8 kB / 0.5958 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.3693, allocations: 7.953 kB / 0.5959 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.3695, allocations: 145.6 kB / 0.596 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3695, allocations: 0 / 0.596 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3695, allocations: 4 kB / 0.596 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.3696, allocations: 11.89 kB / 0.596 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3696, allocations: 0 / 0.596 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.3696, allocations: 8 kB / 0.596 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.3696, allocations: 7.922 kB / 0.596 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000229/0.3699, allocations: 204.9 kB / 0.5962 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002726/0.3701, allocations: 310.5 kB / 0.5965 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.605e-05/0.3702, allocations: 43.98 kB / 0.5966 GB, free: 440 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.426e-05/0.3703, allocations: 87.22 kB / 0.5966 GB, free: 352 kB / 430.1 MB Notification: Performance of Backend: time 3.2e-07/0.3703, allocations: 0 / 0.5966 GB, free: 352 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02011/0.3904, allocations: 5.376 MB / 0.6019 GB, free: 10.94 MB / 446.1 MB Notification: Performance of SimCode: time 0.0007009/0.3911, allocations: 0.6958 MB / 0.6026 GB, free: 10.19 MB / 446.1 MB Notification: Performance of Templates: time 0.02821/0.4193, allocations: 18.99 MB / 0.6211 GB, free: 7.172 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: 6.480545313002949]