Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001424, allocations: 186.2 kB / 16.44 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 222.6 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 89.3 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1077/0.1077, allocations: 12.6 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005488/0.0005487, allocations: 16 kB / 392 MB, free: 66.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09321, allocations: 50.37 MB / 442.3 MB, free: 16.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4624/0.5557, allocations: 76.17 MB / 0.5064 GB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.5559, allocations: 54.48 kB / 0.5064 GB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00463/0.5606, allocations: 1.409 MB / 0.5078 GB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5606, allocations: 0 / 0.5078 GB, free: 12.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.5607, allocations: 1.188 kB / 0.5078 GB, free: 12.49 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002194/0.5609, allocations: 310 kB / 0.5081 GB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5609, allocations: 13.78 kB / 0.5081 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.561, allocations: 0 / 0.5081 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.5611, allocations: 173.1 kB / 0.5083 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5611, allocations: 0 / 0.5083 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.5612, allocations: 3.953 kB / 0.5083 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.5614, allocations: 160.5 kB / 0.5084 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.5614, allocations: 75.28 kB / 0.5085 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.5615, allocations: 150.6 kB / 0.5086 GB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.5615, allocations: 150.6 kB / 0.5088 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.5615, allocations: 150.6 kB / 0.5089 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.5617, allocations: 448.2 kB / 0.5094 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.735e-05/0.5618, allocations: 176.7 kB / 0.5095 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.5618, allocations: 75.28 kB / 0.5096 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.5619, allocations: 113.2 kB / 0.5097 GB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.5619, allocations: 0 / 0.5097 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.845e-05/0.562, allocations: 32.23 kB / 0.5097 GB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.562, allocations: 130.5 kB / 0.5099 GB, free: 10.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.446e-05/0.5621, allocations: 85 kB / 0.5099 GB, free: 10.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.5621, allocations: 25.7 kB / 0.51 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.5621, allocations: 150.6 kB / 0.5101 GB, free: 9.973 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.5621, allocations: 3.938 kB / 0.5101 GB, free: 9.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-07/0.5621, allocations: 0 / 0.5101 GB, free: 9.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.5622, allocations: 310.8 kB / 0.5104 GB, free: 9.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.5622, allocations: 4.125 kB / 0.5104 GB, free: 9.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-06/0.5622, allocations: 3.688 kB / 0.5104 GB, free: 9.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.694e-05/0.5623, allocations: 81.58 kB / 0.5105 GB, free: 9.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.5623, allocations: 75.28 kB / 0.5106 GB, free: 9.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.128e-05/0.5623, allocations: 25.7 kB / 0.5106 GB, free: 9.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5624, allocations: 82.81 kB / 0.5107 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.5624, allocations: 83.17 kB / 0.5107 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/0.5624, allocations: 161.1 kB / 0.5109 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.578e-05/0.5625, allocations: 79.12 kB / 0.511 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.5625, allocations: 154.8 kB / 0.5111 GB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.5626, allocations: 79.28 kB / 0.5112 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5626, allocations: 82.41 kB / 0.5113 GB, free: 8.777 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.5627, allocations: 267.1 kB / 0.5115 GB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.5627, allocations: 105 kB / 0.5116 GB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.5628, allocations: 107.9 kB / 0.5117 GB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/0.5628, allocations: 188 kB / 0.5119 GB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.592e-05/0.5629, allocations: 182.6 kB / 0.5121 GB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.5629, allocations: 180.2 kB / 0.5123 GB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.5631, allocations: 404.1 kB / 0.5126 GB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.5631, allocations: 104.8 kB / 0.5127 GB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.5631, allocations: 108.7 kB / 0.5128 GB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.39e-05/0.5632, allocations: 176.3 kB / 0.513 GB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.5632, allocations: 182.8 kB / 0.5132 GB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.569e-05/0.5633, allocations: 181.4 kB / 0.5134 GB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.504e-05/0.5633, allocations: 196 kB / 0.5135 GB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.07e-05/0.5634, allocations: 302.3 kB / 0.5138 GB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.5635, allocations: 186 kB / 0.514 GB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.5635, allocations: 179.1 kB / 0.5142 GB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.5636, allocations: 112.6 kB / 0.5143 GB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.5636, allocations: 183.4 kB / 0.5145 GB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5637, allocations: 101 kB / 0.5146 GB, free: 5.234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.481e-05/0.5637, allocations: 78.7 kB / 0.5146 GB, free: 5.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5637, allocations: 3.844 kB / 0.5146 GB, free: 5.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.564, allocations: 0 / 0.5146 GB, free: 5.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001071/0.5642, allocations: 175.6 kB / 0.5148 GB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.411e-05/0.5642, allocations: 496 / 0.5148 GB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5642, allocations: 0 / 0.5148 GB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.103e-06/0.5642, allocations: 0 / 0.5148 GB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5645, allocations: 0.5255 MB / 0.5153 GB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000188/0.5647, allocations: 178.6 kB / 0.5155 GB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.5649, allocations: 0.6729 MB / 0.5162 GB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.5649, allocations: 10.11 kB / 0.5162 GB, free: 3.562 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5649, allocations: 0 / 0.5162 GB, free: 3.562 MB / 330.7 MB Notification: Performance of Templates: time 0.001582/0.5665, allocations: 311.5 kB / 0.5165 GB, free: 3.555 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)