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.007432/0.007432, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001951/0.001951, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.476/1.476, allocations: 230.5 MB / 258.9 MB, free: 7.988 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.2275/0.2275, allocations: 46.93 MB / 362.3 MB, free: 4.285 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.00235/0.00235, allocations: 75.88 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4109, allocations: 66.09 MB / 0.5627 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01367/0.4246, allocations: 8.798 MB / 0.5713 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01911/0.4437, allocations: 14.16 MB / 0.5851 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.4438, allocations: 0 / 0.5851 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.4443, allocations: 55.72 kB / 0.5852 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.4548, allocations: 2.45 MB / 0.5876 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.4549, allocations: 15.92 kB / 0.5876 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.4552, allocations: 131.2 kB / 0.5877 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.4553, allocations: 8 kB / 0.5877 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.4555, allocations: 67.7 kB / 0.5878 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.4556, allocations: 39.84 kB / 0.5878 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.4557, allocations: 0 / 0.5878 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/0.4708, allocations: 7.364 MB / 0.595 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.4708, allocations: 19.91 kB / 0.5951 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.4709, allocations: 39.8 kB / 0.5951 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01682/0.4878, allocations: 6.344 MB / 0.6013 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.4878, allocations: 4 kB / 0.6013 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4878, allocations: 0 / 0.6013 GB, free: 12.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.4878, allocations: 0 / 0.6013 GB, free: 12.64 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.004986/0.4928, allocations: 0.6636 MB / 0.6019 GB, free: 11.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4928, allocations: 16.02 kB / 0.602 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.4931, allocations: 23.94 kB / 0.602 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4932, allocations: 113.1 kB / 0.6021 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.4932, allocations: 8 kB / 0.6021 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4933, allocations: 8 kB / 0.6021 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.4936, allocations: 129.6 kB / 0.6022 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4937, allocations: 3.938 kB / 0.6022 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.4937, allocations: 4 kB / 0.6022 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4937, allocations: 3.938 kB / 0.6022 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.494, allocations: 111.9 kB / 0.6023 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.4949, allocations: 0.5888 MB / 0.6029 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.4954, allocations: 122.6 kB / 0.603 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.4956, allocations: 56.83 kB / 0.6031 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/0.4978, allocations: 0.636 MB / 0.6037 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.4982, allocations: 139.3 kB / 0.6038 GB, free: 9.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.4982, allocations: 4 kB / 0.6038 GB, free: 9.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008125/0.499, allocations: 233.5 kB / 0.6041 GB, free: 9.594 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4991, allocations: 55.39 kB / 0.6041 GB, free: 9.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.4992, allocations: 101.9 kB / 0.6042 GB, free: 9.418 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.4992, allocations: 29.64 kB / 0.6042 GB, free: 9.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.4993, allocations: 99.86 kB / 0.6043 GB, free: 9.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.4993, allocations: 55.56 kB / 0.6044 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.4994, allocations: 33.7 kB / 0.6044 GB, free: 9.188 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4995, allocations: 322.8 kB / 0.6047 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.4996, allocations: 47.95 kB / 0.6048 GB, free: 8.816 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.4998, allocations: 64.64 kB / 0.6048 GB, free: 8.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.5001, allocations: 109.6 kB / 0.6049 GB, free: 8.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5001, allocations: 256 / 0.6049 GB, free: 8.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004135/0.5005, allocations: 157.5 kB / 0.6051 GB, free: 8.477 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.5005, allocations: 7.984 kB / 0.6051 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5005, allocations: 4 kB / 0.6051 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5005, allocations: 4 kB / 0.6051 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.5007, allocations: 31.92 kB / 0.6051 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5007, allocations: 0 / 0.6051 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.5008, allocations: 19.88 kB / 0.6052 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.5008, allocations: 8 kB / 0.6052 GB, free: 8.402 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.0001121/0.5009, allocations: 121.3 kB / 0.6053 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.501, allocations: 11.94 kB / 0.6053 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.5016, allocations: 369.2 kB / 0.6057 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004635/0.5021, allocations: 301.6 kB / 0.6059 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5021, allocations: 0 / 0.6059 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5021, allocations: 0 / 0.6059 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.5032, allocations: 0.6806 MB / 0.6066 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5032, allocations: 0 / 0.6066 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.5033, allocations: 39.91 kB / 0.6066 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5033, allocations: 0 / 0.6066 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.5034, allocations: 8 kB / 0.6066 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5034, allocations: 4 kB / 0.6067 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5034, allocations: 3.938 kB / 0.6067 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.5041, allocations: 451.2 kB / 0.6071 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.5041, allocations: 15.88 kB / 0.6071 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.5042, allocations: 7.938 kB / 0.6071 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5044, allocations: 28.03 kB / 0.6071 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.5044, allocations: 23.95 kB / 0.6072 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.5045, allocations: 8 kB / 0.6072 GB, free: 6.273 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.5045, allocations: 79.28 kB / 0.6072 GB, free: 6.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5045, allocations: 0 / 0.6072 GB, free: 6.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002984/0.5075, allocations: 458.7 kB / 0.6077 GB, free: 5.746 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.01868/0.5262, allocations: 4.898 MB / 0.6125 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000679/0.5269, allocations: 197.4 kB / 0.6127 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5269, allocations: 0 / 0.6127 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.5271, allocations: 107.8 kB / 0.6128 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.5277, allocations: 75.91 kB / 0.6128 GB, free: 464 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.5287, allocations: 420.8 kB / 0.6132 GB, free: 12 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.5291, allocations: 0.7212 MB / 0.6139 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.5291, allocations: 23.44 kB / 0.614 GB, free: 15.24 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5291, allocations: 0 / 0.614 GB, free: 15.24 MB / 462.1 MB Notification: Performance of Templates: time 0.03365/0.5628, allocations: 21.42 MB / 0.6349 GB, free: 9.785 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 -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.566438687965274] Failed to read output from testmodel.py, exit status != 0: 0.5720715380739421 0.5864595420000001 0.09543122700000001 Calling exit ...