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.0009258/0.0009257, allocations: 95.89 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 182 kB / 16.61 MB, free: 6.426 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.81/1.81, allocations: 205.4 MB / 222.8 MB, free: 5.668 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.08427/0.08426, allocations: 12.6 MB / 283.6 MB, free: 8.707 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.0007812/0.0007813, allocations: 24.94 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09104, allocations: 50.38 MB / 394.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.002314/0.09339, allocations: 1.482 MB / 396.4 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.09494, allocations: 0.6635 MB / 397 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.09522, allocations: 7.938 kB / 397 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.09556, allocations: 27.83 kB / 397.1 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.09569, allocations: 19.92 kB / 397.1 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.09633, allocations: 119.7 kB / 397.2 MB, free: 484 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.09662, allocations: 124.2 kB / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.09687, allocations: 89.7 kB / 397.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.09704, allocations: 71.64 kB / 397.5 MB, free: 196 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.09721, allocations: 67.56 kB / 397.5 MB, free: 128 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.09725, allocations: 4 kB / 397.6 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.202e-05/0.09729, allocations: 8 kB / 397.6 MB, free: 116 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.09737, allocations: 39.83 kB / 397.6 MB, free: 76 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.32e-05/0.09746, allocations: 57.58 kB / 397.7 MB, free: 12 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.09771, allocations: 151.9 kB / 397.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09773, allocations: 0 / 397.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.09774, allocations: 0 / 397.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.09776, allocations: 0 / 397.8 MB, free: 15.86 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009961/0.09876, allocations: 495.5 kB / 398.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.09882, allocations: 8.031 kB / 398.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.09895, allocations: 27.62 kB / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.09947, allocations: 267.9 kB / 398.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.09951, allocations: 20.5 kB / 398.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.09955, allocations: 24 kB / 398.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1006, allocations: 0.6275 MB / 399.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1006, allocations: 3.938 kB / 399.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.1008, allocations: 16 kB / 399.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/0.1008, allocations: 8 kB / 399.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.1011, allocations: 132.1 kB / 399.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1022, allocations: 1.032 MB / 400.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.1032, allocations: 0.7324 MB / 401.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.1032, allocations: 8.141 kB / 401.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1034, allocations: 98.03 kB / 401.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.607e-06/0.1034, allocations: 0 / 401.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.0008592/0.1043, allocations: 484.2 kB / 401.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002984/0.1046, allocations: 353 kB / 402.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.105, allocations: 230.9 kB / 402.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.105, allocations: 33.7 kB / 402.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1052, allocations: 121 kB / 402.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.1052, allocations: 27.8 kB / 402.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.1053, allocations: 12 kB / 402.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1055, allocations: 342.8 kB / 402.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1056, allocations: 52.84 kB / 402.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.1059, allocations: 311.5 kB / 403.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1061, allocations: 107.8 kB / 403.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1061, allocations: 4 kB / 403.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006891/0.1068, allocations: 373.4 kB / 403.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1068, allocations: 13.16 kB / 403.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.1068, allocations: 15.94 kB / 403.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.1069, allocations: 12 kB / 403.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.107, allocations: 31.86 kB / 403.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.107, allocations: 19.92 kB / 403.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.1073, allocations: 31.78 kB / 403.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.1073, allocations: 35.92 kB / 403.8 MB, free: 9.117 MB / 302.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.y,$PRE.booleanConstant.pulseStart,booleanConstant.pulseStart,superSample1.y,superSample1.u,subSample1.y,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,fractionalDelay.y,backSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,upSample1.b,$CLKPRE.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.u,hold1.y,assignClock1.y,assignClock1.u,ClockedSignalToSquare.y2,$CLKPRE.ClockedSignalToSquare.y2,ClockedSignalToSquare.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002602/0.1076, allocations: 187 kB / 404 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004717/0.1081, allocations: 284.8 kB / 404.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.727e-05/0.1082, allocations: 37.86 kB / 404.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.1082, allocations: 8 kB / 404.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.1082, allocations: 0 / 404.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1082, allocations: 8.172 kB / 404.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.1086, allocations: 269.5 kB / 404.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.1086, allocations: 4 kB / 404.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.1086, allocations: 15.92 kB / 404.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1087, allocations: 4 kB / 404.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.1087, allocations: 20.25 kB / 404.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.1087, allocations: 7.938 kB / 404.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.1087, allocations: 8 kB / 404.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.1094, allocations: 0.5022 MB / 405.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.1095, allocations: 108.8 kB / 405.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.1095, allocations: 16 kB / 405.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1097, allocations: 15.98 kB / 405.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1097, allocations: 4 kB / 405.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.1097, allocations: 23.94 kB / 405.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1099, allocations: 155.3 kB / 405.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1099, allocations: 0 / 405.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.1103, allocations: 48 kB / 405.5 MB, free: 7.219 MB / 302.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 (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.0002005/0.1105, allocations: 123.2 kB / 405.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004921/0.111, allocations: 249 kB / 405.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.1111, allocations: 4 kB / 405.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.1111, allocations: 19.92 kB / 405.9 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.1119, allocations: 201 kB / 406.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1131, allocations: 0.5898 MB / 406.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.1136, allocations: 0.7803 MB / 407.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1138, allocations: 31.39 kB / 407.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.1138, allocations: 27.42 kB / 407.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1138, allocations: 0 / 407.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of Templates: time 0.006868/0.1207, allocations: 2.521 MB / 410.1 MB, free: 2.602 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: