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.001621/0.001621, allocations: 118.8 kB / 19.17 MB, free: 3.871 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.002001/0.002001, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.3 MB / 255.2 MB, free: 15.39 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.2311/0.2311, allocations: 46.92 MB / 358.2 MB, free: 10.45 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="empty",numberOfIntervals=10000,variableFilter="",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="empty",numberOfIntervals=10000,variableFilter="",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.002595/0.002595, allocations: 86.27 kB / 0.4925 GB, free: 26.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1316, allocations: 66 MB / 0.557 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01207/0.1436, allocations: 8.763 MB / 0.5655 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.1597, allocations: 14.1 MB / 0.5793 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.1598, allocations: 0 / 0.5793 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.16, allocations: 55.7 kB / 0.5793 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006919/0.1669, allocations: 2.434 MB / 0.5817 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.167, allocations: 19.95 kB / 0.5817 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1673, allocations: 131.2 kB / 0.5819 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.1673, allocations: 0 / 0.5819 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1675, allocations: 71.7 kB / 0.5819 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.438e-05/0.1676, allocations: 39.84 kB / 0.582 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1676, allocations: 4 kB / 0.582 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/0.1807, allocations: 7.325 MB / 0.5891 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.1808, allocations: 15.97 kB / 0.5891 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1809, allocations: 43.8 kB / 0.5892 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.1971, allocations: 6.332 MB / 0.5954 GB, free: 1.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.1971, allocations: 0 / 0.5954 GB, free: 1.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1971, allocations: 4 kB / 0.5954 GB, free: 1.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.1971, allocations: 0 / 0.5954 GB, free: 1.074 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.005183/0.2023, allocations: 0.7342 MB / 0.5961 GB, free: 296 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.2023, allocations: 8.031 kB / 0.5961 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.2026, allocations: 31.88 kB / 0.5961 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.2027, allocations: 163.1 kB / 0.5963 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.2028, allocations: 7.938 kB / 0.5963 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.2028, allocations: 11.98 kB / 0.5963 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.2032, allocations: 129.5 kB / 0.5964 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2032, allocations: 3.938 kB / 0.5964 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2032, allocations: 8 kB / 0.5964 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.2032, allocations: 0 / 0.5964 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.2036, allocations: 111.9 kB / 0.5965 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.2044, allocations: 0.6092 MB / 0.5971 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.2049, allocations: 130.5 kB / 0.5973 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.205, allocations: 44.83 kB / 0.5973 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003136/0.2081, allocations: 1.987 MB / 0.5992 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003821/0.2085, allocations: 147.2 kB / 0.5994 GB, free: 12.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.2085, allocations: 0 / 0.5994 GB, free: 12.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008279/0.2094, allocations: 240.3 kB / 0.5996 GB, free: 12.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.2094, allocations: 51.41 kB / 0.5997 GB, free: 12.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.2095, allocations: 105.9 kB / 0.5998 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2095, allocations: 25.7 kB / 0.5998 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.2096, allocations: 99.86 kB / 0.5999 GB, free: 11.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.2097, allocations: 43.58 kB / 0.5999 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.2097, allocations: 41.7 kB / 0.6 GB, free: 11.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2099, allocations: 326.8 kB / 0.6003 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.21, allocations: 43.97 kB / 0.6003 GB, free: 11.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2102, allocations: 61.69 kB / 0.6004 GB, free: 11.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.2105, allocations: 105.6 kB / 0.6005 GB, free: 11.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2105, allocations: 0 / 0.6005 GB, free: 11.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004233/0.2109, allocations: 158.7 kB / 0.6006 GB, free: 11.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2109, allocations: 7.984 kB / 0.6006 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2109, allocations: 4 kB / 0.6006 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2109, allocations: 0 / 0.6006 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2111, allocations: 23.98 kB / 0.6007 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2111, allocations: 0 / 0.6007 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2112, allocations: 27.81 kB / 0.6007 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.2112, allocations: 12 kB / 0.6007 GB, free: 10.98 MB / 462.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 0.000111/0.2113, allocations: 117.8 kB / 0.6008 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.2114, allocations: 11.94 kB / 0.6008 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.212, allocations: 349.3 kB / 0.6012 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004751/0.2125, allocations: 304 kB / 0.6015 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2125, allocations: 0 / 0.6015 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2125, allocations: 0 / 0.6015 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2137, allocations: 0.7011 MB / 0.6021 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2137, allocations: 3.984 kB / 0.6021 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2138, allocations: 28.23 kB / 0.6022 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.2138, allocations: 4 kB / 0.6022 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2138, allocations: 4 kB / 0.6022 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2138, allocations: 0 / 0.6022 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2138, allocations: 4 kB / 0.6022 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.2146, allocations: 459.1 kB / 0.6026 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.2147, allocations: 97.02 kB / 0.6027 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.2147, allocations: 11.86 kB / 0.6027 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2149, allocations: 32.03 kB / 0.6028 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.215, allocations: 15.98 kB / 0.6028 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.215, allocations: 11.98 kB / 0.6028 GB, free: 8.754 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.216e-05/0.2151, allocations: 83.28 kB / 0.6029 GB, free: 8.672 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2151, allocations: 0 / 0.6029 GB, free: 8.672 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003502/0.2186, allocations: 454.7 kB / 0.6033 GB, free: 8.227 MB / 462.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.01771/0.2363, allocations: 4.889 MB / 0.6081 GB, free: 3.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.2369, allocations: 189.5 kB / 0.6082 GB, free: 3.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.2369, allocations: 0 / 0.6082 GB, free: 3.129 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.2372, allocations: 107.8 kB / 0.6084 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.2378, allocations: 74.31 kB / 0.6084 GB, free: 2.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.2388, allocations: 424 kB / 0.6088 GB, free: 2.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2392, allocations: 0.7172 MB / 0.6095 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.2393, allocations: 31.42 kB / 0.6096 GB, free: 1.734 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2393, allocations: 0 / 0.6096 GB, free: 1.734 MB / 462.1 MB Notification: Performance of Templates: time 0.3222/0.5615, allocations: 21.41 MB / 0.6305 GB, free: 43.59 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 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.70694559799449] Failed to read output from testmodel.py, exit status != 0: 0.5691382030054228 0.578230831 0.37894933099999994 Calling exit ...