Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.0009005/0.0009005, allocations: 171.9 kB / 16.8 MB, free: 5.027 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.624/1.624, allocations: 205.4 MB / 223 MB, free: 9.031 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.0007902/0.0007902, allocations: 90.34 kB / 271.3 MB, free: 8.258 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.08692/0.08692, allocations: 12.6 MB / 332.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004483, allocations: 12 kB / 393.2 MB, free: 65.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1087, allocations: 50.37 MB / 443.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.4992, allocations: 76.2 MB / 0.5076 GB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000154/0.4994, allocations: 58.22 kB / 0.5077 GB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002822/0.5022, allocations: 1.408 MB / 0.509 GB, free: 13.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5023, allocations: 1.312 kB / 0.509 GB, free: 13.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.5023, allocations: 0 / 0.509 GB, free: 13.17 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.0002206/0.5025, allocations: 312.2 kB / 0.5093 GB, free: 12.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5026, allocations: 11.62 kB / 0.5094 GB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.5026, allocations: 0.9375 kB / 0.5094 GB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.5028, allocations: 175.1 kB / 0.5095 GB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5028, allocations: 4.188 kB / 0.5095 GB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.5028, allocations: 384 / 0.5095 GB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.503, allocations: 150.6 kB / 0.5097 GB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.503, allocations: 79.47 kB / 0.5097 GB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.5031, allocations: 158.4 kB / 0.5099 GB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.5031, allocations: 150.6 kB / 0.51 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.541e-05/0.5031, allocations: 153.7 kB / 0.5102 GB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.5033, allocations: 445.2 kB / 0.5106 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.764e-05/0.5034, allocations: 176.2 kB / 0.5108 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.5034, allocations: 80.14 kB / 0.5109 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.5034, allocations: 83.2 kB / 0.5109 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.5035, allocations: 105.8 kB / 0.511 GB, free: 11.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.5035, allocations: 4 kB / 0.511 GB, free: 11.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.06e-05/0.5035, allocations: 33.45 kB / 0.5111 GB, free: 10.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.5036, allocations: 130 kB / 0.5112 GB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.5036, allocations: 93.23 kB / 0.5113 GB, free: 10.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-06/0.5037, allocations: 25.7 kB / 0.5113 GB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.383e-05/0.5037, allocations: 80.14 kB / 0.5114 GB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.5037, allocations: 0 / 0.5114 GB, free: 10.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.5037, allocations: 0 / 0.5114 GB, free: 10.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.5038, allocations: 318.7 kB / 0.5117 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-06/0.5038, allocations: 0 / 0.5117 GB, free: 10.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-06/0.5038, allocations: 3.938 kB / 0.5117 GB, free: 10.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.279e-05/0.5038, allocations: 75.28 kB / 0.5118 GB, free: 10.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.5038, allocations: 75.28 kB / 0.5118 GB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.156e-05/0.5039, allocations: 29.52 kB / 0.5119 GB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.5039, allocations: 82.58 kB / 0.5119 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.5039, allocations: 79.22 kB / 0.512 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/0.504, allocations: 161.9 kB / 0.5122 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.331e-05/0.504, allocations: 83.39 kB / 0.5123 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.504, allocations: 154.5 kB / 0.5124 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.5041, allocations: 79.28 kB / 0.5125 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.5041, allocations: 75.28 kB / 0.5125 GB, free: 9.434 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.672e-05/0.5042, allocations: 278.7 kB / 0.5128 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.5042, allocations: 101 kB / 0.5129 GB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.5042, allocations: 111.8 kB / 0.513 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/0.5043, allocations: 184.1 kB / 0.5132 GB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-05/0.5043, allocations: 178.2 kB / 0.5134 GB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-05/0.5044, allocations: 179.8 kB / 0.5135 GB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.5045, allocations: 407 kB / 0.5139 GB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.5045, allocations: 108.1 kB / 0.514 GB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.5046, allocations: 104.9 kB / 0.5141 GB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-05/0.5046, allocations: 176.3 kB / 0.5143 GB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.5047, allocations: 187.3 kB / 0.5145 GB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.934e-05/0.5047, allocations: 188 kB / 0.5147 GB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.899e-05/0.5047, allocations: 179.6 kB / 0.5148 GB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.586e-05/0.5048, allocations: 306.8 kB / 0.5151 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.5049, allocations: 185.3 kB / 0.5153 GB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.5049, allocations: 184 kB / 0.5155 GB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.505, allocations: 105 kB / 0.5156 GB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.505, allocations: 183.5 kB / 0.5157 GB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.5051, allocations: 101 kB / 0.5158 GB, free: 5.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.281e-05/0.5051, allocations: 82.2 kB / 0.5159 GB, free: 5.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5051, allocations: 0 / 0.5159 GB, free: 5.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000253/0.5053, allocations: 0 / 0.5159 GB, free: 5.816 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.888e-05/0.5054, allocations: 170.1 kB / 0.5161 GB, free: 5.652 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.234e-05/0.5055, allocations: 4.422 kB / 0.5161 GB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5055, allocations: 0 / 0.5161 GB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.5055, allocations: 3.875 kB / 0.5161 GB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5058, allocations: 0.518 MB / 0.5166 GB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.506, allocations: 153.2 kB / 0.5167 GB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.5061, allocations: 0.6692 MB / 0.5174 GB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.694e-06/0.5061, allocations: 0 / 0.5174 GB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.5061, allocations: 11.22 kB / 0.5174 GB, free: 4.254 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5061, allocations: 0 / 0.5174 GB, free: 4.254 MB / 330.7 MB Notification: Performance of Templates: time 0.001623/0.5078, allocations: 163.1 kB / 0.5176 GB, free: 4.211 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)