Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001706/0.001706, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.381/1.381, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001631/0.001631, allocations: 103.5 kB / 218 MB, free: 8.34 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.1845/0.1845, allocations: 37.97 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.722e-05/2.724e-05, allocations: 5.125 kB / 350 MB, free: 36.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 48.72 MB / 398.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5018, allocations: 75.1 MB / 473.8 MB, free: 18.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.5021, allocations: 68.69 kB / 473.9 MB, free: 18.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0128/0.515, allocations: 4.291 MB / 478.2 MB, free: 33.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.515, allocations: 0 / 478.2 MB, free: 33.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.515, allocations: 1.188 kB / 478.2 MB, free: 33.48 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.0004399/0.5155, allocations: 427.9 kB / 478.6 MB, free: 33.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5155, allocations: 11.03 kB / 478.6 MB, free: 33.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.5156, allocations: 8.969 kB / 478.6 MB, free: 33.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.5159, allocations: 214.2 kB / 478.8 MB, free: 32.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5159, allocations: 3.938 kB / 478.8 MB, free: 32.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.5159, allocations: 7.781 kB / 478.9 MB, free: 32.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.368e-05/0.516, allocations: 17 kB / 478.9 MB, free: 32.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.351e-05/0.5161, allocations: 44.42 kB / 478.9 MB, free: 32.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5161, allocations: 0 / 478.9 MB, free: 32.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5161, allocations: 3.938 kB / 478.9 MB, free: 32.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5161, allocations: 0 / 478.9 MB, free: 32.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.5165, allocations: 285.6 kB / 479.2 MB, free: 32.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.5167, allocations: 45.42 kB / 479.2 MB, free: 32.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.5167, allocations: 17.06 kB / 479.3 MB, free: 32.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.5167, allocations: 0 / 479.3 MB, free: 32.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.5169, allocations: 56.95 kB / 479.3 MB, free: 32.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5169, allocations: 0 / 479.3 MB, free: 32.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003693/0.5172, allocations: 121.2 kB / 479.4 MB, free: 32.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.5173, allocations: 51.41 kB / 479.5 MB, free: 32.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.5175, allocations: 219.1 kB / 479.7 MB, free: 32.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.5175, allocations: 26.61 kB / 479.7 MB, free: 32.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.5176, allocations: 107.8 kB / 479.8 MB, free: 32.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.5176, allocations: 16.41 kB / 479.8 MB, free: 32.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.5176, allocations: 1.375 kB / 479.8 MB, free: 32.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.5177, allocations: 327.5 kB / 480.2 MB, free: 31.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.5177, allocations: 17.88 kB / 480.2 MB, free: 31.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.5178, allocations: 24.72 kB / 480.2 MB, free: 31.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.5178, allocations: 23.17 kB / 480.2 MB, free: 31.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5178, allocations: 2.875 kB / 480.2 MB, free: 31.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001641/0.518, allocations: 100.2 kB / 480.3 MB, free: 31.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.518, allocations: 32.67 kB / 480.4 MB, free: 31.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5181, allocations: 1.125 kB / 480.4 MB, free: 31.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5181, allocations: 0 / 480.4 MB, free: 31.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.5181, allocations: 14.12 kB / 480.4 MB, free: 31.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5181, allocations: 1.25 kB / 480.4 MB, free: 31.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.5182, allocations: 2.219 kB / 480.4 MB, free: 31.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.5182, allocations: 6.688 kB / 480.4 MB, free: 31.74 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 () * 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 6.199e-05/0.5183, allocations: 117.1 kB / 480.5 MB, free: 31.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.5183, allocations: 13.28 kB / 480.5 MB, free: 31.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.5185, allocations: 91.55 kB / 480.6 MB, free: 31.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5185, allocations: 1.281 kB / 480.6 MB, free: 31.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5185, allocations: 1.156 kB / 480.6 MB, free: 31.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5185, allocations: 5.672 kB / 480.6 MB, free: 31.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.5188, allocations: 349.8 kB / 481 MB, free: 31.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5188, allocations: 4 kB / 481 MB, free: 31.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.5189, allocations: 12.55 kB / 481 MB, free: 31.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5189, allocations: 0 / 481 MB, free: 31.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5189, allocations: 4.656 kB / 481 MB, free: 31.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5189, allocations: 1.031 kB / 481 MB, free: 31.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5189, allocations: 0 / 481 MB, free: 31.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.5191, allocations: 177.2 kB / 481.1 MB, free: 31.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.5191, allocations: 95.17 kB / 481.2 MB, free: 31.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.5192, allocations: 1.125 kB / 481.2 MB, free: 31.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.5192, allocations: 7.609 kB / 481.2 MB, free: 31.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.5193, allocations: 7.781 kB / 481.3 MB, free: 31.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.5193, allocations: 2.062 kB / 481.3 MB, free: 31.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.5194, allocations: 174.6 kB / 481.4 MB, free: 30.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5194, allocations: 0 / 481.4 MB, free: 30.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.5197, allocations: 36.44 kB / 481.5 MB, free: 30.97 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) * 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.0006465/0.5204, allocations: 301.8 kB / 481.8 MB, free: 30.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.5206, allocations: 107.5 kB / 481.9 MB, free: 30.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5206, allocations: 0 / 481.9 MB, free: 30.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.5206, allocations: 22 kB / 481.9 MB, free: 30.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.5209, allocations: 22.33 kB / 481.9 MB, free: 30.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.5213, allocations: 183.6 kB / 482.1 MB, free: 30.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.5216, allocations: 0.7224 MB / 482.8 MB, free: 29.9 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.669e-05/0.5216, allocations: 20.61 kB / 482.8 MB, free: 29.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.5217, allocations: 13.97 kB / 482.8 MB, free: 29.89 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5217, allocations: 0 / 482.8 MB, free: 29.89 MB / 346.7 MB Notification: Performance of Templates: time 0.005382/0.5271, allocations: 1.554 MB / 484.4 MB, free: 29.71 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)