Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.002072/0.002072, allocations: 181 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.018/2.018, 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.001059/0.001058, allocations: 90.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.09755/0.09755, allocations: 12.61 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.599e-05, allocations: 4 kB / 386 MB, free: 1.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3028, allocations: 50.36 MB / 436.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.4481, allocations: 81.86 MB / 0.5061 GB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4484, allocations: 63.92 kB / 0.5061 GB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02548/0.4739, allocations: 5.808 MB / 0.5118 GB, free: 6.316 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.474, allocations: 0 / 0.5118 GB, free: 6.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.836e-05/0.474, allocations: 4 kB / 0.5118 GB, free: 6.312 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.0008186/0.4748, allocations: 0.4917 MB / 0.5123 GB, free: 5.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4749, allocations: 8.031 kB / 0.5123 GB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/0.475, allocations: 23.72 kB / 0.5123 GB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000603/0.4756, allocations: 297.5 kB / 0.5126 GB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.4757, allocations: 12 kB / 0.5126 GB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.4757, allocations: 4 kB / 0.5126 GB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.4761, allocations: 166.7 kB / 0.5128 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4762, allocations: 4 kB / 0.5128 GB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.4762, allocations: 7.984 kB / 0.5128 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4762, allocations: 0 / 0.5128 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.4764, allocations: 59.84 kB / 0.5128 GB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.4773, allocations: 421.5 kB / 0.5132 GB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.4776, allocations: 125.4 kB / 0.5134 GB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.4778, allocations: 57.64 kB / 0.5134 GB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4778, allocations: 3.938 kB / 0.5134 GB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.478, allocations: 91.33 kB / 0.5135 GB, free: 4.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/0.478, allocations: 0 / 0.5135 GB, free: 4.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004426/0.4785, allocations: 145.3 kB / 0.5136 GB, free: 4.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.4786, allocations: 140.5 kB / 0.5138 GB, free: 4.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.4792, allocations: 293 kB / 0.514 GB, free: 3.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.4792, allocations: 29.7 kB / 0.5141 GB, free: 3.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.4794, allocations: 182.5 kB / 0.5143 GB, free: 3.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.4794, allocations: 31.64 kB / 0.5143 GB, free: 3.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.4795, allocations: 8 kB / 0.5143 GB, free: 3.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4796, allocations: 314.8 kB / 0.5146 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.4797, allocations: 31.98 kB / 0.5146 GB, free: 3.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.4799, allocations: 116.6 kB / 0.5147 GB, free: 3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4801, allocations: 51.03 kB / 0.5148 GB, free: 2.953 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4801, allocations: 0 / 0.5148 GB, free: 2.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003856/0.4805, allocations: 153.5 kB / 0.5149 GB, free: 2.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4805, allocations: 8.156 kB / 0.5149 GB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4806, allocations: 8 kB / 0.5149 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4806, allocations: 4 kB / 0.5149 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.4808, allocations: 23.92 kB / 0.515 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.4808, allocations: 4 kB / 0.515 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.481, allocations: 11.94 kB / 0.515 GB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.4811, allocations: 8 kB / 0.515 GB, free: 2.73 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 () * 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.0001336/0.4812, allocations: 126.9 kB / 0.5151 GB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.4813, allocations: 69.38 kB / 0.5152 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.4818, allocations: 151.4 kB / 0.5153 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4818, allocations: 4.078 kB / 0.5153 GB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4818, allocations: 3.938 kB / 0.5153 GB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4818, allocations: 4 kB / 0.5153 GB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008186/0.4827, allocations: 494.6 kB / 0.5158 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4827, allocations: 3.984 kB / 0.5158 GB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.4828, allocations: 15.94 kB / 0.5158 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4828, allocations: 0 / 0.5158 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.4829, allocations: 11.98 kB / 0.5158 GB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4829, allocations: 0 / 0.5158 GB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4829, allocations: 0 / 0.5158 GB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.4833, allocations: 265.7 kB / 0.5161 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.4835, allocations: 112.8 kB / 0.5162 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.4835, allocations: 4 kB / 0.5162 GB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.4837, allocations: 11.98 kB / 0.5162 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.4838, allocations: 19.92 kB / 0.5162 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.4838, allocations: 4 kB / 0.5162 GB, free: 1.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003833/0.4842, allocations: 233.3 kB / 0.5165 GB, free: 1.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4842, allocations: 3.938 kB / 0.5165 GB, free: 1.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004705/0.4847, allocations: 60.05 kB / 0.5165 GB, free: 1.055 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) * 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.001171/0.4859, allocations: 392.8 kB / 0.5169 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.4863, allocations: 123.8 kB / 0.517 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4863, allocations: 0 / 0.517 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4865, allocations: 51.86 kB / 0.5171 GB, free: 500 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.487, allocations: 48.39 kB / 0.5171 GB, free: 448 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.4878, allocations: 329.2 kB / 0.5174 GB, free: 88 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2656/0.7534, allocations: 0.7514 MB / 0.5182 GB, free: 85.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.7536, allocations: 25.92 kB / 0.5182 GB, free: 85.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.724e-06/0.7537, allocations: 0 / 0.5182 GB, free: 85.39 MB / 362.7 MB Notification: Performance of Templates: time 0.008537/0.7622, allocations: 3.142 MB / 0.5212 GB, free: 85.24 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe 2>&1)