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.0009032/0.0009032, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.564/1.564, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0008268/0.0008269, allocations: 97.95 kB / 270.9 MB, free: 8.34 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.07017/0.07017, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 19.98 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.07863, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.001699/0.08036, allocations: 1.556 MB / 444.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.08151, allocations: 0.9798 MB / 445.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.08161, allocations: 4 kB / 445.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.0819, allocations: 59.8 kB / 445.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.08207, allocations: 79.7 kB / 445.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.08257, allocations: 191.6 kB / 445.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.08273, allocations: 155.6 kB / 446 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.08284, allocations: 29.55 kB / 446.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.08293, allocations: 71.62 kB / 446.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.08302, allocations: 71.67 kB / 446.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.08305, allocations: 4 kB / 446.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.08316, allocations: 43.98 kB / 446.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.08322, allocations: 51.81 kB / 446.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.08327, allocations: 53.58 kB / 446.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.08344, allocations: 175.9 kB / 446.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.08345, allocations: 0 / 446.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.08346, allocations: 0 / 446.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.08347, allocations: 0 / 446.5 MB, free: 12.25 MB / 298.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.0005489/0.08402, allocations: 0.5077 MB / 447 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.08406, allocations: 8.031 kB / 447.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.08412, allocations: 19.81 kB / 447.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.08437, allocations: 277.5 kB / 447.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.0844, allocations: 4 kB / 447.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.08442, allocations: 12 kB / 447.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.08473, allocations: 182.6 kB / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.08475, allocations: 0 / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.08477, allocations: 11.94 kB / 447.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.08478, allocations: 0 / 447.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.0849, allocations: 51.91 kB / 447.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.08538, allocations: 405.5 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.08562, allocations: 133.3 kB / 448.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.08571, allocations: 45.7 kB / 448.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.08575, allocations: 3.984 kB / 448.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.08592, allocations: 91.31 kB / 448.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.08593, allocations: 0 / 448.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003578/0.08629, allocations: 185.3 kB / 448.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.08635, allocations: 140.5 kB / 448.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.08659, allocations: 317 kB / 448.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.08661, allocations: 33.7 kB / 448.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.08667, allocations: 136 kB / 449.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.08671, allocations: 27.64 kB / 449.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.08672, allocations: 4 kB / 449.1 MB, free: 9.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.08678, allocations: 334.8 kB / 449.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.08686, allocations: 39.94 kB / 449.5 MB, free: 9.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.902e-05/0.08697, allocations: 108.6 kB / 449.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/0.08707, allocations: 51.92 kB / 449.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.08708, allocations: 0 / 449.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002311/0.08731, allocations: 165.2 kB / 449.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.08733, allocations: 4 kB / 449.8 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.08734, allocations: 4 kB / 449.8 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.08736, allocations: 4 kB / 449.8 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.08747, allocations: 28.45 kB / 449.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.08749, allocations: 4 kB / 449.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.08757, allocations: 11.98 kB / 449.8 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.08759, allocations: 4 kB / 449.8 MB, free: 8.641 MB / 298.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.0001117/0.08771, allocations: 176.5 kB / 450 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.08778, allocations: 65.64 kB / 450.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.08783, allocations: 25.7 kB / 450.1 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.08784, allocations: 8.031 kB / 450.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.08785, allocations: 0 / 450.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.08786, allocations: 4 kB / 450.1 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.08826, allocations: 470.2 kB / 450.6 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.08828, allocations: 128 / 450.6 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.08834, allocations: 23.92 kB / 450.6 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.08835, allocations: 4 kB / 450.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.08837, allocations: 0 / 450.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.08838, allocations: 0 / 450.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.08838, allocations: 4 kB / 450.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.08862, allocations: 256.1 kB / 450.8 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.08867, allocations: 108.8 kB / 451 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.08871, allocations: 4 kB / 451 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.0888, allocations: 8 kB / 451 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.08886, allocations: 7.984 kB / 451 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.08888, allocations: 11.98 kB / 451 MB, free: 7.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.08906, allocations: 236.4 kB / 451.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08907, allocations: 0 / 451.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.08933, allocations: 44.12 kB / 451.3 MB, free: 7.105 MB / 298.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 (14): * Single equations (assignments): 11 * 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.000748/0.09009, allocations: 431.4 kB / 451.7 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.09032, allocations: 107.8 kB / 451.8 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.09033, allocations: 0 / 451.8 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.09042, allocations: 36.23 kB / 451.8 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.0908, allocations: 56.44 kB / 451.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.0913, allocations: 441 kB / 452.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.09146, allocations: 0.7518 MB / 453.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.09151, allocations: 19.44 kB / 453.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.09152, allocations: 4 kB / 453.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of Templates: time 0.003894/0.09541, allocations: 3.073 MB / 456.2 MB, free: 2.137 MB / 298.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)