Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001373/0.001373, allocations: 171.3 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.419/1.419, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001505/0.001505, allocations: 115.4 kB / 218 MB, free: 8.406 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.1666/0.1666, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.933e-05, allocations: 5.438 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.08934, allocations: 48.73 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4454, allocations: 75.1 MB / 473.8 MB, free: 17.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4457, allocations: 70.33 kB / 473.9 MB, free: 17.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01227/0.458, allocations: 4.033 MB / 477.9 MB, free: 17.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.458, allocations: 5.375 kB / 478 MB, free: 17.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4581, allocations: 1.375 kB / 478 MB, free: 17.48 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.0004461/0.4585, allocations: 412.5 kB / 478.4 MB, free: 17.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.4586, allocations: 9.5 kB / 478.4 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.4586, allocations: 7.906 kB / 478.4 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.4589, allocations: 213.5 kB / 478.6 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4589, allocations: 7.453 kB / 478.6 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.459, allocations: 7.641 kB / 478.6 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.262e-05/0.459, allocations: 15.84 kB / 478.6 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/0.4591, allocations: 46.47 kB / 478.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4592, allocations: 0 / 478.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4592, allocations: 1.031 kB / 478.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4592, allocations: 0 / 478.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.4596, allocations: 268.8 kB / 478.9 MB, free: 16.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.4598, allocations: 46.31 kB / 479 MB, free: 16.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.4599, allocations: 12.73 kB / 479 MB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4599, allocations: 1.469 kB / 479 MB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.46, allocations: 54.33 kB / 479 MB, free: 16.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.46, allocations: 0 / 479 MB, free: 16.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004232/0.4604, allocations: 111.4 kB / 479.1 MB, free: 16.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.4605, allocations: 52.53 kB / 479.2 MB, free: 16.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.4607, allocations: 161.2 kB / 479.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.4607, allocations: 32.17 kB / 479.4 MB, free: 16.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.4608, allocations: 106.6 kB / 479.5 MB, free: 16.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.4608, allocations: 6.125 kB / 479.5 MB, free: 16.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.4608, allocations: 1.312 kB / 479.5 MB, free: 16.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.4609, allocations: 325.5 kB / 479.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.4609, allocations: 18.75 kB / 479.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.461, allocations: 18.72 kB / 479.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/0.461, allocations: 26.12 kB / 479.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.461, allocations: 1.156 kB / 479.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001673/0.4612, allocations: 104.4 kB / 480 MB, free: 15.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.4613, allocations: 33.14 kB / 480 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4613, allocations: 0 / 480 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4613, allocations: 96 / 480 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.4613, allocations: 14.19 kB / 480 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.4614, allocations: 1.875 kB / 480 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.4614, allocations: 5.719 kB / 480 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4614, allocations: 3.594 kB / 480 MB, free: 15.74 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 6.217e-05/0.4615, allocations: 119 kB / 480.1 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.4615, allocations: 11.41 kB / 480.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.4617, allocations: 79.53 kB / 480.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4617, allocations: 1.5 kB / 480.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4617, allocations: 0 / 480.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4617, allocations: 4.875 kB / 480.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.462, allocations: 332.5 kB / 480.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.462, allocations: 0 / 480.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.4621, allocations: 11.91 kB / 480.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4621, allocations: 5.406 kB / 480.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4621, allocations: 5.25 kB / 480.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4621, allocations: 0 / 480.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.4621, allocations: 3.078 kB / 480.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.4622, allocations: 169.3 kB / 480.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.4623, allocations: 92.69 kB / 480.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.4623, allocations: 1.188 kB / 480.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.4624, allocations: 1.891 kB / 480.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.4624, allocations: 12.84 kB / 480.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4624, allocations: 7.438 kB / 480.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4626, allocations: 131.7 kB / 481 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4626, allocations: 0 / 481 MB, free: 14.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.4629, allocations: 40.91 kB / 481 MB, free: 14.97 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.0006294/0.4635, allocations: 292.3 kB / 481.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.4637, allocations: 108.8 kB / 481.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4637, allocations: 0 / 481.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.4637, allocations: 22.45 kB / 481.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.464, allocations: 22.58 kB / 481.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.4643, allocations: 136.5 kB / 481.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.465, allocations: 0.7061 MB / 482.3 MB, free: 29.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.424e-05/0.4651, allocations: 14.66 kB / 482.3 MB, free: 29.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.4651, allocations: 13.88 kB / 482.3 MB, free: 29.9 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4651, allocations: 0 / 482.3 MB, free: 29.9 MB / 346.7 MB Notification: Performance of Templates: time 0.004241/0.4693, allocations: 1.461 MB / 483.8 MB, free: 29.73 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)