Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.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.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001954/0.001954, allocations: 184.9 kB / 13.23 MB, free: 2.078 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.738/1.738, allocations: 205.2 MB / 219 MB, free: 9.207 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.0008191/0.0008191, allocations: 88.41 kB / 267.1 MB, free: 9.266 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.08396/0.08396, allocations: 12.59 MB / 327.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.972e-05/4.983e-05, allocations: 0 / 386 MB, free: 69.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 50.37 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4363, allocations: 81.86 MB / 0.5061 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4365, allocations: 59.25 kB / 0.5061 GB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.4504, allocations: 5.817 MB / 0.5118 GB, free: 9.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4505, allocations: 3.844 kB / 0.5118 GB, free: 9.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.4505, allocations: 0 / 0.5118 GB, free: 9.656 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005012/0.451, allocations: 0.4919 MB / 0.5123 GB, free: 9.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4511, allocations: 7.688 kB / 0.5123 GB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.4511, allocations: 27.22 kB / 0.5123 GB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.4515, allocations: 287.7 kB / 0.5126 GB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.4515, allocations: 7.469 kB / 0.5126 GB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.4516, allocations: 14.98 kB / 0.5126 GB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.4519, allocations: 173.3 kB / 0.5128 GB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4519, allocations: 0 / 0.5128 GB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4519, allocations: 0 / 0.5128 GB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4519, allocations: 3.812 kB / 0.5128 GB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.452, allocations: 48.89 kB / 0.5128 GB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.4526, allocations: 422.2 kB / 0.5132 GB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.4528, allocations: 127.6 kB / 0.5134 GB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.4528, allocations: 56.58 kB / 0.5134 GB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4529, allocations: 0 / 0.5134 GB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.453, allocations: 95.55 kB / 0.5135 GB, free: 8.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.453, allocations: 0 / 0.5135 GB, free: 8.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002702/0.4533, allocations: 148 kB / 0.5137 GB, free: 8.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.4534, allocations: 135.9 kB / 0.5138 GB, free: 8.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.4536, allocations: 292.4 kB / 0.5141 GB, free: 7.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.4537, allocations: 32.86 kB / 0.5141 GB, free: 7.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.4537, allocations: 136.1 kB / 0.5142 GB, free: 7.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.4538, allocations: 26.73 kB / 0.5143 GB, free: 7.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.4538, allocations: 3.188 kB / 0.5143 GB, free: 7.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.4538, allocations: 337.4 kB / 0.5146 GB, free: 7.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.4539, allocations: 30.16 kB / 0.5146 GB, free: 7.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.454, allocations: 121 kB / 0.5147 GB, free: 7.418 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.4541, allocations: 52.86 kB / 0.5148 GB, free: 7.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4541, allocations: 0 / 0.5148 GB, free: 7.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001983/0.4543, allocations: 169.2 kB / 0.5149 GB, free: 7.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4543, allocations: 7.719 kB / 0.5149 GB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4543, allocations: 0 / 0.5149 GB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4543, allocations: 3.844 kB / 0.5149 GB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4545, allocations: 23.45 kB / 0.515 GB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4545, allocations: 7.828 kB / 0.515 GB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.4546, allocations: 15.02 kB / 0.515 GB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.4546, allocations: 11.03 kB / 0.515 GB, free: 7.312 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition2,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition1,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.042e-05/0.4547, allocations: 133.2 kB / 0.5151 GB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.4547, allocations: 67.73 kB / 0.5152 GB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.455, allocations: 147 kB / 0.5153 GB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.455, allocations: 3.812 kB / 0.5153 GB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.455, allocations: 0 / 0.5153 GB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.455, allocations: 0 / 0.5153 GB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.4554, allocations: 496.2 kB / 0.5158 GB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4554, allocations: 3.844 kB / 0.5158 GB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.4555, allocations: 15.73 kB / 0.5158 GB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4555, allocations: 7.875 kB / 0.5158 GB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4555, allocations: 2.562 kB / 0.5158 GB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4555, allocations: 0 / 0.5158 GB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4555, allocations: 3.969 kB / 0.5158 GB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.4558, allocations: 266.4 kB / 0.5161 GB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.4559, allocations: 107.9 kB / 0.5162 GB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.4559, allocations: 15.36 kB / 0.5162 GB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.456, allocations: 6.469 kB / 0.5162 GB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.4561, allocations: 13.89 kB / 0.5162 GB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4561, allocations: 3.812 kB / 0.5162 GB, free: 6.406 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.4563, allocations: 240.6 kB / 0.5165 GB, free: 6.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4563, allocations: 0 / 0.5165 GB, free: 6.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.4566, allocations: 61.83 kB / 0.5165 GB, free: 6.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,triggeredBooleanSampler.y,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 3 (integerTable.combiTimeTable.nextTimeEvent,ClockedSignalToTrigger.y3,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007741/0.4574, allocations: 394.3 kB / 0.5169 GB, free: 5.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.4576, allocations: 120.9 kB / 0.517 GB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4576, allocations: 3.906 kB / 0.517 GB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.4577, allocations: 45.28 kB / 0.5171 GB, free: 5.953 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.458, allocations: 47.61 kB / 0.5171 GB, free: 5.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.4584, allocations: 300.1 kB / 0.5174 GB, free: 5.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.4586, allocations: 0.7537 MB / 0.5181 GB, free: 5.055 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.354e-05/0.4587, allocations: 28.58 kB / 0.5182 GB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.4588, allocations: 26.73 kB / 0.5182 GB, free: 5.035 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4588, allocations: 0 / 0.5182 GB, free: 5.035 MB / 330.7 MB Notification: Performance of Templates: time 0.005201/0.464, allocations: 2.865 MB / 0.521 GB, free: 3.055 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe 2>&1)