Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002025/0.002025, allocations: 157 kB / 7.633 MB, free: 1.445 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.519/1.519, allocations: 170.7 MB / 178.7 MB, free: 6.977 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.00179/0.00179, allocations: 106.8 kB / 218 MB, free: 15.33 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.1923/0.1923, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.585e-05, allocations: 7.984 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2622, allocations: 48.69 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.3749, allocations: 76.81 MB / 475.5 MB, free: 6.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.3752, allocations: 75.95 kB / 475.6 MB, free: 6.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.3909, allocations: 3.977 MB / 479.6 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.391, allocations: 0 / 479.6 MB, free: 2.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.3911, allocations: 4 kB / 479.6 MB, free: 2.277 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001172/0.3922, allocations: 0.5389 MB / 480.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.3923, allocations: 8.031 kB / 480.1 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.3924, allocations: 23.81 kB / 480.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.3929, allocations: 227.5 kB / 480.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3929, allocations: 0.75 kB / 480.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.3929, allocations: 15.98 kB / 480.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001742/0.3931, allocations: 40 kB / 480.4 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.3933, allocations: 73.66 kB / 480.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3934, allocations: 0 / 480.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3934, allocations: 0 / 480.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3934, allocations: 4 kB / 480.5 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.3943, allocations: 405.1 kB / 480.9 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.3947, allocations: 86.61 kB / 481 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.3948, allocations: 36.86 kB / 481 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3949, allocations: 0 / 481 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.3951, allocations: 95.3 kB / 481.1 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.3952, allocations: 0 / 481.1 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003773/0.3955, allocations: 113.4 kB / 481.2 MB, free: 464 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3956, allocations: 57.25 kB / 481.3 MB, free: 396 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3959, allocations: 178.3 kB / 481.5 MB, free: 212 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.3959, allocations: 29.7 kB / 481.5 MB, free: 176 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.396, allocations: 112 kB / 481.6 MB, free: 60 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.3961, allocations: 31.7 kB / 481.6 MB, free: 28 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.3961, allocations: 0 / 481.6 MB, free: 28 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3963, allocations: 326.8 kB / 482 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3964, allocations: 36 kB / 482 MB, free: 15.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3965, allocations: 60.61 kB / 482.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3967, allocations: 46.73 kB / 482.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3967, allocations: 0 / 482.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003884/0.3971, allocations: 153.4 kB / 482.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.3971, allocations: 59.41 kB / 482.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3972, allocations: 0 / 482.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3972, allocations: 0 / 482.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.3974, allocations: 35.97 kB / 482.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3975, allocations: 8.016 kB / 482.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.3977, allocations: 35.81 kB / 482.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.3978, allocations: 8 kB / 482.4 MB, free: 15.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.0001164/0.3979, allocations: 120.8 kB / 482.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.398, allocations: 19.8 kB / 482.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.3983, allocations: 119.5 kB / 482.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3983, allocations: 8 kB / 482.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3983, allocations: 3.938 kB / 482.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3983, allocations: 0 / 482.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.3986, allocations: 198.2 kB / 482.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3986, allocations: 96 / 482.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.3989, allocations: 35.84 kB / 482.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3989, allocations: 4 kB / 482.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.3989, allocations: 3.984 kB / 482.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3989, allocations: 4 kB / 482.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3989, allocations: 0 / 482.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.3994, allocations: 184.8 kB / 483.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.3995, allocations: 100.9 kB / 483.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.3996, allocations: 4 kB / 483.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3998, allocations: 32.03 kB / 483.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.3999, allocations: 15.97 kB / 483.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3999, allocations: 4 kB / 483.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.4001, allocations: 145.2 kB / 483.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4001, allocations: 0 / 483.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.4006, allocations: 44.06 kB / 483.4 MB, free: 14.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008388/0.4014, allocations: 271.1 kB / 483.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.4018, allocations: 206.7 kB / 483.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4019, allocations: 0 / 483.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.402, allocations: 40 kB / 483.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.4024, allocations: 36.09 kB / 484 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.403, allocations: 199.1 kB / 484.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.4034, allocations: 0.7236 MB / 484.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.4035, allocations: 16.77 kB / 484.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.4036, allocations: 15.44 kB / 484.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4036, allocations: 0 / 484.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of Templates: time 0.007366/0.411, allocations: 2.252 MB / 487.2 MB, free: 10.34 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)