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/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/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.001077/0.001077, allocations: 179.8 kB / 17.46 MB, free: 4.355 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.527/1.527, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007295/0.0007297, allocations: 91.66 kB / 272 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06728/0.06728, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007156/0.0007159, allocations: 16 kB / 392.7 MB, free: 67.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09754, allocations: 50.3 MB / 443 MB, free: 16.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/0.3528, allocations: 76.13 MB / 0.507 GB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.3531, allocations: 50.12 kB / 0.507 GB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002688/0.3558, allocations: 1.403 MB / 0.5084 GB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3558, allocations: 0 / 0.5084 GB, free: 12.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3558, allocations: 0 / 0.5084 GB, free: 12.73 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.0001888/0.356, allocations: 316.7 kB / 0.5087 GB, free: 12.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.356, allocations: 7.688 kB / 0.5087 GB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.3561, allocations: 5.547 kB / 0.5087 GB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3562, allocations: 171.2 kB / 0.5089 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3562, allocations: 384 / 0.5089 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3562, allocations: 384 / 0.5089 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3564, allocations: 156.2 kB / 0.509 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3564, allocations: 75.47 kB / 0.5091 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.3565, allocations: 154.5 kB / 0.5092 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.3565, allocations: 154.5 kB / 0.5094 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.3565, allocations: 158.4 kB / 0.5095 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.3567, allocations: 445 kB / 0.51 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.3567, allocations: 176.9 kB / 0.5101 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.3568, allocations: 80.14 kB / 0.5102 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3568, allocations: 79.28 kB / 0.5103 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3568, allocations: 105.8 kB / 0.5104 GB, free: 10.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3568, allocations: 0 / 0.5104 GB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.825e-05/0.3569, allocations: 37.42 kB / 0.5104 GB, free: 10.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3569, allocations: 129.5 kB / 0.5105 GB, free: 10.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.461e-05/0.357, allocations: 89.86 kB / 0.5106 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.357, allocations: 29.83 kB / 0.5107 GB, free: 10.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.357, allocations: 80.14 kB / 0.5107 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.357, allocations: 0 / 0.5107 GB, free: 10.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.357, allocations: 0 / 0.5107 GB, free: 10.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.3571, allocations: 318.4 kB / 0.511 GB, free: 9.867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.3571, allocations: 0 / 0.511 GB, free: 9.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-06/0.3571, allocations: 0 / 0.511 GB, free: 9.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.225e-05/0.3571, allocations: 75.28 kB / 0.5111 GB, free: 9.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.3571, allocations: 79.28 kB / 0.5112 GB, free: 9.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.326e-05/0.3572, allocations: 32.22 kB / 0.5112 GB, free: 9.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3572, allocations: 79.12 kB / 0.5113 GB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3572, allocations: 83.16 kB / 0.5114 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.3572, allocations: 158.4 kB / 0.5115 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-05/0.3572, allocations: 79.48 kB / 0.5116 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.3573, allocations: 156.5 kB / 0.5118 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.3573, allocations: 83.28 kB / 0.5118 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3574, allocations: 79.22 kB / 0.5119 GB, free: 8.988 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 6.224e-05/0.3574, allocations: 264.9 kB / 0.5122 GB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.3575, allocations: 103.7 kB / 0.5123 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.3575, allocations: 119.4 kB / 0.5124 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/0.3575, allocations: 184.1 kB / 0.5125 GB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/0.3576, allocations: 180.2 kB / 0.5127 GB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.3576, allocations: 178.7 kB / 0.5129 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.3577, allocations: 402.7 kB / 0.5133 GB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.3577, allocations: 104.9 kB / 0.5134 GB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.3578, allocations: 101 kB / 0.5135 GB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.379e-05/0.3578, allocations: 186.5 kB / 0.5136 GB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.3578, allocations: 184.1 kB / 0.5138 GB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.449e-05/0.3579, allocations: 180.2 kB / 0.514 GB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.516e-05/0.3579, allocations: 184.2 kB / 0.5142 GB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.358, allocations: 311.4 kB / 0.5145 GB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.358, allocations: 184.7 kB / 0.5146 GB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.358, allocations: 187 kB / 0.5148 GB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.3581, allocations: 104.9 kB / 0.5149 GB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.3581, allocations: 179.3 kB / 0.5151 GB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3581, allocations: 104.9 kB / 0.5152 GB, free: 5.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.684e-05/0.3582, allocations: 83.12 kB / 0.5153 GB, free: 5.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3582, allocations: 0 / 0.5153 GB, free: 5.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.3584, allocations: 0 / 0.5153 GB, free: 5.371 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 8.172e-05/0.3585, allocations: 165.9 kB / 0.5154 GB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.921e-05/0.3585, allocations: 3.922 kB / 0.5154 GB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3586, allocations: 0 / 0.5154 GB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.3586, allocations: 3.844 kB / 0.5154 GB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3588, allocations: 0.5248 MB / 0.516 GB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.359, allocations: 180 kB / 0.5161 GB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.942e-05/0.3591, allocations: 0.6692 MB / 0.5168 GB, free: 3.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.3591, allocations: 10.06 kB / 0.5168 GB, free: 3.777 MB / 330.7 MB Notification: Performance of SimCode: time 3.8e-07/0.3592, allocations: 0 / 0.5168 GB, free: 3.777 MB / 330.7 MB Notification: Performance of Templates: time 0.001173/0.3603, allocations: 310.3 kB / 0.5171 GB, free: 3.77 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)