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/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/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.001058/0.001058, allocations: 181.4 kB / 17.46 MB, free: 4.359 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.381/1.381, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007805/0.0007806, allocations: 90.36 kB / 272 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06133/0.06133, allocations: 12.19 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003776, allocations: 16 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07756/0.07796, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2679/0.3458, allocations: 81.94 MB / 0.5126 GB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.3461, allocations: 66.5 kB / 0.5127 GB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01353/0.3596, allocations: 5.833 MB / 0.5184 GB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3597, allocations: 0 / 0.5184 GB, free: 10.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.3597, allocations: 4.375 kB / 0.5184 GB, free: 10.18 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.000648/0.3604, allocations: 0.5266 MB / 0.5189 GB, free: 9.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3604, allocations: 12.03 kB / 0.5189 GB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.3605, allocations: 28.64 kB / 0.519 GB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.3609, allocations: 292.4 kB / 0.5192 GB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.361, allocations: 7.75 kB / 0.5192 GB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.361, allocations: 11.69 kB / 0.5193 GB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3613, allocations: 176.5 kB / 0.5194 GB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3613, allocations: 192 / 0.5194 GB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3614, allocations: 11.69 kB / 0.5194 GB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3614, allocations: 7.938 kB / 0.5194 GB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3615, allocations: 49.33 kB / 0.5195 GB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.3621, allocations: 434.2 kB / 0.5199 GB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.3623, allocations: 130.8 kB / 0.52 GB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.3624, allocations: 47.77 kB / 0.5201 GB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.3625, allocations: 8 kB / 0.5201 GB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3626, allocations: 89.48 kB / 0.5202 GB, free: 8.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/0.3626, allocations: 0 / 0.5202 GB, free: 8.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003882/0.363, allocations: 188.6 kB / 0.5203 GB, free: 8.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3631, allocations: 132.5 kB / 0.5205 GB, free: 8.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3634, allocations: 323.8 kB / 0.5208 GB, free: 7.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3634, allocations: 29.7 kB / 0.5208 GB, free: 7.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.3635, allocations: 140.1 kB / 0.5209 GB, free: 7.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.3635, allocations: 22.98 kB / 0.521 GB, free: 7.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.3635, allocations: 3.312 kB / 0.521 GB, free: 7.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.3636, allocations: 339.4 kB / 0.5213 GB, free: 7.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.3637, allocations: 39.66 kB / 0.5213 GB, free: 7.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3638, allocations: 127.7 kB / 0.5215 GB, free: 7.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.364, allocations: 122.9 kB / 0.5216 GB, free: 7.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.364, allocations: 0 / 0.5216 GB, free: 7.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000263/0.3643, allocations: 176.8 kB / 0.5217 GB, free: 6.891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3643, allocations: 4 kB / 0.5217 GB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3643, allocations: 4 kB / 0.5217 GB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3643, allocations: 7.984 kB / 0.5218 GB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3644, allocations: 19.94 kB / 0.5218 GB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3644, allocations: 12.14 kB / 0.5218 GB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.3645, allocations: 7.938 kB / 0.5218 GB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3646, allocations: 4 kB / 0.5218 GB, free: 6.836 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.0001242/0.3647, allocations: 170 kB / 0.522 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.3648, allocations: 65.28 kB / 0.522 GB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.365, allocations: 159.1 kB / 0.5222 GB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3651, allocations: 4.281 kB / 0.5222 GB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3651, allocations: 4 kB / 0.5222 GB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3651, allocations: 0 / 0.5222 GB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.3656, allocations: 0.4946 MB / 0.5227 GB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3656, allocations: 4 kB / 0.5227 GB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.3657, allocations: 11.98 kB / 0.5227 GB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3657, allocations: 0 / 0.5227 GB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3657, allocations: 7.812 kB / 0.5227 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3657, allocations: 0 / 0.5227 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3657, allocations: 3.938 kB / 0.5227 GB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.366, allocations: 265.8 kB / 0.5229 GB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.3661, allocations: 115.7 kB / 0.5231 GB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.3661, allocations: 7.625 kB / 0.5231 GB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.3662, allocations: 7.984 kB / 0.5231 GB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.3663, allocations: 14.23 kB / 0.5231 GB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3663, allocations: 4 kB / 0.5231 GB, free: 5.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.3665, allocations: 240.4 kB / 0.5233 GB, free: 5.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3665, allocations: 0 / 0.5233 GB, free: 5.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.3668, allocations: 55.11 kB / 0.5234 GB, free: 5.328 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.0008748/0.3677, allocations: 454 kB / 0.5238 GB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.368, allocations: 120.9 kB / 0.5239 GB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.368, allocations: 0 / 0.5239 GB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.141e-05/0.3681, allocations: 50.34 kB / 0.524 GB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3686, allocations: 55.06 kB / 0.524 GB, free: 4.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.3692, allocations: 459.1 kB / 0.5245 GB, free: 4.281 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3695, allocations: 0.7472 MB / 0.5252 GB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.3696, allocations: 26.98 kB / 0.5252 GB, free: 3.488 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3696, allocations: 0 / 0.5252 GB, free: 3.488 MB / 330.7 MB Notification: Performance of Templates: time 0.00509/0.3747, allocations: 3.148 MB / 0.5283 GB, free: 372 kB / 330.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)