Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006066/0.006066, allocations: 165.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.401/1.401, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001715/0.001715, allocations: 118.5 kB / 226.2 MB, free: 8.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3269/0.3269, allocations: 38.03 MB / 303.7 MB, free: 25.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004037, allocations: 12 kB / 362.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3654, allocations: 48.68 MB / 411.6 MB, free: 38.04 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.4823, allocations: 75.83 MB / 487.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4826, allocations: 71.95 kB / 487.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.4938, allocations: 3.836 MB / 491.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4939, allocations: 0 / 491.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.4939, allocations: 4 kB / 491.3 MB, free: 15.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005377/0.4945, allocations: 426.4 kB / 491.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.4945, allocations: 8.031 kB / 491.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.4946, allocations: 7.906 kB / 491.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.4948, allocations: 203.8 kB / 491.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4949, allocations: 0 / 491.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.4949, allocations: 4 kB / 491.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.495, allocations: 45.67 kB / 492 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.495, allocations: 0 / 492 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4951, allocations: 0 / 492 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4951, allocations: 4 kB / 492 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.4951, allocations: 15.94 kB / 492 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.4955, allocations: 288.9 kB / 492.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.4958, allocations: 42.56 kB / 492.3 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.4958, allocations: 0 / 492.3 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.4959, allocations: 75.31 kB / 492.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.4959, allocations: 0 / 492.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004535/0.4964, allocations: 105.5 kB / 492.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.4965, allocations: 51.41 kB / 492.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.4966, allocations: 145 kB / 492.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4967, allocations: 33.64 kB / 492.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.4967, allocations: 92.05 kB / 492.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.4968, allocations: 15.89 kB / 492.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.4968, allocations: 0 / 492.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.497, allocations: 326.8 kB / 493.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.497, allocations: 23.98 kB / 493.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/0.4971, allocations: 23.98 kB / 493.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.4971, allocations: 49.64 kB / 493.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4971, allocations: 0 / 493.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002004/0.4974, allocations: 135.2 kB / 493.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.4974, allocations: 33.7 kB / 493.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4974, allocations: 0 / 493.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4974, allocations: 0 / 493.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.652e-05/0.4975, allocations: 15.98 kB / 493.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4975, allocations: 0 / 493.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.4975, allocations: 4 kB / 493.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4976, allocations: 4 kB / 493.4 MB, free: 12.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.4977, allocations: 122.8 kB / 493.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.4977, allocations: 3.906 kB / 493.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.4979, allocations: 94.03 kB / 493.7 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4979, allocations: 4 kB / 493.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4979, allocations: 8 kB / 493.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4979, allocations: 0 / 493.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.4983, allocations: 346.4 kB / 494 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4983, allocations: 0 / 494 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.4984, allocations: 15.92 kB / 494 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4984, allocations: 0 / 494 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.4984, allocations: 96 / 494 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4984, allocations: 3.938 kB / 494 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4984, allocations: 0 / 494 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.4986, allocations: 183.4 kB / 494.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.4987, allocations: 81.11 kB / 494.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4987, allocations: 4 kB / 494.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.4988, allocations: 4 kB / 494.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.4988, allocations: 3.984 kB / 494.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4988, allocations: 4 kB / 494.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.499, allocations: 117.2 kB / 494.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.499, allocations: 4 kB / 494.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.4992, allocations: 35.88 kB / 494.5 MB, free: 11.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009145/0.5002, allocations: 369.4 kB / 494.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.5003, allocations: 111.4 kB / 494.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5004, allocations: 0 / 494.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.5004, allocations: 19.94 kB / 494.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.5006, allocations: 19.98 kB / 495 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.5011, allocations: 176.1 kB / 495.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.5014, allocations: 0.6926 MB / 495.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.382e-05/0.5015, allocations: 20.12 kB / 495.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.5015, allocations: 15.44 kB / 495.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5015, allocations: 0 / 495.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Templates: time 0.004503/0.5061, allocations: 1.456 MB / 497.3 MB, free: 8.887 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)