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.002145/0.002145, allocations: 181 kB / 8.049 MB, free: 1.027 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.133/2.133, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001103/0.001103, allocations: 92.58 kB / 261.8 MB, free: 13.46 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.1419/0.1419, allocations: 12.59 MB / 322.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.043e-05, allocations: 4 kB / 378.9 MB, free: 75.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.08983, allocations: 50.38 MB / 429.3 MB, free: 24.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.5428, allocations: 81.19 MB / 0.4985 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5431, allocations: 63.84 kB / 0.4986 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02582/0.569, allocations: 5.772 MB / 0.5042 GB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.569, allocations: 4.75 kB / 0.5042 GB, free: 10.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.687e-05/0.5691, allocations: 3.781 kB / 0.5042 GB, free: 10.77 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.0006874/0.5698, allocations: 0.4894 MB / 0.5047 GB, free: 10.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5698, allocations: 7.406 kB / 0.5047 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.5699, allocations: 22.94 kB / 0.5047 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.5705, allocations: 293.8 kB / 0.505 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.5705, allocations: 3.812 kB / 0.505 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.5705, allocations: 7.828 kB / 0.505 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001674/0.5707, allocations: 45.02 kB / 0.5051 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.5711, allocations: 164.8 kB / 0.5052 GB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5711, allocations: 0 / 0.5052 GB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.5711, allocations: 3.938 kB / 0.5052 GB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5711, allocations: 0 / 0.5052 GB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/0.572, allocations: 402.8 kB / 0.5056 GB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.5723, allocations: 112.4 kB / 0.5057 GB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.5724, allocations: 51.42 kB / 0.5058 GB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.5724, allocations: 0 / 0.5058 GB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.5726, allocations: 87.98 kB / 0.5059 GB, free: 9.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.5726, allocations: 0 / 0.5059 GB, free: 9.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004082/0.573, allocations: 147.2 kB / 0.506 GB, free: 9.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.5731, allocations: 140.3 kB / 0.5061 GB, free: 9.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.5735, allocations: 283.8 kB / 0.5064 GB, free: 9.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.5736, allocations: 29.39 kB / 0.5064 GB, free: 9.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.5737, allocations: 131.5 kB / 0.5066 GB, free: 9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.5738, allocations: 26.92 kB / 0.5066 GB, free: 8.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.5738, allocations: 0 / 0.5066 GB, free: 8.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.5739, allocations: 337 kB / 0.5069 GB, free: 8.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-05/0.574, allocations: 26.88 kB / 0.5069 GB, free: 8.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.5741, allocations: 116.6 kB / 0.507 GB, free: 8.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.5742, allocations: 44.86 kB / 0.5071 GB, free: 8.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5743, allocations: 4 kB / 0.5071 GB, free: 8.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003491/0.5746, allocations: 148.3 kB / 0.5072 GB, free: 8.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5747, allocations: 11.48 kB / 0.5072 GB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.5747, allocations: 0 / 0.5072 GB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.5747, allocations: 3.688 kB / 0.5072 GB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.5749, allocations: 22.61 kB / 0.5073 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5749, allocations: 3.875 kB / 0.5073 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.5751, allocations: 8 kB / 0.5073 GB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.5751, allocations: 15.61 kB / 0.5073 GB, free: 8.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 () * 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.0001087/0.5753, allocations: 120.6 kB / 0.5074 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.5754, allocations: 64.22 kB / 0.5075 GB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.5758, allocations: 134.2 kB / 0.5076 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.5758, allocations: 3.969 kB / 0.5076 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.5758, allocations: 3.938 kB / 0.5076 GB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5758, allocations: 0 / 0.5076 GB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.5766, allocations: 469.1 kB / 0.5081 GB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5766, allocations: 0 / 0.5081 GB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.5767, allocations: 11.83 kB / 0.5081 GB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.5768, allocations: 7.797 kB / 0.5081 GB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.5768, allocations: 0 / 0.5081 GB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5768, allocations: 3.906 kB / 0.5081 GB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5768, allocations: 0 / 0.5081 GB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.5772, allocations: 256.8 kB / 0.5083 GB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.5773, allocations: 119.6 kB / 0.5084 GB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.5773, allocations: 3.5 kB / 0.5084 GB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.5775, allocations: 7.844 kB / 0.5084 GB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.5776, allocations: 14.8 kB / 0.5085 GB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.5776, allocations: 3.969 kB / 0.5085 GB, free: 7.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002922/0.5779, allocations: 230.6 kB / 0.5087 GB, free: 7.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5779, allocations: 0 / 0.5087 GB, free: 7.496 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004909/0.5784, allocations: 57.97 kB / 0.5087 GB, free: 7.484 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) * 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.0009985/0.5795, allocations: 371.1 kB / 0.5091 GB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.5799, allocations: 110.8 kB / 0.5092 GB, free: 7.184 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5799, allocations: 320 / 0.5092 GB, free: 7.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.58, allocations: 41.62 kB / 0.5092 GB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.5805, allocations: 46.28 kB / 0.5093 GB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.5813, allocations: 295.8 kB / 0.5096 GB, free: 7.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.5815, allocations: 0.7524 MB / 0.5103 GB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.5817, allocations: 33.16 kB / 0.5103 GB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.5818, allocations: 25.95 kB / 0.5104 GB, free: 6.242 MB / 330.7 MB Notification: Performance of SimCode: time 1.103e-06/0.5818, allocations: 0 / 0.5104 GB, free: 6.242 MB / 330.7 MB Notification: Performance of Templates: time 0.008954/0.5908, allocations: 2.685 MB / 0.513 GB, free: 4.902 MB / 330.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)