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.001842/0.001842, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001828/0.001828, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.478/1.478, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2463/0.2463, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.00238/0.00238, allocations: 79.88 kB / 0.4921 GB, free: 7.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1191, allocations: 66.04 MB / 0.5566 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01334/0.1324, allocations: 8.766 MB / 0.5652 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.1493, allocations: 14.1 MB / 0.579 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.1493, allocations: 0 / 0.579 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.1495, allocations: 47.72 kB / 0.579 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.1557, allocations: 2.442 MB / 0.5814 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.1558, allocations: 15.97 kB / 0.5814 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.156, allocations: 127.3 kB / 0.5815 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.1561, allocations: 4 kB / 0.5815 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.1562, allocations: 75.64 kB / 0.5816 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.1563, allocations: 39.83 kB / 0.5816 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1563, allocations: 4 kB / 0.5816 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/0.1684, allocations: 7.329 MB / 0.5888 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.1685, allocations: 11.92 kB / 0.5888 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1686, allocations: 43.8 kB / 0.5889 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2556/0.4242, allocations: 6.329 MB / 0.595 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4242, allocations: 0 / 0.595 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4242, allocations: 0.5312 kB / 0.595 GB, free: 10.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.4242, allocations: 0.8125 kB / 0.595 GB, free: 10.48 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.005493/0.4297, allocations: 0.7349 MB / 0.5958 GB, free: 9.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4297, allocations: 8.969 kB / 0.5958 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.43, allocations: 23.3 kB / 0.5958 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.4301, allocations: 172.2 kB / 0.5959 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.4301, allocations: 3.516 kB / 0.5959 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.4301, allocations: 8.969 kB / 0.596 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.4305, allocations: 130.1 kB / 0.5961 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4305, allocations: 4.094 kB / 0.5961 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4305, allocations: 6.328 kB / 0.5961 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4305, allocations: 5.594 kB / 0.5961 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.4308, allocations: 111.6 kB / 0.5962 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.4315, allocations: 0.606 MB / 0.5968 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.432, allocations: 131.5 kB / 0.5969 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.4321, allocations: 50.23 kB / 0.597 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002437/0.4345, allocations: 1.982 MB / 0.5989 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.4349, allocations: 138.3 kB / 0.599 GB, free: 7.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.4349, allocations: 1.422 kB / 0.599 GB, free: 7.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007937/0.4357, allocations: 228.5 kB / 0.5993 GB, free: 7.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.4357, allocations: 57.45 kB / 0.5993 GB, free: 7.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.4357, allocations: 109 kB / 0.5994 GB, free: 7.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4358, allocations: 30.2 kB / 0.5994 GB, free: 7.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.4358, allocations: 93.33 kB / 0.5995 GB, free: 7.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4358, allocations: 50.58 kB / 0.5996 GB, free: 7.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.4359, allocations: 40.08 kB / 0.5996 GB, free: 6.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.4359, allocations: 322.8 kB / 0.5999 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4361, allocations: 45.44 kB / 0.6 GB, free: 6.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.4362, allocations: 68.73 kB / 0.6 GB, free: 6.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.4365, allocations: 109.2 kB / 0.6001 GB, free: 6.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4365, allocations: 1 kB / 0.6001 GB, free: 6.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003971/0.4369, allocations: 157.2 kB / 0.6003 GB, free: 6.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4369, allocations: 5.812 kB / 0.6003 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4369, allocations: 3.031 kB / 0.6003 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4369, allocations: 2.344 kB / 0.6003 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.437, allocations: 24.38 kB / 0.6003 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.437, allocations: 3.109 kB / 0.6003 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.4371, allocations: 24.09 kB / 0.6004 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.4372, allocations: 5.688 kB / 0.6004 GB, free: 6.594 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_check.phase,p,$PRE.p,state.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 7.771e-05/0.4373, allocations: 130.1 kB / 0.6005 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.4373, allocations: 7.656 kB / 0.6005 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/0.4379, allocations: 345.4 kB / 0.6008 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004479/0.4384, allocations: 296.1 kB / 0.6011 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4384, allocations: 4.812 kB / 0.6011 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4384, allocations: 3.047 kB / 0.6011 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4394, allocations: 0.7012 MB / 0.6018 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4394, allocations: 5.828 kB / 0.6018 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.4395, allocations: 34.41 kB / 0.6018 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4395, allocations: 1.312 kB / 0.6018 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.4395, allocations: 11.86 kB / 0.6018 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4396, allocations: 2.734 kB / 0.6018 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4396, allocations: 0.7812 kB / 0.6018 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.4403, allocations: 453.4 kB / 0.6023 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.4403, allocations: 94.95 kB / 0.6024 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.4403, allocations: 5.078 kB / 0.6024 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.4405, allocations: 33.62 kB / 0.6024 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.4406, allocations: 18.3 kB / 0.6024 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.4406, allocations: 10.47 kB / 0.6024 GB, free: 5.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.149e-05/0.4407, allocations: 84.23 kB / 0.6025 GB, free: 5.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4407, allocations: 0 / 0.6025 GB, free: 5.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004452/0.4451, allocations: 460.7 kB / 0.603 GB, free: 5.645 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,p,state_check.phase,dT) * 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.02002/0.4651, allocations: 4.885 MB / 0.6077 GB, free: 3.258 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.4658, allocations: 188.1 kB / 0.6079 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.4658, allocations: 2.641 kB / 0.6079 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.4661, allocations: 103.1 kB / 0.608 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.4667, allocations: 80.41 kB / 0.6081 GB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.4677, allocations: 392.4 kB / 0.6085 GB, free: 3.039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.4679, allocations: 0.719 MB / 0.6092 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4681, allocations: 53.05 kB / 0.6092 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.4681, allocations: 24.67 kB / 0.6092 GB, free: 2.324 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4681, allocations: 0.7812 kB / 0.6092 GB, free: 2.324 MB / 446.1 MB Notification: Performance of Templates: time 0.03036/0.4985, allocations: 20.99 MB / 0.6297 GB, free: 12.67 MB / 462.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.94844439253211]