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.001499/0.001499, allocations: 186.2 kB / 16.44 MB, free: 5.672 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.919/1.919, allocations: 205.4 MB / 222.6 MB, free: 9.125 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.001142/0.001142, allocations: 98.91 kB / 270.9 MB, free: 8.359 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.0989/0.0989, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007353/0.0007353, allocations: 19.98 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08803, allocations: 50.37 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4126/0.5007, allocations: 81.95 MB / 0.512 GB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.501, allocations: 66.69 kB / 0.5121 GB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02322/0.5242, allocations: 5.839 MB / 0.5178 GB, free: 9.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5243, allocations: 0 / 0.5178 GB, free: 9.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.612e-05/0.5243, allocations: 4 kB / 0.5178 GB, free: 9.688 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.0008079/0.5251, allocations: 0.5356 MB / 0.5183 GB, free: 9.117 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5252, allocations: 8.031 kB / 0.5183 GB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.5253, allocations: 19.81 kB / 0.5183 GB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.5258, allocations: 290.8 kB / 0.5186 GB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.5258, allocations: 7.375 kB / 0.5186 GB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.5259, allocations: 15.5 kB / 0.5186 GB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.5263, allocations: 170.8 kB / 0.5188 GB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5263, allocations: 0 / 0.5188 GB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.5264, allocations: 7.562 kB / 0.5188 GB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5264, allocations: 0 / 0.5188 GB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.5266, allocations: 49.59 kB / 0.5188 GB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.5273, allocations: 433.7 kB / 0.5192 GB, free: 8.152 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.5277, allocations: 131.2 kB / 0.5194 GB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.5278, allocations: 7.922 kB / 0.5194 GB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.528, allocations: 89.58 kB / 0.5195 GB, free: 7.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.505e-06/0.528, allocations: 0 / 0.5195 GB, free: 7.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006068/0.5286, allocations: 187.2 kB / 0.5196 GB, free: 7.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.5287, allocations: 139.8 kB / 0.5198 GB, free: 7.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.5292, allocations: 296.9 kB / 0.5201 GB, free: 7.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.5292, allocations: 29.02 kB / 0.5201 GB, free: 7.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.5293, allocations: 190.6 kB / 0.5203 GB, free: 7.184 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.5294, allocations: 23.05 kB / 0.5203 GB, free: 7.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.5294, allocations: 7.562 kB / 0.5203 GB, free: 7.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.5295, allocations: 318.1 kB / 0.5206 GB, free: 6.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5296, allocations: 37.23 kB / 0.5206 GB, free: 6.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.5298, allocations: 124.7 kB / 0.5208 GB, free: 6.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.53, allocations: 46.42 kB / 0.5208 GB, free: 6.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.53, allocations: 4 kB / 0.5208 GB, free: 6.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004036/0.5304, allocations: 153.3 kB / 0.521 GB, free: 6.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5305, allocations: 8 kB / 0.521 GB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5305, allocations: 0 / 0.521 GB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5305, allocations: 4.234 kB / 0.521 GB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.5307, allocations: 28.23 kB / 0.521 GB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5307, allocations: 4 kB / 0.521 GB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.5309, allocations: 15.14 kB / 0.521 GB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.5309, allocations: 11.31 kB / 0.521 GB, free: 6.473 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 () * 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.0001886/0.5311, allocations: 169.7 kB / 0.5212 GB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.5313, allocations: 72.67 kB / 0.5213 GB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.5317, allocations: 143 kB / 0.5214 GB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5317, allocations: 4 kB / 0.5214 GB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5317, allocations: 0 / 0.5214 GB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.5318, allocations: 7.984 kB / 0.5214 GB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.5325, allocations: 0.496 MB / 0.5219 GB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5325, allocations: 0 / 0.5219 GB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.5327, allocations: 19.8 kB / 0.5219 GB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5327, allocations: 0 / 0.5219 GB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5327, allocations: 0 / 0.5219 GB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5327, allocations: 4 kB / 0.5219 GB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5327, allocations: 0 / 0.5219 GB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.5332, allocations: 272.9 kB / 0.5222 GB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.055e-05/0.5333, allocations: 116.6 kB / 0.5223 GB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.5334, allocations: 7.312 kB / 0.5223 GB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.5335, allocations: 7 kB / 0.5223 GB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.5336, allocations: 11.67 kB / 0.5223 GB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.5336, allocations: 7.984 kB / 0.5223 GB, free: 5.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003207/0.534, allocations: 242.3 kB / 0.5225 GB, free: 5.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.534, allocations: 0 / 0.5225 GB, free: 5.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004728/0.5345, allocations: 53.11 kB / 0.5226 GB, free: 4.957 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) * 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.001143/0.5356, allocations: 444.5 kB / 0.523 GB, free: 4.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004707/0.5361, allocations: 126.5 kB / 0.5231 GB, free: 4.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5361, allocations: 0 / 0.5231 GB, free: 4.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.5363, allocations: 53.16 kB / 0.5232 GB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.5368, allocations: 60.47 kB / 0.5232 GB, free: 4.352 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.5377, allocations: 456.7 kB / 0.5237 GB, free: 3.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.5379, allocations: 0.7541 MB / 0.5244 GB, free: 3.133 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.5381, allocations: 30.61 kB / 0.5244 GB, free: 3.105 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5381, allocations: 0 / 0.5244 GB, free: 3.105 MB / 330.7 MB Notification: Performance of Templates: time 0.006849/0.5449, allocations: 3.132 MB / 0.5275 GB, free: 15.99 MB / 346.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)