Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2368/0.2368, allocations: 46.92 MB / 361.6 MB, free: 4.238 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.86 kB / 0.4975 GB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3561, allocations: 66.08 MB / 0.562 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01373/0.3699, allocations: 8.79 MB / 0.5706 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.3877, allocations: 14.16 MB / 0.5844 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.3878, allocations: 0 / 0.5844 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3881, allocations: 47.78 kB / 0.5844 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00876/0.3968, allocations: 2.462 MB / 0.5868 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.397, allocations: 15.92 kB / 0.5869 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.3972, allocations: 127.2 kB / 0.587 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.3972, allocations: 4 kB / 0.587 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3975, allocations: 63.77 kB / 0.587 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3976, allocations: 51.77 kB / 0.5871 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3976, allocations: 0 / 0.5871 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/0.4113, allocations: 7.364 MB / 0.5943 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.4114, allocations: 7.984 kB / 0.5943 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.4115, allocations: 47.8 kB / 0.5943 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.4279, allocations: 6.34 MB / 0.6005 GB, free: 12.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.428, allocations: 0 / 0.6005 GB, free: 12.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.428, allocations: 0 / 0.6005 GB, free: 12.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.428, allocations: 0 / 0.6005 GB, free: 12.68 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004093/0.4321, allocations: 0.6714 MB / 0.6012 GB, free: 11.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4321, allocations: 12.03 kB / 0.6012 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.4324, allocations: 31.88 kB / 0.6012 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4325, allocations: 113.2 kB / 0.6013 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.4325, allocations: 8 kB / 0.6013 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.4325, allocations: 7.984 kB / 0.6014 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.4329, allocations: 125.1 kB / 0.6015 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.433, allocations: 3.938 kB / 0.6015 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.433, allocations: 8 kB / 0.6015 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.433, allocations: 7.984 kB / 0.6015 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.4334, allocations: 115.8 kB / 0.6016 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/0.4344, allocations: 0.5771 MB / 0.6022 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.4348, allocations: 138.5 kB / 0.6023 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.435, allocations: 52.83 kB / 0.6023 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002395/0.4374, allocations: 0.6321 MB / 0.603 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/0.4378, allocations: 143.3 kB / 0.6031 GB, free: 9.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.4378, allocations: 0 / 0.6031 GB, free: 9.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008178/0.4386, allocations: 229.4 kB / 0.6033 GB, free: 9.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.4387, allocations: 63.41 kB / 0.6034 GB, free: 9.559 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.4388, allocations: 105.8 kB / 0.6035 GB, free: 9.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4388, allocations: 25.7 kB / 0.6035 GB, free: 9.414 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.4389, allocations: 99.86 kB / 0.6036 GB, free: 9.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.4389, allocations: 43.58 kB / 0.6036 GB, free: 9.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.439, allocations: 37.7 kB / 0.6037 GB, free: 9.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4391, allocations: 322.8 kB / 0.604 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4392, allocations: 47.97 kB / 0.604 GB, free: 8.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.4394, allocations: 65.67 kB / 0.6041 GB, free: 8.785 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.4397, allocations: 112.4 kB / 0.6042 GB, free: 8.672 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4397, allocations: 0 / 0.6042 GB, free: 8.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004187/0.4401, allocations: 157.5 kB / 0.6044 GB, free: 8.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4401, allocations: 4 kB / 0.6044 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4401, allocations: 0 / 0.6044 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4401, allocations: 7.938 kB / 0.6044 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4402, allocations: 27.97 kB / 0.6044 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4403, allocations: 0 / 0.6044 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.4404, allocations: 19.88 kB / 0.6044 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.4404, allocations: 8 kB / 0.6044 GB, free: 8.445 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.0001104/0.4405, allocations: 121.5 kB / 0.6045 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.4405, allocations: 11.95 kB / 0.6045 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.4412, allocations: 367.6 kB / 0.6049 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004427/0.4416, allocations: 305 kB / 0.6052 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4416, allocations: 7.984 kB / 0.6052 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4416, allocations: 0 / 0.6052 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.4427, allocations: 0.6808 MB / 0.6059 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4427, allocations: 4 kB / 0.6059 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.4428, allocations: 39.92 kB / 0.6059 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4428, allocations: 0 / 0.6059 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.4429, allocations: 7.984 kB / 0.6059 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4429, allocations: 0 / 0.6059 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4429, allocations: 0 / 0.6059 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.4436, allocations: 463.2 kB / 0.6063 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.4436, allocations: 19.78 kB / 0.6064 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.4436, allocations: 3.938 kB / 0.6064 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4438, allocations: 27.97 kB / 0.6064 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.4439, allocations: 19.97 kB / 0.6064 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.4439, allocations: 11.92 kB / 0.6064 GB, free: 6.305 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.756e-05/0.444, allocations: 87.34 kB / 0.6065 GB, free: 6.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.444, allocations: 0 / 0.6065 GB, free: 6.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003213/0.4472, allocations: 458.7 kB / 0.6069 GB, free: 5.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01765/0.4648, allocations: 4.88 MB / 0.6117 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007033/0.4655, allocations: 201.4 kB / 0.6119 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4656, allocations: 0 / 0.6119 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.4658, allocations: 107.8 kB / 0.612 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.4664, allocations: 71.84 kB / 0.6121 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.4674, allocations: 401.6 kB / 0.6125 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4677, allocations: 0.7134 MB / 0.6132 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.4679, allocations: 48.86 kB / 0.6132 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.4679, allocations: 27.44 kB / 0.6132 GB, free: 15.26 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4679, allocations: 0 / 0.6132 GB, free: 15.26 MB / 462.1 MB Notification: Performance of Templates: time 0.03239/0.5003, allocations: 21.14 MB / 0.6339 GB, free: 10.1 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.933234330266714]