Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 191.6 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.1 MB / 222 MB, free: 4.949 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4235/0.4235, allocations: 39.94 MB / 309.3 MB, free: 9.27 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 376.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1462, allocations: 56.89 MB / 433.8 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.004167/0.1504, allocations: 1.751 MB / 435.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1519, allocations: 0.7884 MB / 436.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.152, allocations: 0 / 436.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.1523, allocations: 31.89 kB / 436.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1525, allocations: 47.83 kB / 436.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.1527, allocations: 71.84 kB / 436.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1529, allocations: 95.69 kB / 436.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.153, allocations: 28.14 kB / 436.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.1531, allocations: 31.8 kB / 436.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.1532, allocations: 31.84 kB / 436.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1532, allocations: 4 kB / 436.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1533, allocations: 39.97 kB / 436.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.1534, allocations: 15.92 kB / 436.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.1534, allocations: 35.69 kB / 436.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1536, allocations: 111.9 kB / 436.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1536, allocations: 0 / 436.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1536, allocations: 4 kB / 436.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1536, allocations: 4 kB / 436.9 MB, free: 1.086 MB / 366.1 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.0004832/0.1541, allocations: 414.9 kB / 437.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1542, allocations: 8.031 kB / 437.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.1542, allocations: 8.844 kB / 437.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1544, allocations: 204.1 kB / 437.5 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1545, allocations: 8.359 kB / 437.5 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1545, allocations: 8.125 kB / 437.5 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1547, allocations: 65.61 kB / 437.6 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1547, allocations: 0 / 437.6 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1547, allocations: 0 / 437.6 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1547, allocations: 0 / 437.6 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.1548, allocations: 19.98 kB / 437.6 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.1552, allocations: 280.9 kB / 437.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1554, allocations: 66.56 kB / 438 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.1554, allocations: 20.84 kB / 438 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1554, allocations: 4 kB / 438 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1556, allocations: 67.3 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1556, allocations: 0 / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005407/0.1562, allocations: 165.3 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1562, allocations: 55.41 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1564, allocations: 190.1 kB / 438.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1565, allocations: 25.7 kB / 438.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1565, allocations: 100.1 kB / 438.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.1566, allocations: 27.69 kB / 438.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.1566, allocations: 25.72 kB / 438.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1568, allocations: 326.8 kB / 438.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.1569, allocations: 27.98 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.157, allocations: 37.64 kB / 439 MB, free: 14.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1571, allocations: 53.7 kB / 439.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1571, allocations: 0 / 439.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.1573, allocations: 101.5 kB / 439.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1573, allocations: 4 kB / 439.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1573, allocations: 3.984 kB / 439.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1573, allocations: 8.031 kB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.056e-05/0.1574, allocations: 15.98 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1574, allocations: 0 / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1575, allocations: 7.938 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1575, allocations: 192 / 439.2 MB, free: 14.55 MB / 382.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.1576, allocations: 137.6 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1576, allocations: 11.84 kB / 439.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.1577, allocations: 16.7 kB / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1577, allocations: 4 kB / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1577, allocations: 4.375 kB / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1577, allocations: 3.938 kB / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.1581, allocations: 391.2 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1582, allocations: 4 kB / 439.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.1582, allocations: 8 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1582, allocations: 4 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1582, allocations: 3.938 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1582, allocations: 7.969 kB / 439.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1582, allocations: 3.984 kB / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1585, allocations: 204.2 kB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1585, allocations: 85.02 kB / 440.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1586, allocations: 7.938 kB / 440.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.1586, allocations: 8 kB / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1587, allocations: 11.98 kB / 440.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1587, allocations: 4 kB / 440.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1588, allocations: 144 kB / 440.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1588, allocations: 0 / 440.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1591, allocations: 20 kB / 440.3 MB, free: 13.38 MB / 382.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.1601, allocations: 469.4 kB / 440.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1603, allocations: 59.89 kB / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1603, allocations: 4 kB / 440.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.1604, allocations: 27.98 kB / 440.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1608, allocations: 35.73 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.1612, allocations: 245.3 kB / 441.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1615, allocations: 0.7083 MB / 441.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.055e-05/0.1616, allocations: 8.891 kB / 441.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.1616, allocations: 19.42 kB / 441.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1616, allocations: 0 / 441.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Templates: time 0.005007/0.1666, allocations: 1.642 MB / 443.5 MB, free: 10.15 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)