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.001522/0.001522, allocations: 186.1 kB / 13.7 MB, free: 1.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001099/0.001099, allocations: 94.62 kB / 267.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09761/0.09761, allocations: 12.61 MB / 328.2 MB, free: 11.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.764e-05, allocations: 4 kB / 386 MB, free: 1.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.321, allocations: 50.37 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.4554, allocations: 76.09 MB / 0.5004 GB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4557, allocations: 59.95 kB / 0.5005 GB, free: 1.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006254/0.4619, allocations: 1.394 MB / 0.5018 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.462, allocations: 0 / 0.5018 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.462, allocations: 8 kB / 0.5018 GB, free: 0.5039 MB / 346.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.00029/0.4623, allocations: 306.5 kB / 0.5021 GB, free: 164 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4624, allocations: 12.09 kB / 0.5021 GB, free: 152 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.4624, allocations: 0 / 0.5021 GB, free: 152 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.4626, allocations: 163.1 kB / 0.5023 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4627, allocations: 0 / 0.5023 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4627, allocations: 7.953 kB / 0.5023 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.463, allocations: 156.2 kB / 0.5025 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.463, allocations: 75.28 kB / 0.5025 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.4631, allocations: 154.6 kB / 0.5027 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.4632, allocations: 154.6 kB / 0.5028 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.4633, allocations: 158.5 kB / 0.503 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.4636, allocations: 438 kB / 0.5034 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.4638, allocations: 169.1 kB / 0.5036 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.4638, allocations: 80.41 kB / 0.5036 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.4639, allocations: 83.23 kB / 0.5037 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.225e-05/0.4639, allocations: 113.8 kB / 0.5038 GB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.464, allocations: 0 / 0.5038 GB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.258e-05/0.464, allocations: 33.69 kB / 0.5039 GB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.4641, allocations: 126.7 kB / 0.504 GB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.4642, allocations: 88.94 kB / 0.5041 GB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4643, allocations: 29.83 kB / 0.5041 GB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.4643, allocations: 154.6 kB / 0.5042 GB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.4644, allocations: 0 / 0.5042 GB, free: 13.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-07/0.4644, allocations: 0 / 0.5042 GB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4645, allocations: 314.8 kB / 0.5045 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-06/0.4645, allocations: 0 / 0.5045 GB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-06/0.4646, allocations: 3.938 kB / 0.5045 GB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.4646, allocations: 75.28 kB / 0.5046 GB, free: 13.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-05/0.4647, allocations: 75.28 kB / 0.5047 GB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001144/0.4648, allocations: 37.64 kB / 0.5047 GB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.4649, allocations: 87.22 kB / 0.5048 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-05/0.465, allocations: 75.28 kB / 0.5049 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.4651, allocations: 161.5 kB / 0.505 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.4652, allocations: 75.28 kB / 0.5051 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.571e-05/0.4653, allocations: 154.5 kB / 0.5052 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4654, allocations: 83.28 kB / 0.5053 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.4655, allocations: 79.28 kB / 0.5054 GB, free: 12.62 MB / 362.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 () * 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 0.0001507/0.4656, allocations: 255.3 kB / 0.5056 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.4657, allocations: 108.9 kB / 0.5057 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.4658, allocations: 111.8 kB / 0.5059 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-05/0.4659, allocations: 184.2 kB / 0.506 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.463e-05/0.466, allocations: 180.3 kB / 0.5062 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.872e-05/0.4661, allocations: 180.3 kB / 0.5064 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.4665, allocations: 405.2 kB / 0.5068 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.508e-05/0.4665, allocations: 101 kB / 0.5069 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.4666, allocations: 108.9 kB / 0.507 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.886e-05/0.4667, allocations: 180.3 kB / 0.5071 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.572e-05/0.4668, allocations: 188.2 kB / 0.5073 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.6e-05/0.4669, allocations: 184.2 kB / 0.5075 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.231e-05/0.467, allocations: 176.3 kB / 0.5077 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.4672, allocations: 307.8 kB / 0.5079 GB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4673, allocations: 182.1 kB / 0.5081 GB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.4674, allocations: 180.2 kB / 0.5083 GB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.4676, allocations: 109 kB / 0.5084 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4677, allocations: 184.2 kB / 0.5086 GB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.4677, allocations: 105 kB / 0.5087 GB, free: 9.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.4678, allocations: 79.28 kB / 0.5088 GB, free: 8.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4678, allocations: 4 kB / 0.5088 GB, free: 8.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.4681, allocations: 0 / 0.5088 GB, free: 8.965 MB / 362.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 () * 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.0001603/0.4683, allocations: 174.5 kB / 0.5089 GB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.836e-05/0.4683, allocations: 496 / 0.5089 GB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.4684, allocations: 3.938 kB / 0.5089 GB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.4684, allocations: 7.875 kB / 0.5089 GB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.4687, allocations: 0.5225 MB / 0.5094 GB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.469, allocations: 142 kB / 0.5096 GB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.4693, allocations: 0.677 MB / 0.5102 GB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.4694, allocations: 7.438 kB / 0.5102 GB, free: 7.363 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4694, allocations: 0 / 0.5102 GB, free: 7.363 MB / 362.7 MB Notification: Performance of Templates: time 0.001806/0.4712, allocations: 315.9 kB / 0.5105 GB, free: 7.055 MB / 362.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)