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.0009886/0.0009885, allocations: 167.9 kB / 16.8 MB, free: 4.879 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.718/1.718, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008085/0.0008083, allocations: 90.33 kB / 271.3 MB, free: 8.266 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.09423/0.09423, allocations: 12.6 MB / 332.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004836, allocations: 20 kB / 393.2 MB, free: 65.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 50.37 MB / 443.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4152/0.5252, allocations: 82 MB / 0.5133 GB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.5255, allocations: 66.33 kB / 0.5133 GB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01647/0.542, allocations: 5.832 MB / 0.519 GB, free: 8.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5421, allocations: 0 / 0.519 GB, free: 8.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.5421, allocations: 4 kB / 0.519 GB, free: 8.906 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.0007039/0.5428, allocations: 0.5395 MB / 0.5196 GB, free: 8.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5429, allocations: 8.031 kB / 0.5196 GB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.686e-05/0.543, allocations: 20.75 kB / 0.5196 GB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.5434, allocations: 299.1 kB / 0.5199 GB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.5434, allocations: 7.812 kB / 0.5199 GB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.5434, allocations: 8.375 kB / 0.5199 GB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.5438, allocations: 175.7 kB / 0.5201 GB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.5438, allocations: 4.188 kB / 0.5201 GB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.5439, allocations: 7.938 kB / 0.5201 GB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5439, allocations: 0 / 0.5201 GB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.544, allocations: 54.58 kB / 0.5201 GB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.5447, allocations: 431.6 kB / 0.5205 GB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.545, allocations: 134 kB / 0.5207 GB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.5451, allocations: 47.45 kB / 0.5207 GB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.5451, allocations: 0 / 0.5207 GB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.5453, allocations: 96.61 kB / 0.5208 GB, free: 7.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.5453, allocations: 0 / 0.5208 GB, free: 7.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004419/0.5458, allocations: 187.9 kB / 0.521 GB, free: 6.949 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.5459, allocations: 139.4 kB / 0.5211 GB, free: 6.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.5462, allocations: 320.4 kB / 0.5214 GB, free: 6.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.5462, allocations: 33.45 kB / 0.5215 GB, free: 6.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.5463, allocations: 140.8 kB / 0.5216 GB, free: 6.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.5463, allocations: 29.8 kB / 0.5216 GB, free: 6.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.5463, allocations: 2.875 kB / 0.5216 GB, free: 6.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.5464, allocations: 334.9 kB / 0.5219 GB, free: 6.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.5465, allocations: 36.03 kB / 0.522 GB, free: 6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.5466, allocations: 129.4 kB / 0.5221 GB, free: 5.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.5468, allocations: 118.3 kB / 0.5222 GB, free: 5.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5468, allocations: 4 kB / 0.5222 GB, free: 5.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002875/0.5471, allocations: 174 kB / 0.5224 GB, free: 5.609 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5471, allocations: 4 kB / 0.5224 GB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5472, allocations: 0 / 0.5224 GB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5472, allocations: 7.938 kB / 0.5224 GB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.5473, allocations: 23.92 kB / 0.5224 GB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5473, allocations: 4 kB / 0.5224 GB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-05/0.5474, allocations: 15.78 kB / 0.5224 GB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.5474, allocations: 8 kB / 0.5224 GB, free: 5.551 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.0001243/0.5476, allocations: 164.7 kB / 0.5226 GB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.5477, allocations: 70.53 kB / 0.5227 GB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.5479, allocations: 149.8 kB / 0.5228 GB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.548, allocations: 0 / 0.5228 GB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.548, allocations: 0 / 0.5228 GB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.548, allocations: 4 kB / 0.5228 GB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.5485, allocations: 0.496 MB / 0.5233 GB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5485, allocations: 0 / 0.5233 GB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.5486, allocations: 19.92 kB / 0.5233 GB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5486, allocations: 288 / 0.5233 GB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5486, allocations: 7.25 kB / 0.5233 GB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5486, allocations: 0 / 0.5233 GB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5486, allocations: 3.938 kB / 0.5233 GB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.5489, allocations: 264 kB / 0.5236 GB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.549, allocations: 116.7 kB / 0.5237 GB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.549, allocations: 3.938 kB / 0.5237 GB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.5491, allocations: 7.984 kB / 0.5237 GB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.5492, allocations: 14.92 kB / 0.5237 GB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.5492, allocations: 15.88 kB / 0.5237 GB, free: 4.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.5494, allocations: 231.7 kB / 0.524 GB, free: 4.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5494, allocations: 4 kB / 0.524 GB, free: 4.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.5498, allocations: 59.27 kB / 0.524 GB, free: 4.047 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.0008674/0.5506, allocations: 434.8 kB / 0.5244 GB, free: 3.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.551, allocations: 133 kB / 0.5246 GB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.551, allocations: 0 / 0.5246 GB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.5511, allocations: 45.92 kB / 0.5246 GB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.5515, allocations: 59.5 kB / 0.5247 GB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.5521, allocations: 424.9 kB / 0.5251 GB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.5523, allocations: 0.743 MB / 0.5258 GB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.5525, allocations: 37.52 kB / 0.5258 GB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.5525, allocations: 26.69 kB / 0.5259 GB, free: 2.215 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5525, allocations: 0 / 0.5259 GB, free: 2.215 MB / 330.7 MB Notification: Performance of Templates: time 0.006571/0.5591, allocations: 2.901 MB / 0.5287 GB, free: 15.34 MB / 346.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)