Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.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.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 100.9 kB / 16.31 MB, free: 5.879 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.001694/0.001693, allocations: 192.4 kB / 17.24 MB, free: 5.539 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.816/1.816, allocations: 205.1 MB / 223.1 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08435/0.08435, allocations: 12.59 MB / 283.1 MB, free: 15.47 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.002353/0.002353, allocations: 86.84 kB / 343.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3465, allocations: 49.38 MB / 392.9 MB, free: 49.17 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.004411/0.351, allocations: 1.83 MB / 394.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3529, allocations: 0.6969 MB / 395.4 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.3533, allocations: 13.19 kB / 395.4 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.3538, allocations: 30.31 kB / 395.4 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.3539, allocations: 28.62 kB / 395.5 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.3546, allocations: 129.3 kB / 395.6 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004596/0.3551, allocations: 200.3 kB / 395.8 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.3556, allocations: 115.3 kB / 395.9 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.3559, allocations: 96.27 kB / 396 MB, free: 47.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.3561, allocations: 94.14 kB / 396.1 MB, free: 47.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.3562, allocations: 15.47 kB / 396.1 MB, free: 47.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.838e-05/0.3563, allocations: 14.12 kB / 396.1 MB, free: 47.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.3564, allocations: 59.44 kB / 396.2 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.3566, allocations: 99.78 kB / 396.3 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.357, allocations: 210.1 kB / 396.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.357, allocations: 0 / 396.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.3571, allocations: 1.562 kB / 396.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.3571, allocations: 0 / 396.5 MB, free: 46.84 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001047/0.3581, allocations: 0.5246 MB / 397 MB, free: 46.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.3582, allocations: 12.58 kB / 397 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.3584, allocations: 31.62 kB / 397 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.3588, allocations: 265.3 kB / 397.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.3588, allocations: 19.97 kB / 397.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.3589, allocations: 20.31 kB / 397.3 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.36, allocations: 0.6467 MB / 398 MB, free: 45.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3601, allocations: 5 kB / 398 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3601, allocations: 7.281 kB / 398 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.3602, allocations: 16.67 kB / 398 MB, free: 45.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.3605, allocations: 123.7 kB / 398.1 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008927/0.3614, allocations: 1.033 MB / 399.2 MB, free: 44.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.3621, allocations: 0.7225 MB / 399.9 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.3624, allocations: 239.8 kB / 400.1 MB, free: 43.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/0.3625, allocations: 10.05 kB / 400.1 MB, free: 43.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.3627, allocations: 97.72 kB / 400.2 MB, free: 43.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 4.739e-06/0.3627, allocations: 0 / 400.2 MB, free: 43.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.0008383/0.3635, allocations: 406.3 kB / 400.6 MB, free: 43.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.3637, allocations: 350.2 kB / 401 MB, free: 42.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.364, allocations: 236.3 kB / 401.2 MB, free: 42.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.364, allocations: 36.11 kB / 401.2 MB, free: 42.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.3641, allocations: 116.8 kB / 401.4 MB, free: 42.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.3642, allocations: 39.41 kB / 401.4 MB, free: 42.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3643, allocations: 88.12 kB / 401.5 MB, free: 42.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.3644, allocations: 337.5 kB / 401.8 MB, free: 42.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.3645, allocations: 52.66 kB / 401.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.3647, allocations: 312.2 kB / 402.2 MB, free: 41.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.3651, allocations: 402.4 kB / 402.6 MB, free: 41.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3651, allocations: 2.75 kB / 402.6 MB, free: 41.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006477/0.3658, allocations: 373.9 kB / 402.9 MB, free: 41.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.3658, allocations: 9.219 kB / 402.9 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.3658, allocations: 8.75 kB / 402.9 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.749e-05/0.3659, allocations: 13.03 kB / 403 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.366, allocations: 35.48 kB / 403 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.223e-05/0.366, allocations: 24.23 kB / 403 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3663, allocations: 34.5 kB / 403 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.3663, allocations: 24.84 kB / 403.1 MB, free: 40.96 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 49 ($whenCondition1,booleanConstant.pulseStart,$PRE.booleanConstant.pulseStart,booleanConstant.y,superSample1.y,superSample1.u,subSample1.y,UnitDelay1.y,$CLKPRE.UnitDelay1.u,UnitDelay1.u,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,fractionalDelay.y,backSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample3.y,booleanConstant1[3].y,booleanConstant1[2].y,booleanConstant1[1].y,shiftSample1.u,subSample1.u,assignClock2.y[3],assignClock2.y[2],assignClock2.y[1],assignClock2.u[3],assignClock2.u[2],assignClock2.u[1],sample1.y[3],sample1.y[2],sample1.y[1],sample2.y,hold1.y,hold1.u,assignClock1.y,assignClock1.u,ClockedSignalToSquare.y,$CLKPRE.ClockedSignalToSquare.y2,ClockedSignalToSquare.y2,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 4 (UnitDelay1.u,upSample1.b_super,upSample1.b,ClockedSignalToSquare.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002305/0.3666, allocations: 193.4 kB / 403.3 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/0.367, allocations: 277.7 kB / 403.5 MB, free: 40.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.3671, allocations: 37.48 kB / 403.6 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.3671, allocations: 7.484 kB / 403.6 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3671, allocations: 16.42 kB / 403.6 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3672, allocations: 10.92 kB / 403.6 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.3674, allocations: 260.5 kB / 403.9 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.3674, allocations: 3.625 kB / 403.9 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.3674, allocations: 15.77 kB / 403.9 MB, free: 40.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.3675, allocations: 8.5 kB / 403.9 MB, free: 40.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3675, allocations: 11.97 kB / 403.9 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.3675, allocations: 8.422 kB / 403.9 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3675, allocations: 2.531 kB / 403.9 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.368, allocations: 396 kB / 404.3 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.3681, allocations: 116.3 kB / 404.4 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.3681, allocations: 18.17 kB / 404.4 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3682, allocations: 9.094 kB / 404.4 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.3683, allocations: 13.77 kB / 404.4 MB, free: 39.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.3683, allocations: 16.34 kB / 404.5 MB, free: 39.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3685, allocations: 153.6 kB / 404.6 MB, free: 39.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3685, allocations: 0 / 404.6 MB, free: 39.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.3689, allocations: 50.06 kB / 404.7 MB, free: 39.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition1,booleanConstant.y,booleanConstant.pulseStart,ClockedSignalToSquare.y,hold1.y,superSample1.y,subSample1.y,superSample1.u,upSample1.y,upSample1.b_super,upSample1.u_super,UnitDelay1.u,UnitDelay1.y,fractionalDelay.y,backSample1.y,shiftSample1.y,ClockedSignalToSquare.u,backSample1.u,assignClock1.u,assignClock1.y,hold1.u,sample2.y,sample1.y[1],sample1.y[2],sample1.y[3],assignClock2.u[1],assignClock2.u[2],assignClock2.u[3],assignClock2.y[1],assignClock2.y[2],assignClock2.y[3],subSample1.u,shiftSample1.u,booleanConstant1[1].y,booleanConstant1[2].y,booleanConstant1[3].y,sample3.y,upSample1.u,upSample1.dummy,upSample1.b,fractionalDelay.u,fractionalDelay.u_buffer[1],ClockedSignalToSquare.y2) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,UnitDelay1.u,upSample1.b,ClockedSignalToSquare.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000154/0.369, allocations: 130.6 kB / 404.8 MB, free: 39.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005356/0.3696, allocations: 288.6 kB / 405.1 MB, free: 39.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.3696, allocations: 0 / 405.1 MB, free: 39.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.3697, allocations: 20.89 kB / 405.1 MB, free: 39.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.3704, allocations: 219.1 kB / 405.3 MB, free: 39.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.3713, allocations: 0.5378 MB / 405.8 MB, free: 39.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3716, allocations: 0.7733 MB / 406.6 MB, free: 38.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.844e-05/0.3717, allocations: 34.77 kB / 406.7 MB, free: 38.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.3718, allocations: 30.16 kB / 406.7 MB, free: 38.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3718, allocations: 0 / 406.7 MB, free: 38.25 MB / 318.1 MB Notification: Performance of Templates: time 0.006166/0.378, allocations: 2.904 MB / 409.6 MB, free: 36.1 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe 2>&1)