Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007904/0.007904, 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.449/1.449, allocations: 170.8 MB / 186.6 MB, free: 1.035 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.001965/0.001965, allocations: 113.6 kB / 226.2 MB, free: 10.1 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.3374/0.3374, allocations: 38.06 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004109, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.123, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5445, allocations: 75.84 MB / 487.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5449, allocations: 70.72 kB / 487.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0147/0.5596, allocations: 3.934 MB / 491.4 MB, free: 8.613 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5597, allocations: 0 / 491.4 MB, free: 8.613 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.5597, allocations: 0 / 491.4 MB, free: 8.613 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.0005547/0.5603, allocations: 433.7 kB / 491.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5604, allocations: 8.031 kB / 491.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.5604, allocations: 13.41 kB / 491.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.5607, allocations: 200.3 kB / 492.1 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.5608, allocations: 4 kB / 492.1 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.5608, allocations: 4 kB / 492.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.561, allocations: 48.62 kB / 492.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.561, allocations: 0 / 492.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.561, allocations: 0 / 492.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.5611, allocations: 5.031 kB / 492.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.5611, allocations: 15.86 kB / 492.1 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.5616, allocations: 286.6 kB / 492.4 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.5619, allocations: 50.38 kB / 492.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.562, allocations: 0 / 492.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.5621, allocations: 63.23 kB / 492.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.5621, allocations: 0 / 492.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005511/0.5627, allocations: 122.3 kB / 492.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5627, allocations: 55.36 kB / 492.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.563, allocations: 163.4 kB / 492.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.563, allocations: 25.7 kB / 492.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.5631, allocations: 98.44 kB / 493 MB, free: 6.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.5631, allocations: 15.56 kB / 493 MB, free: 6.941 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.5631, allocations: 7.938 kB / 493 MB, free: 6.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.5632, allocations: 322.2 kB / 493.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.5633, allocations: 22.42 kB / 493.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.5634, allocations: 24.23 kB / 493.4 MB, free: 6.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.5635, allocations: 55.48 kB / 493.4 MB, free: 6.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.5635, allocations: 3.938 kB / 493.4 MB, free: 6.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002721/0.5638, allocations: 130.8 kB / 493.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.5638, allocations: 29.7 kB / 493.6 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5639, allocations: 4 kB / 493.6 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5639, allocations: 0.8125 kB / 493.6 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.564, allocations: 12 kB / 493.6 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.564, allocations: 0 / 493.6 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.5641, allocations: 13.62 kB / 493.6 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.5641, allocations: 3.938 kB / 493.6 MB, free: 6.344 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 0.0001031/0.5642, allocations: 120.9 kB / 493.7 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.5642, allocations: 7.906 kB / 493.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.5645, allocations: 104 kB / 493.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5645, allocations: 4 kB / 493.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.5645, allocations: 0 / 493.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5645, allocations: 0 / 493.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.5649, allocations: 361.9 kB / 494.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5649, allocations: 0 / 494.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.565, allocations: 4 kB / 494.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.565, allocations: 0 / 494.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.565, allocations: 7.984 kB / 494.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.565, allocations: 0 / 494.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.565, allocations: 3.953 kB / 494.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.5652, allocations: 177.5 kB / 494.4 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.5653, allocations: 92.44 kB / 494.5 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.5653, allocations: 0 / 494.5 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.5654, allocations: 4 kB / 494.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.5655, allocations: 3.953 kB / 494.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.5655, allocations: 4 kB / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.5656, allocations: 131.6 kB / 494.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5656, allocations: 4 kB / 494.6 MB, free: 5.312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.5661, allocations: 35.31 kB / 494.7 MB, free: 5.281 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.001112/0.5672, allocations: 365 kB / 495 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.5675, allocations: 111.5 kB / 495.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5675, allocations: 0 / 495.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.5676, allocations: 26.17 kB / 495.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.5679, allocations: 19.36 kB / 495.2 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.5684, allocations: 195.3 kB / 495.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.5686, allocations: 0.7043 MB / 496.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.825e-05/0.5687, allocations: 12.12 kB / 496.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.5687, allocations: 18.67 kB / 496.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5687, allocations: 0 / 496.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of Templates: time 0.005306/0.574, allocations: 1.506 MB / 497.6 MB, free: 2.414 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)