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.001251/0.001251, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001526/0.001526, allocations: 209.5 kB / 25.13 MB, free: 3.586 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.427/1.427, allocations: 230.4 MB / 258.7 MB, free: 8.07 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.2263/0.2263, allocations: 46.93 MB / 362 MB, free: 4.246 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.002364/0.002364, allocations: 83.84 kB / 0.4978 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.349, allocations: 66.08 MB / 0.5623 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.0122/0.3612, allocations: 8.747 MB / 0.5709 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.377, allocations: 14.01 MB / 0.5846 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.3771, allocations: 0 / 0.5846 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3773, allocations: 47.78 kB / 0.5846 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006668/0.384, allocations: 2.45 MB / 0.587 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.723e-05/0.3841, allocations: 23.91 kB / 0.587 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3843, allocations: 127.2 kB / 0.5871 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.3843, allocations: 7.984 kB / 0.5871 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3845, allocations: 63.77 kB / 0.5872 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.3846, allocations: 43.8 kB / 0.5872 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3846, allocations: 4 kB / 0.5872 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.3979, allocations: 7.271 MB / 0.5943 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.398, allocations: 15.92 kB / 0.5944 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3981, allocations: 47.8 kB / 0.5944 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0188/0.4169, allocations: 6.332 MB / 0.6006 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4169, allocations: 0 / 0.6006 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4169, allocations: 0 / 0.6006 GB, free: 12.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4169, allocations: 0 / 0.6006 GB, free: 12.99 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.003812/0.4207, allocations: 0.6675 MB / 0.6012 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4208, allocations: 12.03 kB / 0.6013 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.421, allocations: 23.94 kB / 0.6013 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.4211, allocations: 117.1 kB / 0.6014 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.4211, allocations: 8 kB / 0.6014 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.4211, allocations: 4 kB / 0.6014 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.4215, allocations: 206.7 kB / 0.6016 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4216, allocations: 3.938 kB / 0.6016 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4216, allocations: 0 / 0.6016 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4216, allocations: 0 / 0.6016 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.4219, allocations: 119.9 kB / 0.6017 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007135/0.4226, allocations: 0.5888 MB / 0.6023 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.4231, allocations: 130.5 kB / 0.6024 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.4232, allocations: 52.83 kB / 0.6025 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002108/0.4253, allocations: 0.6399 MB / 0.6031 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/0.4257, allocations: 220.3 kB / 0.6033 GB, free: 9.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.4257, allocations: 0 / 0.6033 GB, free: 9.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007576/0.4264, allocations: 229.5 kB / 0.6035 GB, free: 9.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.4265, allocations: 55.41 kB / 0.6036 GB, free: 9.688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.4266, allocations: 109.8 kB / 0.6037 GB, free: 9.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.4266, allocations: 29.7 kB / 0.6037 GB, free: 9.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.4266, allocations: 99.8 kB / 0.6038 GB, free: 9.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.4267, allocations: 47.58 kB / 0.6038 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.4268, allocations: 29.72 kB / 0.6039 GB, free: 9.352 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4269, allocations: 326.8 kB / 0.6042 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.427, allocations: 43.97 kB / 0.6042 GB, free: 8.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.4272, allocations: 69.67 kB / 0.6043 GB, free: 8.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.4274, allocations: 108.4 kB / 0.6044 GB, free: 8.797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4274, allocations: 0 / 0.6044 GB, free: 8.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003792/0.4278, allocations: 157.5 kB / 0.6045 GB, free: 8.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4278, allocations: 8 kB / 0.6046 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4278, allocations: 0 / 0.6046 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4278, allocations: 4 kB / 0.6046 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4279, allocations: 23.97 kB / 0.6046 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4279, allocations: 7.875 kB / 0.6046 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.428, allocations: 23.88 kB / 0.6046 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.4281, allocations: 4 kB / 0.6046 GB, free: 8.566 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 9.662e-05/0.4282, allocations: 113.8 kB / 0.6047 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.4282, allocations: 15.95 kB / 0.6047 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006102/0.4288, allocations: 371.4 kB / 0.6051 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004469/0.4293, allocations: 293.6 kB / 0.6054 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4293, allocations: 0 / 0.6054 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4293, allocations: 11.98 kB / 0.6054 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.4304, allocations: 0.6845 MB / 0.6061 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4304, allocations: 0 / 0.6061 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.4305, allocations: 35.92 kB / 0.6061 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.4305, allocations: 4 kB / 0.6061 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.4305, allocations: 3.984 kB / 0.6061 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.4305, allocations: 4 kB / 0.6061 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4305, allocations: 0 / 0.6061 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.4312, allocations: 459.1 kB / 0.6065 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.4312, allocations: 20.12 kB / 0.6066 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.4313, allocations: 3.938 kB / 0.6066 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.4315, allocations: 31.97 kB / 0.6066 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.4315, allocations: 15.97 kB / 0.6066 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.4315, allocations: 11.98 kB / 0.6066 GB, free: 6.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.4316, allocations: 83.34 kB / 0.6067 GB, free: 6.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4316, allocations: 4 kB / 0.6067 GB, free: 6.344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003473/0.4351, allocations: 454.7 kB / 0.6071 GB, free: 5.898 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.0269/0.462, allocations: 4.894 MB / 0.6119 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007532/0.4627, allocations: 193.5 kB / 0.6121 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4627, allocations: 4 kB / 0.6121 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.463, allocations: 107.8 kB / 0.6122 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.4639, allocations: 78.44 kB / 0.6123 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.465, allocations: 387.2 kB / 0.6127 GB, free: 212 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.4655, allocations: 0.725 MB / 0.6134 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.4657, allocations: 48.86 kB / 0.6134 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.4658, allocations: 23.44 kB / 0.6134 GB, free: 15.38 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4658, allocations: 0 / 0.6134 GB, free: 15.38 MB / 462.1 MB Notification: Performance of Templates: time 0.04165/0.5074, allocations: 21.14 MB / 0.6341 GB, free: 10.22 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 -s gbode -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: 7.805269107921049] Failed to read output from testmodel.py, exit status != 0: 0.5163174180779606 0.5302180360000001 0.110243012 Calling exit ...