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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005392/0.005392, allocations: 88.56 kB / 15.91 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 198.4 kB / 16.83 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.1 MB / 222.7 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09105/0.09105, allocations: 12.59 MB / 282.6 MB, free: 8.906 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 79.89 kB / 342.8 MB, free: 21.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1424, allocations: 49.39 MB / 392.2 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.00463/0.1471, allocations: 1.95 MB / 394.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.1494, allocations: 1.026 MB / 395.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.1497, allocations: 4 kB / 395.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.1502, allocations: 63.78 kB / 395.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.1505, allocations: 83.72 kB / 395.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007489/0.1512, allocations: 203.6 kB / 395.5 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.1515, allocations: 163.6 kB / 395.7 MB, free: 232 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1516, allocations: 37.53 kB / 395.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1518, allocations: 79.56 kB / 395.8 MB, free: 116 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1519, allocations: 83.67 kB / 395.9 MB, free: 32 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1519, allocations: 4 kB / 395.9 MB, free: 28 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.1521, allocations: 59.98 kB / 395.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.1522, allocations: 55.73 kB / 396 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.346e-05/0.1523, allocations: 71.48 kB / 396 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.1526, allocations: 235.5 kB / 396.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1527, allocations: 0 / 396.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1527, allocations: 0 / 396.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1527, allocations: 0 / 396.3 MB, free: 15.61 MB / 302.1 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.0007841/0.1535, allocations: 0.5428 MB / 396.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1535, allocations: 8.031 kB / 396.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.1536, allocations: 24.66 kB / 396.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.1539, allocations: 278.8 kB / 397.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.154, allocations: 8.375 kB / 397.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.154, allocations: 12.12 kB / 397.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.1544, allocations: 186.5 kB / 397.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1544, allocations: 0 / 397.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1545, allocations: 7.984 kB / 397.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1545, allocations: 0 / 397.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1546, allocations: 47.97 kB / 397.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.1553, allocations: 409.4 kB / 397.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.1556, allocations: 125.3 kB / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.84e-05/0.1557, allocations: 45.7 kB / 397.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.1557, allocations: 4 kB / 397.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.156, allocations: 95.23 kB / 398 MB, free: 13.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.156, allocations: 4 kB / 398 MB, free: 13.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004739/0.1565, allocations: 185.3 kB / 398.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.1566, allocations: 132.5 kB / 398.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.1569, allocations: 324.9 kB / 398.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.157, allocations: 29.7 kB / 398.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1571, allocations: 136 kB / 398.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.1571, allocations: 27.64 kB / 398.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.1572, allocations: 41.7 kB / 398.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1573, allocations: 330.8 kB / 399.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.1574, allocations: 47.84 kB / 399.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1576, allocations: 112.6 kB / 399.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1578, allocations: 113.9 kB / 399.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1578, allocations: 4 kB / 399.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002901/0.1581, allocations: 177.2 kB / 399.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1581, allocations: 8 kB / 399.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1581, allocations: 0 / 399.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1582, allocations: 4 kB / 399.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1583, allocations: 23.92 kB / 399.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1583, allocations: 8.094 kB / 399.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.1584, allocations: 12.23 kB / 399.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1584, allocations: 4 kB / 399.7 MB, free: 11.81 MB / 302.1 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 (triggeredBooleanSampler.y,$PRE.triggeredBooleanSampler.y,$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,ClockedSignalToTrigger.y3,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y,$whenCondition1,$CLKPRE.ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.1586, allocations: 164 kB / 399.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/0.1587, allocations: 69.34 kB / 400 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.1587, allocations: 25.7 kB / 400 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1588, allocations: 4 kB / 400 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1588, allocations: 3.938 kB / 400 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1588, allocations: 384 / 400 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.1594, allocations: 478.2 kB / 400.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1594, allocations: 0 / 400.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.1594, allocations: 16 kB / 400.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.1595, allocations: 3.938 kB / 400.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1595, allocations: 3.984 kB / 400.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1595, allocations: 7.938 kB / 400.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1595, allocations: 0 / 400.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.1598, allocations: 248.3 kB / 400.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.1599, allocations: 100.8 kB / 400.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.16, allocations: 11.94 kB / 400.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.1601, allocations: 4 kB / 400.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.1602, allocations: 11.98 kB / 400.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.1602, allocations: 7.984 kB / 400.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.1604, allocations: 240.4 kB / 401.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1604, allocations: 0 / 401.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.1608, allocations: 43.94 kB / 401.1 MB, free: 10.29 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.1618, allocations: 435.8 kB / 401.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003896/0.1622, allocations: 103.9 kB / 401.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1622, allocations: 3.938 kB / 401.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1624, allocations: 39.98 kB / 401.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.1628, allocations: 61.72 kB / 401.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007629/0.1636, allocations: 442.1 kB / 402.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.1641, allocations: 0.744 MB / 402.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1642, allocations: 29.55 kB / 403 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.1643, allocations: 27.42 kB / 403 MB, free: 8.363 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1643, allocations: 0 / 403 MB, free: 8.363 MB / 302.1 MB Notification: Performance of Templates: time 0.007149/0.1714, allocations: 2.807 MB / 405.8 MB, free: 5.555 MB / 302.1 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)