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.001701/0.001701, allocations: 180.3 kB / 15.8 MB, free: 6.336 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.723/1.723, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001056/0.001056, allocations: 90.86 kB / 270.3 MB, free: 13.37 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.07979/0.07979, allocations: 12.59 MB / 331.1 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 11.12 kB / 392 MB, free: 54.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 50.38 MB / 442.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.2339, allocations: 81.94 MB / 0.512 GB, free: 8.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.2342, allocations: 67.97 kB / 0.5121 GB, free: 8.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.25, allocations: 5.834 MB / 0.5178 GB, free: 3.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2501, allocations: 0 / 0.5178 GB, free: 3.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.2501, allocations: 4 kB / 0.5178 GB, free: 3.012 MB / 362.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.0007108/0.2508, allocations: 0.5311 MB / 0.5183 GB, free: 2.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2509, allocations: 8.031 kB / 0.5183 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.251, allocations: 23.75 kB / 0.5183 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.2514, allocations: 289.5 kB / 0.5186 GB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2515, allocations: 12 kB / 0.5186 GB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.2515, allocations: 15.98 kB / 0.5186 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.2519, allocations: 174.6 kB / 0.5188 GB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2519, allocations: 0 / 0.5188 GB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.2519, allocations: 12 kB / 0.5188 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2519, allocations: 0 / 0.5188 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2521, allocations: 43.97 kB / 0.5189 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.2527, allocations: 433.4 kB / 0.5193 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.253, allocations: 125.4 kB / 0.5194 GB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.253, allocations: 4 kB / 0.5194 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.2533, allocations: 95.31 kB / 0.5195 GB, free: 1.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.2533, allocations: 0 / 0.5195 GB, free: 1.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004348/0.2537, allocations: 193.2 kB / 0.5197 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.2538, allocations: 136.5 kB / 0.5198 GB, free: 0.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.2541, allocations: 292.1 kB / 0.5201 GB, free: 424 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.2542, allocations: 33.7 kB / 0.5201 GB, free: 384 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.2543, allocations: 144.1 kB / 0.5203 GB, free: 236 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.2543, allocations: 19.72 kB / 0.5203 GB, free: 216 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2543, allocations: 0 / 0.5203 GB, free: 216 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.2295/0.4838, allocations: 343.2 kB / 0.5206 GB, free: 83.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.484, allocations: 32.25 kB / 0.5206 GB, free: 83.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.4842, allocations: 126.7 kB / 0.5207 GB, free: 83.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4844, allocations: 45.7 kB / 0.5208 GB, free: 83.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4844, allocations: 0 / 0.5208 GB, free: 83.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003787/0.4848, allocations: 174.1 kB / 0.521 GB, free: 83.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4848, allocations: 6.688 kB / 0.521 GB, free: 83.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4848, allocations: 3.406 kB / 0.521 GB, free: 83.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4848, allocations: 5.062 kB / 0.521 GB, free: 83.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.485, allocations: 23.81 kB / 0.521 GB, free: 83.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.485, allocations: 4.547 kB / 0.521 GB, free: 83.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4851, allocations: 14.19 kB / 0.521 GB, free: 83.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.4851, allocations: 8.984 kB / 0.521 GB, free: 83.77 MB / 362.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 () * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * 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 0.0001814/0.4853, allocations: 166 kB / 0.5212 GB, free: 83.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.4854, allocations: 72.03 kB / 0.5212 GB, free: 83.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.4857, allocations: 143.7 kB / 0.5214 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4857, allocations: 2.5 kB / 0.5214 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4857, allocations: 0 / 0.5214 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4858, allocations: 1.922 kB / 0.5214 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.4863, allocations: 0.4935 MB / 0.5219 GB, free: 83.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4864, allocations: 1.641 kB / 0.5219 GB, free: 83.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.4864, allocations: 16.97 kB / 0.5219 GB, free: 83.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4864, allocations: 1.344 kB / 0.5219 GB, free: 83.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4865, allocations: 5.141 kB / 0.5219 GB, free: 83.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4865, allocations: 1.875 kB / 0.5219 GB, free: 83.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4865, allocations: 0 / 0.5219 GB, free: 83.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.4868, allocations: 277.5 kB / 0.5222 GB, free: 83.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.4869, allocations: 116.9 kB / 0.5223 GB, free: 83.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.4869, allocations: 8.375 kB / 0.5223 GB, free: 83.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.487, allocations: 5.594 kB / 0.5223 GB, free: 83.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.4871, allocations: 14.61 kB / 0.5223 GB, free: 83.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.4871, allocations: 8.781 kB / 0.5223 GB, free: 83.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002797/0.4874, allocations: 232.8 kB / 0.5225 GB, free: 82.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.4874, allocations: 0 / 0.5225 GB, free: 82.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.4877, allocations: 67.14 kB / 0.5226 GB, free: 82.93 MB / 362.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) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * 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.000916/0.4887, allocations: 447.8 kB / 0.523 GB, free: 82.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.489, allocations: 125.6 kB / 0.5231 GB, free: 82.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.489, allocations: 1.281 kB / 0.5231 GB, free: 82.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4891, allocations: 43.91 kB / 0.5232 GB, free: 82.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.4895, allocations: 56.95 kB / 0.5232 GB, free: 82.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.4902, allocations: 418.8 kB / 0.5236 GB, free: 82.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4905, allocations: 0.754 MB / 0.5244 GB, free: 81.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.4907, allocations: 29.72 kB / 0.5244 GB, free: 81.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.4907, allocations: 27.45 kB / 0.5244 GB, free: 81.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4907, allocations: 0 / 0.5244 GB, free: 81.7 MB / 362.7 MB Notification: Performance of Templates: time 0.007914/0.4987, allocations: 2.871 MB / 0.5272 GB, free: 81.43 MB / 362.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)