Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.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 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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.001371, 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.001854/0.001854, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.716/1.716, allocations: 205.1 MB / 222.4 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3685/0.3685, allocations: 37.98 MB / 307.7 MB, free: 9.98 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.1. 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.00179/0.00179, allocations: 83.88 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1483, allocations: 56.46 MB / 431.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00396/0.1523, allocations: 1.681 MB / 433.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1538, allocations: 0.8091 MB / 434.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.1539, allocations: 3.938 kB / 434.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1543, allocations: 35.83 kB / 434.2 MB, free: 4.055 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.0002491/0.1546, allocations: 59.69 kB / 434.3 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1549, allocations: 75.78 kB / 434.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.155, allocations: 99.69 kB / 434.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1552, allocations: 12.2 kB / 434.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/0.1552, allocations: 39.8 kB / 434.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.989e-05/0.1553, allocations: 31.84 kB / 434.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1554, allocations: 4 kB / 434.6 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.953e-05/0.1555, allocations: 43.98 kB / 434.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1556, allocations: 23.86 kB / 434.6 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.1556, allocations: 31.8 kB / 434.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1558, allocations: 111.9 kB / 434.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1559, allocations: 0 / 434.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1559, allocations: 0 / 434.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1559, allocations: 0 / 434.8 MB, free: 3.531 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.0005755/0.1565, allocations: 411 kB / 435.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1565, allocations: 15.89 kB / 435.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.1566, allocations: 16.75 kB / 435.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1568, allocations: 208 kB / 435.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1569, allocations: 4.375 kB / 435.4 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1569, allocations: 4.125 kB / 435.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1571, allocations: 53.67 kB / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1571, allocations: 4 kB / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1571, allocations: 0 / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1571, allocations: 0 / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.1572, allocations: 19.98 kB / 435.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.1577, allocations: 292.8 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1579, allocations: 58.61 kB / 435.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.87e-05/0.158, allocations: 16.86 kB / 435.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1581, allocations: 0 / 435.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.1583, allocations: 75.38 kB / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1583, allocations: 0 / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006471/0.159, allocations: 173.2 kB / 436.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.1591, allocations: 51.41 kB / 436.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1592, allocations: 178.2 kB / 436.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1593, allocations: 33.7 kB / 436.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.1594, allocations: 104.1 kB / 436.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.1594, allocations: 27.66 kB / 436.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.1595, allocations: 29.64 kB / 436.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1597, allocations: 330.8 kB / 436.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.1597, allocations: 16 kB / 436.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.1598, allocations: 37.7 kB / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1599, allocations: 57.7 kB / 436.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1599, allocations: 4 kB / 436.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002093/0.1601, allocations: 105.4 kB / 437 MB, free: 1.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1602, allocations: 8 kB / 437 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1602, allocations: 0 / 437 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1602, allocations: 0 / 437 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1603, allocations: 12.38 kB / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.1603, allocations: 8.094 kB / 437.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.1604, allocations: 11.92 kB / 437.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1604, allocations: 8 kB / 437.1 MB, free: 0.9688 MB / 366.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.0002201/0.1606, allocations: 125.9 kB / 437.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1607, allocations: 11.91 kB / 437.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1607, allocations: 24.69 kB / 437.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1608, allocations: 0 / 437.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1608, allocations: 0 / 437.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1608, allocations: 3.938 kB / 437.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.1613, allocations: 383.3 kB / 437.6 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1613, allocations: 4.031 kB / 437.6 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.1614, allocations: 8 kB / 437.6 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1614, allocations: 3.984 kB / 437.6 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1614, allocations: 8.125 kB / 437.6 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1614, allocations: 4 kB / 437.7 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1614, allocations: 3.938 kB / 437.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1617, allocations: 208.1 kB / 437.9 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1618, allocations: 85.02 kB / 437.9 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.1618, allocations: 7.938 kB / 438 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1619, allocations: 4.047 kB / 438 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.162, allocations: 4 kB / 438 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.162, allocations: 4 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1622, allocations: 148 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.696e-06/0.1622, allocations: 0 / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1625, allocations: 31.94 kB / 438.1 MB, free: 15.81 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.001386/0.1639, allocations: 464 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1641, allocations: 59.92 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.1642, allocations: 4.062 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.1643, allocations: 31.92 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1647, allocations: 27.84 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.1655, allocations: 223.2 kB / 438.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/0.1661, allocations: 0.7041 MB / 439.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.018e-05/0.1662, allocations: 21.17 kB / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.1663, allocations: 15.44 kB / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1663, allocations: 0 / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of Templates: time 0.006632/0.1729, allocations: 1.696 MB / 441.4 MB, free: 12.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)