Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 105 kB / 16.45 MB, free: 6.391 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.00193/0.001931, allocations: 189 kB / 17.39 MB, free: 5.648 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.738/1.738, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09605/0.09605, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.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: Modelica_Synchronous 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: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 87.08 kB / 394.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1529, allocations: 49.4 MB / 443.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.003713/0.1567, allocations: 1.686 MB / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1577, allocations: 0.5034 MB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1579, allocations: 4 kB / 445.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/0.1579, allocations: 11.88 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.158, allocations: 7.875 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1585, allocations: 51.89 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1586, allocations: 75.7 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1588, allocations: 31.91 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1589, allocations: 39.84 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.159, allocations: 31.8 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1591, allocations: 4 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.1591, allocations: 8 kB / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.1591, allocations: 11.92 kB / 446 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.1592, allocations: 31.8 kB / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1594, allocations: 71.72 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1594, allocations: 0 / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1594, allocations: 0 / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1594, allocations: 4 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006758/0.1601, allocations: 383.1 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.052e-05/0.1601, allocations: 8.031 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.1602, allocations: 12.84 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1606, allocations: 212 kB / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1606, allocations: 4.375 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.1606, allocations: 4.375 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.1611, allocations: 178 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1611, allocations: 0 / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1612, allocations: 4 kB / 446.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1612, allocations: 4 kB / 446.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1613, allocations: 31.97 kB / 446.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.1617, allocations: 282.5 kB / 447.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.1621, allocations: 180.9 kB / 447.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1623, allocations: 58.62 kB / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.1623, allocations: 3.984 kB / 447.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1624, allocations: 34.56 kB / 447.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.1624, allocations: 0 / 447.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004091/0.1628, allocations: 129.5 kB / 447.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.1629, allocations: 106.8 kB / 447.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.163, allocations: 130.1 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1631, allocations: 25.7 kB / 447.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.1631, allocations: 95.98 kB / 448 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1632, allocations: 7.984 kB / 448 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.1632, allocations: 17.72 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1634, allocations: 326.9 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.1635, allocations: 12 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.981e-05/0.1636, allocations: 71.64 kB / 448.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1637, allocations: 103.5 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1638, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002045/0.164, allocations: 105.4 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.164, allocations: 4 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.164, allocations: 4 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.1641, allocations: 0 / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.1642, allocations: 24.27 kB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.1642, allocations: 7.938 kB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.1643, allocations: 4 kB / 448.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1643, allocations: 7.984 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001366/0.1645, allocations: 117.8 kB / 448.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.1646, allocations: 85.47 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.1647, allocations: 8.312 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1647, allocations: 4 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1647, allocations: 0 / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1647, allocations: 8.219 kB / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.165, allocations: 185.4 kB / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.165, allocations: 3.984 kB / 449 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.1651, allocations: 16 kB / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1651, allocations: 3.984 kB / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1651, allocations: 4.297 kB / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1651, allocations: 4 kB / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1651, allocations: 4 kB / 449.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1654, allocations: 213.2 kB / 449.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.1655, allocations: 85.02 kB / 449.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1655, allocations: 0 / 449.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.1656, allocations: 11.98 kB / 449.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1657, allocations: 3.938 kB / 449.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1657, allocations: 4 kB / 449.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.396e-05/0.1658, allocations: 95.27 kB / 449.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1658, allocations: 4 kB / 449.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.166, allocations: 12 kB / 449.5 MB, free: 10.06 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001305/0.1662, allocations: 91.25 kB / 449.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1664, allocations: 63.84 kB / 449.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1664, allocations: 0 / 449.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.1665, allocations: 8.547 kB / 449.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.1669, allocations: 55.95 kB / 449.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.1674, allocations: 196.8 kB / 449.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1677, allocations: 0.6963 MB / 450.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.326e-05/0.1678, allocations: 8.562 kB / 450.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.1678, allocations: 11.44 kB / 450.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1678, allocations: 0 / 450.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of Templates: time 0.004063/0.1719, allocations: 0.8952 MB / 451.5 MB, free: 7.98 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)