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.001449/0.001449, allocations: 111 kB / 21.19 MB, free: 0.6758 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.001454/0.001454, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2224/0.2224, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.001988/0.001988, allocations: 60.09 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.316, allocations: 66.05 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01179/0.3278, allocations: 8.043 MB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3405, allocations: 9.9 MB / 0.5793 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.3405, allocations: 0 / 0.5793 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.3407, allocations: 35.84 kB / 0.5794 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004727/0.3455, allocations: 1.858 MB / 0.5812 GB, free: 264 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.559e-06/0.3455, allocations: 0 / 0.5812 GB, free: 264 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.3456, allocations: 43.69 kB / 0.5812 GB, free: 220 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.3456, allocations: 11.97 kB / 0.5812 GB, free: 208 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3458, allocations: 35.86 kB / 0.5813 GB, free: 172 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.3458, allocations: 15.88 kB / 0.5813 GB, free: 156 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3458, allocations: 0 / 0.5813 GB, free: 156 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009849/0.3557, allocations: 6.693 MB / 0.5878 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.3557, allocations: 0 / 0.5878 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.3557, allocations: 15.94 kB / 0.5878 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.3695, allocations: 5.1 MB / 0.5928 GB, free: 4.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3695, allocations: 0 / 0.5928 GB, free: 4.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3695, allocations: 0 / 0.5928 GB, free: 4.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3695, allocations: 0 / 0.5928 GB, free: 4.324 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.003079/0.3726, allocations: 0.5075 MB / 0.5933 GB, free: 3.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3726, allocations: 8.031 kB / 0.5933 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.3727, allocations: 11.98 kB / 0.5933 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3729, allocations: 113.1 kB / 0.5934 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3729, allocations: 4 kB / 0.5934 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3729, allocations: 0 / 0.5934 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3731, allocations: 81.67 kB / 0.5935 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3731, allocations: 3.938 kB / 0.5935 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3731, allocations: 0 / 0.5935 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3731, allocations: 0 / 0.5935 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3732, allocations: 83.95 kB / 0.5936 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.3736, allocations: 272.3 kB / 0.5939 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.3737, allocations: 42.5 kB / 0.5939 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.3738, allocations: 20.92 kB / 0.5939 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002905/0.3767, allocations: 0.8076 MB / 0.5947 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3767, allocations: 38.55 kB / 0.5947 GB, free: 2.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3767, allocations: 0 / 0.5947 GB, free: 2.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002795/0.377, allocations: 110 kB / 0.5948 GB, free: 2.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.377, allocations: 59.34 kB / 0.5949 GB, free: 2.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.3771, allocations: 101.8 kB / 0.595 GB, free: 1.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3771, allocations: 29.7 kB / 0.595 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.3772, allocations: 88.03 kB / 0.5951 GB, free: 1.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3772, allocations: 35.72 kB / 0.5951 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.3773, allocations: 21.83 kB / 0.5952 GB, free: 1.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3774, allocations: 322.7 kB / 0.5955 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.395e-05/0.3775, allocations: 27.92 kB / 0.5955 GB, free: 1.395 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.3775, allocations: 37.7 kB / 0.5955 GB, free: 1.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.249e-05/0.3776, allocations: 61.72 kB / 0.5956 GB, free: 1.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3776, allocations: 0 / 0.5956 GB, free: 1.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.3778, allocations: 93.58 kB / 0.5957 GB, free: 1.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3778, allocations: 4 kB / 0.5957 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3778, allocations: 3.984 kB / 0.5957 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3778, allocations: 4 kB / 0.5957 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.3779, allocations: 15.97 kB / 0.5957 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3779, allocations: 0 / 0.5957 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.3779, allocations: 0 / 0.5957 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.3779, allocations: 8 kB / 0.5957 GB, free: 1.152 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 8.802e-05/0.378, allocations: 113.8 kB / 0.5958 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.3781, allocations: 3.953 kB / 0.5958 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.3783, allocations: 153.7 kB / 0.596 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001464/0.3785, allocations: 117.6 kB / 0.5961 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3785, allocations: 0 / 0.5961 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3785, allocations: 0 / 0.5961 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.379, allocations: 374 kB / 0.5965 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.379, allocations: 4 kB / 0.5965 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.379, allocations: 19.92 kB / 0.5965 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.379, allocations: 0 / 0.5965 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.379, allocations: 0 / 0.5965 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.379, allocations: 192 / 0.5965 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.379, allocations: 7.938 kB / 0.5965 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3793, allocations: 219.4 kB / 0.5967 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.3793, allocations: 15.89 kB / 0.5967 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3793, allocations: 4.25 kB / 0.5967 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.3794, allocations: 7.938 kB / 0.5967 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.3794, allocations: 15.92 kB / 0.5967 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3794, allocations: 4 kB / 0.5967 GB, free: 44 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.708e-05/0.3795, allocations: 87.2 kB / 0.5968 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3795, allocations: 4 kB / 0.5968 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002431/0.3819, allocations: 355 kB / 0.5972 GB, free: 15.61 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.01429/0.3962, allocations: 4.081 MB / 0.6011 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.3965, allocations: 109.7 kB / 0.6013 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3965, allocations: 0 / 0.6013 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.3966, allocations: 47.98 kB / 0.6013 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.397, allocations: 40.16 kB / 0.6013 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.3975, allocations: 225.6 kB / 0.6016 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.183e-05/0.3976, allocations: 79.08 kB / 0.6016 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.3976, allocations: 15.92 kB / 0.6016 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.3977, allocations: 15.44 kB / 0.6017 GB, free: 10.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3977, allocations: 0 / 0.6017 GB, free: 10.93 MB / 446.1 MB Notification: Performance of Templates: time 0.03295/0.4306, allocations: 18.47 MB / 0.6197 GB, free: 8.465 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 -s cvode -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.383494833993609]