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.001009/0.001009, allocations: 175.5 kB / 16.45 MB, free: 5.684 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.494/1.494, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.0008394/0.0008395, allocations: 90.31 kB / 270.9 MB, free: 8.359 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.08115/0.08115, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004149, allocations: 12 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07409/0.07453, allocations: 50.37 MB / 442.4 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0005395/0.07511, allocations: 226.9 kB / 442.6 MB, free: 16.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.07535, allocations: 71.84 kB / 442.7 MB, free: 16.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.0754, allocations: 0 / 442.7 MB, free: 16.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-06/0.07542, allocations: 0 / 442.7 MB, free: 16.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.095e-05/0.07545, allocations: 0 / 442.7 MB, free: 16.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.07564, allocations: 19.92 kB / 442.7 MB, free: 16.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.75e-05/0.07568, allocations: 3.984 kB / 442.7 MB, free: 16.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.07574, allocations: 3.984 kB / 442.7 MB, free: 16.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.07576, allocations: 4 kB / 442.7 MB, free: 16.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.0758, allocations: 3.984 kB / 442.7 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.07583, allocations: 0 / 442.7 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-06/0.07584, allocations: 4 kB / 442.7 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.07586, allocations: 4 kB / 442.7 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.07588, allocations: 25.7 kB / 442.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 2.896e-05/0.07592, allocations: 0 / 442.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.07593, allocations: 0 / 442.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.07593, allocations: 0 / 442.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.07594, allocations: 0 / 442.7 MB, free: 16.11 MB / 298.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.0001949/0.07614, allocations: 323.3 kB / 443 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.07618, allocations: 11.97 kB / 443 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.07622, allocations: 0 / 443 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.07635, allocations: 167.1 kB / 443.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.07637, allocations: 0 / 443.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.07638, allocations: 3.953 kB / 443.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.07657, allocations: 156.3 kB / 443.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.0766, allocations: 83.22 kB / 443.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.07662, allocations: 150.6 kB / 443.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.07665, allocations: 150.6 kB / 443.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.07668, allocations: 154.5 kB / 443.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.07686, allocations: 445.9 kB / 444.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/0.07691, allocations: 181.1 kB / 444.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.07694, allocations: 80.14 kB / 444.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.07695, allocations: 79.23 kB / 444.7 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.07699, allocations: 105.8 kB / 444.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.077, allocations: 0 / 444.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.289e-05/0.07707, allocations: 29.7 kB / 444.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.0771, allocations: 134.6 kB / 444.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.006e-05/0.07716, allocations: 97.84 kB / 445 MB, free: 13.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.07717, allocations: 25.7 kB / 445 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.101e-05/0.07719, allocations: 80.14 kB / 445.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-06/0.0772, allocations: 0 / 445.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.0772, allocations: 0 / 445.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.07725, allocations: 310.8 kB / 445.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-06/0.07726, allocations: 4.125 kB / 445.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-06/0.07727, allocations: 4 kB / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.166e-05/0.07728, allocations: 75.28 kB / 445.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.0773, allocations: 75.28 kB / 445.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.622e-05/0.07735, allocations: 25.7 kB / 445.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.07738, allocations: 87.23 kB / 445.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.07739, allocations: 79.22 kB / 445.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.07743, allocations: 154.6 kB / 445.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.299e-05/0.07745, allocations: 87.2 kB / 446 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.07747, allocations: 154.6 kB / 446.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.07754, allocations: 75.28 kB / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.07755, allocations: 79.22 kB / 446.3 MB, free: 12.28 MB / 298.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 5.609e-05/0.07761, allocations: 261.1 kB / 446.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.07765, allocations: 109 kB / 446.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.07769, allocations: 123.8 kB / 446.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.07771, allocations: 176.3 kB / 447 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/0.07774, allocations: 180.3 kB / 447.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.07777, allocations: 184.2 kB / 447.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.0779, allocations: 409.2 kB / 447.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.07792, allocations: 108.9 kB / 447.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.07794, allocations: 101 kB / 447.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.07797, allocations: 184.2 kB / 448.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.078, allocations: 176.6 kB / 448.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.192e-05/0.07803, allocations: 184.2 kB / 448.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-05/0.07806, allocations: 188.2 kB / 448.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.387e-05/0.07812, allocations: 303.8 kB / 448.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.07816, allocations: 186.1 kB / 449.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.0782, allocations: 180.2 kB / 449.3 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.706e-05/0.07826, allocations: 108.9 kB / 449.4 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.0783, allocations: 184.2 kB / 449.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.07832, allocations: 108.9 kB / 449.7 MB, free: 8.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.785e-05/0.07834, allocations: 75.28 kB / 449.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07835, allocations: 0 / 449.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.07863, allocations: 0 / 449.8 MB, free: 8.594 MB / 298.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 7.645e-05/0.07871, allocations: 174.6 kB / 449.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.689e-05/0.07875, allocations: 4 kB / 449.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.07876, allocations: 0 / 449.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.07876, allocations: 0 / 449.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.07903, allocations: 0.5185 MB / 450.5 MB, free: 7.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001484/0.07919, allocations: 183.7 kB / 450.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.152e-05/0.07929, allocations: 0.677 MB / 451.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.07931, allocations: 11.44 kB / 451.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.07931, allocations: 0 / 451.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of Templates: time 0.00115/0.08047, allocations: 315.8 kB / 451.6 MB, free: 6.648 MB / 298.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)