Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01292/0.01292, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.372/1.372, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001626/0.001626, allocations: 117.9 kB / 226.2 MB, free: 10.09 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.3163/0.3163, allocations: 38.05 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 12 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 48.7 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.358/0.4707, allocations: 75.86 MB / 487.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.471, allocations: 70.09 kB / 487.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009841/0.4809, allocations: 4.019 MB / 491.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4809, allocations: 4 kB / 491.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4809, allocations: 4 kB / 491.5 MB, free: 8.492 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.0004147/0.4814, allocations: 430.2 kB / 492 MB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4814, allocations: 12.03 kB / 492 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.4815, allocations: 7.906 kB / 492 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.4817, allocations: 196.5 kB / 492.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4817, allocations: 0 / 492.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.4817, allocations: 4 kB / 492.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.4819, allocations: 53.55 kB / 492.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4819, allocations: 0 / 492.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.4819, allocations: 7.984 kB / 492.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.4819, allocations: 1.031 kB / 492.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.482, allocations: 15.73 kB / 492.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.4824, allocations: 285.8 kB / 492.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.4826, allocations: 56.48 kB / 492.6 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.4826, allocations: 0 / 492.6 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.4828, allocations: 53.62 kB / 492.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.4828, allocations: 0 / 492.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004057/0.4832, allocations: 123.5 kB / 492.8 MB, free: 7.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.4833, allocations: 59.36 kB / 492.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4834, allocations: 157.4 kB / 493 MB, free: 6.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.4834, allocations: 32.89 kB / 493 MB, free: 6.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.4835, allocations: 103.1 kB / 493.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4835, allocations: 15.31 kB / 493.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4835, allocations: 3.938 kB / 493.1 MB, free: 6.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.4836, allocations: 322.3 kB / 493.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.4836, allocations: 25.61 kB / 493.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.4837, allocations: 19.56 kB / 493.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.73e-05/0.4837, allocations: 56.34 kB / 493.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4837, allocations: 3.938 kB / 493.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001444/0.4839, allocations: 124.7 kB / 493.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.4839, allocations: 41.69 kB / 493.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4839, allocations: 0 / 493.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4839, allocations: 0 / 493.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.484, allocations: 11.94 kB / 493.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.484, allocations: 0 / 493.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.4841, allocations: 11.45 kB / 493.7 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4841, allocations: 4.062 kB / 493.7 MB, free: 6.227 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 () * 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 7.246e-05/0.4841, allocations: 121.9 kB / 493.8 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.4842, allocations: 11.91 kB / 493.9 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.4843, allocations: 95.69 kB / 494 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4844, allocations: 0 / 494 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4844, allocations: 4 kB / 494 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.4844, allocations: 3.984 kB / 494 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.4846, allocations: 353.6 kB / 494.3 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4846, allocations: 0 / 494.3 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.4847, allocations: 8 kB / 494.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4847, allocations: 0 / 494.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4847, allocations: 6.938 kB / 494.3 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.4847, allocations: 0 / 494.3 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4847, allocations: 7.953 kB / 494.3 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.4848, allocations: 172 kB / 494.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.4849, allocations: 92.27 kB / 494.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.4849, allocations: 0 / 494.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.485, allocations: 3.984 kB / 494.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.485, allocations: 11.95 kB / 494.6 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.485, allocations: 7.375 kB / 494.6 MB, free: 5.309 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.404e-05/0.4851, allocations: 124.8 kB / 494.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4851, allocations: 0 / 494.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.4854, allocations: 38.8 kB / 494.8 MB, free: 5.164 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) * 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.0007263/0.4861, allocations: 356.9 kB / 495.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.4863, allocations: 120.4 kB / 495.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4863, allocations: 0 / 495.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.4863, allocations: 15.81 kB / 495.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.4866, allocations: 19.55 kB / 495.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.4869, allocations: 203 kB / 495.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.4871, allocations: 0.7107 MB / 496.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.4871, allocations: 8 kB / 496.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.4871, allocations: 11.44 kB / 496.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4871, allocations: 0 / 496.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of Templates: time 0.003362/0.4905, allocations: 1.514 MB / 497.7 MB, free: 2.297 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)