Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001577/0.001577, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.324/1.324, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001582/0.001582, allocations: 99.47 kB / 223.2 MB, free: 4.117 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.1667/0.1667, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.218e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.5216, allocations: 75.72 MB / 481.4 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5219, allocations: 71.39 kB / 481.5 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.5332, allocations: 4.031 MB / 485.5 MB, free: 18.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5332, allocations: 3.875 kB / 485.5 MB, free: 18.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.5333, allocations: 0 / 485.5 MB, free: 18.03 MB / 330.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.0004004/0.5337, allocations: 427.6 kB / 486 MB, free: 17.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5337, allocations: 10.8 kB / 486 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.5338, allocations: 8.5 kB / 486 MB, free: 17.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.534, allocations: 199 kB / 486.2 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.534, allocations: 4.938 kB / 486.2 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.5341, allocations: 2.969 kB / 486.2 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/0.5342, allocations: 43.84 kB / 486.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5342, allocations: 1.438 kB / 486.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5342, allocations: 0 / 486.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5342, allocations: 4 kB / 486.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.5343, allocations: 21.09 kB / 486.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.5346, allocations: 295.3 kB / 486.5 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.5348, allocations: 45.14 kB / 486.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.5349, allocations: 11.41 kB / 486.6 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.5349, allocations: 1.438 kB / 486.6 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.535, allocations: 67.08 kB / 486.7 MB, free: 17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.535, allocations: 3.984 kB / 486.7 MB, free: 17 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003458/0.5354, allocations: 108.8 kB / 486.8 MB, free: 16.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5354, allocations: 54.66 kB / 486.8 MB, free: 16.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.5356, allocations: 188.3 kB / 487 MB, free: 16.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.5356, allocations: 25.7 kB / 487 MB, free: 16.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.5357, allocations: 106.1 kB / 487.1 MB, free: 16.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.5357, allocations: 15.69 kB / 487.1 MB, free: 16.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.5357, allocations: 0 / 487.1 MB, free: 16.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.5358, allocations: 324.9 kB / 487.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.5358, allocations: 23.92 kB / 487.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/0.5359, allocations: 22.27 kB / 487.5 MB, free: 16.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.5359, allocations: 59.97 kB / 487.6 MB, free: 16.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.536, allocations: 0 / 487.6 MB, free: 16.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001506/0.5361, allocations: 130 kB / 487.7 MB, free: 16.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.5361, allocations: 35.25 kB / 487.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5362, allocations: 4 kB / 487.7 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.5362, allocations: 0 / 487.7 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.423e-05/0.5362, allocations: 9.578 kB / 487.7 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5362, allocations: 0 / 487.7 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.5363, allocations: 3.844 kB / 487.7 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.5363, allocations: 7.859 kB / 487.8 MB, free: 16.2 MB / 330.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 () * 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 7.142e-05/0.5364, allocations: 106.3 kB / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.5364, allocations: 11.78 kB / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.5366, allocations: 95.34 kB / 488 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5367, allocations: 6.266 kB / 488 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5367, allocations: 0 / 488 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5367, allocations: 0 / 488 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.537, allocations: 359.5 kB / 488.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5371, allocations: 192 / 488.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.5371, allocations: 17.52 kB / 488.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5371, allocations: 96 / 488.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.5371, allocations: 7.375 kB / 488.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5371, allocations: 0 / 488.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5371, allocations: 7.875 kB / 488.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.5373, allocations: 172.5 kB / 488.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.5373, allocations: 93.55 kB / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.5374, allocations: 0 / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.5374, allocations: 1.641 kB / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.5375, allocations: 6.219 kB / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.5375, allocations: 3.969 kB / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.5376, allocations: 155.5 kB / 488.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5376, allocations: 0 / 488.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.5379, allocations: 40.53 kB / 488.8 MB, free: 15.4 MB / 330.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) * 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.0007681/0.5387, allocations: 332.2 kB / 489.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.5388, allocations: 109.9 kB / 489.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5389, allocations: 4 kB / 489.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.5389, allocations: 25.61 kB / 489.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.5391, allocations: 15.09 kB / 489.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.5394, allocations: 155.5 kB / 489.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.5396, allocations: 0.7047 MB / 490.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.743e-05/0.5396, allocations: 17.78 kB / 490.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.5397, allocations: 17.3 kB / 490.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5397, allocations: 4 kB / 490.2 MB, free: 14.31 MB / 330.7 MB Notification: Performance of Templates: time 0.003629/0.5433, allocations: 1.555 MB / 491.7 MB, free: 14.14 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)