Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.367/1.367, allocations: 194.3 MB / 202.4 MB, free: 8.473 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001543/0.001544, allocations: 112.4 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1847/0.1847, allocations: 39.95 MB / 332.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.8e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09531, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.5561, allocations: 81.39 MB / 0.5172 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.5565, allocations: 71.81 kB / 0.5172 GB, free: 10.41 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.5741, allocations: 4.58 MB / 0.5217 GB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5741, allocations: 0 / 0.5217 GB, free: 9.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.5742, allocations: 3.875 kB / 0.5217 GB, free: 9.266 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005438/0.5747, allocations: 470.2 kB / 0.5222 GB, free: 8.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5748, allocations: 7.719 kB / 0.5222 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.5749, allocations: 7.75 kB / 0.5222 GB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.5752, allocations: 211.2 kB / 0.5224 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.5753, allocations: 7.797 kB / 0.5224 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.5753, allocations: 3.844 kB / 0.5224 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.5754, allocations: 23.2 kB / 0.5224 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5756, allocations: 48.22 kB / 0.5225 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5756, allocations: 7.938 kB / 0.5225 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5756, allocations: 4 kB / 0.5225 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5756, allocations: 0 / 0.5225 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.5761, allocations: 289.1 kB / 0.5228 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.5762, allocations: 59.16 kB / 0.5228 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.5763, allocations: 15.95 kB / 0.5228 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.5763, allocations: 4 kB / 0.5228 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.5765, allocations: 70.56 kB / 0.5229 GB, free: 8.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.5765, allocations: 0 / 0.5229 GB, free: 8.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006824/0.5772, allocations: 152 kB / 0.523 GB, free: 8.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.5772, allocations: 55.25 kB / 0.5231 GB, free: 8.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.5775, allocations: 170.7 kB / 0.5233 GB, free: 7.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5775, allocations: 30.3 kB / 0.5233 GB, free: 7.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.5776, allocations: 101.2 kB / 0.5234 GB, free: 7.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.5776, allocations: 26.31 kB / 0.5234 GB, free: 7.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.5776, allocations: 3.844 kB / 0.5234 GB, free: 7.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.5777, allocations: 326.2 kB / 0.5237 GB, free: 7.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.5778, allocations: 25.81 kB / 0.5237 GB, free: 7.449 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.176e-05/0.5779, allocations: 54.48 kB / 0.5238 GB, free: 7.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.747e-05/0.578, allocations: 29.89 kB / 0.5238 GB, free: 7.426 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.578, allocations: 3.938 kB / 0.5238 GB, free: 7.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003149/0.5784, allocations: 144.5 kB / 0.524 GB, free: 7.367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.5784, allocations: 33.56 kB / 0.524 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5784, allocations: 7.797 kB / 0.524 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5785, allocations: 192 / 0.524 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.5786, allocations: 19.67 kB / 0.524 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.5786, allocations: 11.88 kB / 0.524 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.5787, allocations: 3.75 kB / 0.524 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.5788, allocations: 7.656 kB / 0.5241 GB, free: 7.312 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.097e-05/0.5789, allocations: 112.8 kB / 0.5242 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.5789, allocations: 7.812 kB / 0.5242 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.5792, allocations: 115.7 kB / 0.5243 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5792, allocations: 3.953 kB / 0.5243 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5792, allocations: 0 / 0.5243 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5792, allocations: 0 / 0.5243 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.5797, allocations: 380.3 kB / 0.5246 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5797, allocations: 0 / 0.5246 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.5798, allocations: 19.47 kB / 0.5247 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5798, allocations: 3.953 kB / 0.5247 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.5798, allocations: 3.719 kB / 0.5247 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5798, allocations: 0 / 0.5247 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5798, allocations: 0 / 0.5247 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.5801, allocations: 208.9 kB / 0.5249 GB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.5802, allocations: 107.7 kB / 0.525 GB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.5802, allocations: 7.828 kB / 0.525 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5803, allocations: 0 / 0.525 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.5804, allocations: 11.64 kB / 0.525 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5804, allocations: 3.844 kB / 0.525 GB, free: 6.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.5806, allocations: 136.8 kB / 0.5251 GB, free: 6.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5806, allocations: 288 / 0.5251 GB, free: 6.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004548/0.581, allocations: 39.03 kB / 0.5252 GB, free: 6.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001071/0.5821, allocations: 369.3 kB / 0.5255 GB, free: 6.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.5824, allocations: 156.3 kB / 0.5257 GB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5824, allocations: 0 / 0.5257 GB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.98e-05/0.5825, allocations: 29.47 kB / 0.5257 GB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.5828, allocations: 14.92 kB / 0.5257 GB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.5832, allocations: 173.4 kB / 0.5259 GB, free: 6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.5834, allocations: 0.7112 MB / 0.5266 GB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.5835, allocations: 20.06 kB / 0.5266 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.5836, allocations: 17.53 kB / 0.5266 GB, free: 5.27 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5836, allocations: 0 / 0.5266 GB, free: 5.27 MB / 346.7 MB Notification: Performance of Templates: time 0.00516/0.5887, allocations: 1.681 MB / 0.5282 GB, free: 4.422 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)