Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00156/0.00156, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 66.23 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004504/0.1464, allocations: 1.993 MB / 471.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1482, allocations: 0.9665 MB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1483, allocations: 7.938 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1486, allocations: 43.69 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.1489, allocations: 71.58 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.1492, allocations: 146.9 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1495, allocations: 203.4 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1496, allocations: 33.67 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1497, allocations: 75.64 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.1498, allocations: 75.61 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1499, allocations: 12 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.15, allocations: 51.98 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.15, allocations: 39.78 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.1501, allocations: 79.52 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1504, allocations: 187.7 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1504, allocations: 0 / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-05/0.1504, allocations: 0 / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.1504, allocations: 3.938 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008258/0.1512, allocations: 0.5488 MB / 473.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.1513, allocations: 12.03 kB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.1513, allocations: 20.66 kB / 473.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1516, allocations: 240.8 kB / 474 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1516, allocations: 12.38 kB / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1516, allocations: 16.11 kB / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.152, allocations: 148.2 kB / 474.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.152, allocations: 3.938 kB / 474.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1521, allocations: 4 kB / 474.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-06/0.1521, allocations: 4 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.1525, allocations: 107.9 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.153, allocations: 0.5554 MB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.1537, allocations: 158.5 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1539, allocations: 72.8 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1539, allocations: 4 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004026/0.1543, allocations: 131.2 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 3.065e-06/0.1544, allocations: 3.984 kB / 475.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008293/0.1552, allocations: 261.6 kB / 475.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.1552, allocations: 59.34 kB / 475.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.1554, allocations: 219.1 kB / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.1555, allocations: 37.69 kB / 475.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.1556, allocations: 124.3 kB / 475.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1556, allocations: 39.59 kB / 476 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1557, allocations: 29.72 kB / 476 MB, free: 7.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1558, allocations: 334.8 kB / 476.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.1561, allocations: 71.88 kB / 476.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.1564, allocations: 104.2 kB / 476.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.1569, allocations: 193.8 kB / 476.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1569, allocations: 4 kB / 476.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006255/0.1575, allocations: 245.9 kB / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.1576, allocations: 44.22 kB / 477 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1576, allocations: 3.984 kB / 477 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1576, allocations: 4 kB / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1578, allocations: 43.84 kB / 477 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-06/0.1578, allocations: 0 / 477 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.158, allocations: 35.75 kB / 477.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.158, allocations: 8 kB / 477.1 MB, free: 6.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001137/0.1581, allocations: 129.8 kB / 477.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1582, allocations: 19.8 kB / 477.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.1582, allocations: 21.41 kB / 477.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1582, allocations: 3.938 kB / 477.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1582, allocations: 0 / 477.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1582, allocations: 0 / 477.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1584, allocations: 245.3 kB / 477.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1584, allocations: 0 / 477.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1586, allocations: 27.97 kB / 477.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1586, allocations: 4 kB / 477.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1586, allocations: 0 / 477.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1586, allocations: 7.938 kB / 477.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1586, allocations: 4 kB / 477.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.1595, allocations: 304.7 kB / 477.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1595, allocations: 88.95 kB / 477.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1596, allocations: 11.98 kB / 477.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1597, allocations: 23.91 kB / 477.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1598, allocations: 19.92 kB / 478 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1599, allocations: 8 kB / 478 MB, free: 5.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.16, allocations: 160.7 kB / 478.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.16, allocations: 4.062 kB / 478.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1603, allocations: 40 kB / 478.2 MB, free: 5.023 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008718/0.1611, allocations: 408.5 kB / 478.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.1618, allocations: 219.3 kB / 478.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1618, allocations: 0 / 478.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.162, allocations: 79.88 kB / 478.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.1623, allocations: 52.09 kB / 478.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.163, allocations: 324 kB / 479.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1632, allocations: 0.7241 MB / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.1633, allocations: 17.55 kB / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.1634, allocations: 27.38 kB / 480 MB, free: 3.277 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1634, allocations: 7.938 kB / 480 MB, free: 3.27 MB / 350.1 MB Notification: Performance of Templates: time 0.005471/0.1688, allocations: 2.807 MB / 482.8 MB, free: 0.4922 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)