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.00224/0.00224, allocations: 177.8 kB / 8.406 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.3 MB / 214.1 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 78.72 kB / 262.1 MB, free: 1.688 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.1/0.1, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.819e-05, allocations: 4 kB / 378.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4004, allocations: 50.36 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.5401, allocations: 81.2 MB / 0.4985 GB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.5403, allocations: 63.97 kB / 0.4986 GB, free: 1.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0258/0.5662, allocations: 5.766 MB / 0.5042 GB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5662, allocations: 0 / 0.5042 GB, free: 11.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.953e-05/0.5663, allocations: 12 kB / 0.5042 GB, free: 11.27 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.000798/0.5671, allocations: 495.5 kB / 0.5047 GB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5671, allocations: 11.97 kB / 0.5047 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.5672, allocations: 23.72 kB / 0.5047 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.5679, allocations: 293.5 kB / 0.505 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.5679, allocations: 4 kB / 0.505 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.568, allocations: 4 kB / 0.505 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001822/0.5682, allocations: 47.98 kB / 0.5051 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.5686, allocations: 155.8 kB / 0.5052 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5686, allocations: 4 kB / 0.5052 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.5686, allocations: 3.984 kB / 0.5052 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5686, allocations: 0 / 0.5052 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.5695, allocations: 406 kB / 0.5056 GB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.5698, allocations: 109.4 kB / 0.5057 GB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.57, allocations: 45.72 kB / 0.5057 GB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.57, allocations: 7.922 kB / 0.5058 GB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.5704, allocations: 83.39 kB / 0.5058 GB, free: 9.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 4.007e-06/0.5704, allocations: 0 / 0.5058 GB, free: 9.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006423/0.571, allocations: 141.3 kB / 0.506 GB, free: 9.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.5712, allocations: 144.4 kB / 0.5061 GB, free: 9.105 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.572, allocations: 280.5 kB / 0.5064 GB, free: 8.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.5721, allocations: 25.7 kB / 0.5064 GB, free: 8.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.5723, allocations: 186.5 kB / 0.5066 GB, free: 8.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/0.5724, allocations: 27.66 kB / 0.5066 GB, free: 8.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.5724, allocations: 0 / 0.5066 GB, free: 8.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.5726, allocations: 318.8 kB / 0.5069 GB, free: 8.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.5728, allocations: 28 kB / 0.5069 GB, free: 8.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.5731, allocations: 123 kB / 0.507 GB, free: 8.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.5733, allocations: 43.92 kB / 0.5071 GB, free: 8.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.5733, allocations: 4 kB / 0.5071 GB, free: 8.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005808/0.5739, allocations: 133.4 kB / 0.5072 GB, free: 7.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.574, allocations: 7.953 kB / 0.5072 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.574, allocations: 4 kB / 0.5072 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.5741, allocations: 96 / 0.5072 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.5744, allocations: 31.92 kB / 0.5073 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.5744, allocations: 0 / 0.5073 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.5748, allocations: 16.08 kB / 0.5073 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.5748, allocations: 11.94 kB / 0.5073 GB, free: 7.836 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.0001821/0.575, allocations: 107.2 kB / 0.5074 GB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.5753, allocations: 65.41 kB / 0.5075 GB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/0.5759, allocations: 139.4 kB / 0.5076 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.5759, allocations: 4 kB / 0.5076 GB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.576, allocations: 0 / 0.5076 GB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.576, allocations: 0 / 0.5076 GB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.5773, allocations: 463.2 kB / 0.508 GB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5773, allocations: 0 / 0.508 GB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.5775, allocations: 19.97 kB / 0.5081 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/0.5776, allocations: 7.953 kB / 0.5081 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.5776, allocations: 0 / 0.5081 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.5776, allocations: 4.125 kB / 0.5081 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5777, allocations: 4 kB / 0.5081 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.5783, allocations: 267.2 kB / 0.5083 GB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.5786, allocations: 112.8 kB / 0.5084 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.5787, allocations: 4 kB / 0.5084 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.579, allocations: 4 kB / 0.5084 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.5791, allocations: 11.98 kB / 0.5084 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.5791, allocations: 7.984 kB / 0.5085 GB, free: 6.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005812/0.5797, allocations: 228.5 kB / 0.5087 GB, free: 6.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.183e-06/0.5798, allocations: 7.938 kB / 0.5087 GB, free: 6.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008224/0.5806, allocations: 48.06 kB / 0.5087 GB, free: 6.258 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.001735/0.5824, allocations: 368.2 kB / 0.5091 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006431/0.5831, allocations: 111.9 kB / 0.5092 GB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5831, allocations: 4.312 kB / 0.5092 GB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.5833, allocations: 32 kB / 0.5092 GB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.5841, allocations: 51.75 kB / 0.5093 GB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.5854, allocations: 328.1 kB / 0.5096 GB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.586, allocations: 0.7557 MB / 0.5103 GB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.5862, allocations: 27.42 kB / 0.5103 GB, free: 4.539 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5862, allocations: 0 / 0.5103 GB, free: 4.539 MB / 362.7 MB Notification: Performance of Templates: time 0.01314/0.5994, allocations: 3.125 MB / 0.5134 GB, free: 1.414 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)