Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 198 kB / 16.54 MB, free: 6.672 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.804/1.804, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.3782/0.3782, allocations: 39.94 MB / 309.7 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.001487/0.001487, allocations: 75.89 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1501, allocations: 56.87 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003625/0.1537, allocations: 1.838 MB / 436.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1556, allocations: 0.8974 MB / 437.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1557, allocations: 3.938 kB / 437.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.1563, allocations: 259.4 kB / 437.5 MB, free: 0.6523 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.1567, allocations: 183.4 kB / 437.7 MB, free: 484 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1571, allocations: 143.6 kB / 437.8 MB, free: 340 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.1574, allocations: 243.3 kB / 438 MB, free: 96 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1575, allocations: 29.53 kB / 438.1 MB, free: 60 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.1577, allocations: 115.6 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1579, allocations: 179.5 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.158, allocations: 4 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1581, allocations: 51.97 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1582, allocations: 59.77 kB / 438.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1583, allocations: 95.28 kB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1587, allocations: 219.4 kB / 438.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1587, allocations: 0 / 438.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1587, allocations: 0 / 438.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1587, allocations: 3.938 kB / 438.8 MB, free: 15.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007494/0.1595, allocations: 0.5563 MB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1595, allocations: 11.89 kB / 439.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.1596, allocations: 32.56 kB / 439.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1599, allocations: 287.9 kB / 439.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1599, allocations: 12.36 kB / 439.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.16, allocations: 8.125 kB / 439.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1602, allocations: 91.36 kB / 439.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1602, allocations: 0 / 439.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1603, allocations: 8 kB / 439.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1603, allocations: 0 / 439.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1604, allocations: 39.91 kB / 439.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.161, allocations: 460.9 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.1613, allocations: 109.3 kB / 440.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.663e-05/0.1614, allocations: 49.69 kB / 440.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.1615, allocations: 0 / 440.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.1618, allocations: 117 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1618, allocations: 0 / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009279/0.1627, allocations: 376.3 kB / 440.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.1628, allocations: 85.05 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.1632, allocations: 477.7 kB / 441.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1633, allocations: 33.7 kB / 441.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1634, allocations: 156.4 kB / 441.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.1634, allocations: 51.34 kB / 441.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.1635, allocations: 41.64 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1636, allocations: 346.8 kB / 442.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.1637, allocations: 39.98 kB / 442.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1638, allocations: 74.67 kB / 442.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.164, allocations: 119.5 kB / 442.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.164, allocations: 4 kB / 442.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000314/0.1644, allocations: 185.2 kB / 442.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1644, allocations: 7.938 kB / 442.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1644, allocations: 0 / 442.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1644, allocations: 4 kB / 442.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1646, allocations: 27.98 kB / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1646, allocations: 7.938 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.1647, allocations: 19.95 kB / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1647, allocations: 4 kB / 442.6 MB, free: 11.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001623/0.1649, allocations: 173.7 kB / 442.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.1649, allocations: 27.62 kB / 442.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.165, allocations: 34.81 kB / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.165, allocations: 4 kB / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.165, allocations: 7.875 kB / 442.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.165, allocations: 3.984 kB / 442.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.1658, allocations: 0.6362 MB / 443.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1658, allocations: 0 / 443.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.1659, allocations: 16 kB / 443.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1659, allocations: 4 kB / 443.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1659, allocations: 3.984 kB / 443.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1659, allocations: 4 kB / 443.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.1659, allocations: 8 kB / 443.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.1663, allocations: 360.1 kB / 443.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1664, allocations: 104.7 kB / 443.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1665, allocations: 4 kB / 443.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1666, allocations: 15.98 kB / 444 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.1667, allocations: 11.98 kB / 444 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.1667, allocations: 8 kB / 444 MB, free: 9.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.167, allocations: 363.1 kB / 444.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.167, allocations: 0 / 444.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000335/0.1674, allocations: 40 kB / 444.4 MB, free: 9.367 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001133/0.1685, allocations: 483 kB / 444.8 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.1688, allocations: 119.8 kB / 445 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1688, allocations: 0 / 445 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.169, allocations: 60.17 kB / 445 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.1695, allocations: 73.06 kB / 445.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/0.1705, allocations: 0.5378 MB / 445.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1709, allocations: 0.7671 MB / 446.4 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.076e-05/0.171, allocations: 34.53 kB / 446.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.171, allocations: 27.44 kB / 446.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.171, allocations: 0 / 446.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of Templates: time 0.007214/0.1783, allocations: 2.746 MB / 449.2 MB, free: 4.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)