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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.0009871/0.0009872, allocations: 177.6 kB / 8.045 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 1.405/1.405, allocations: 205.3 MB / 213.8 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 94.28 kB / 261.8 MB, free: 1.609 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.07317/0.07317, allocations: 12.6 MB / 322.3 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.255e-05, allocations: 4 kB / 378.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2649, allocations: 50.38 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.3718, allocations: 79.31 MB / 0.4967 GB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.3721, allocations: 59.97 kB / 0.4967 GB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.3872, allocations: 5.698 MB / 0.5023 GB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3872, allocations: 0 / 0.5023 GB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.3873, allocations: 8 kB / 0.5023 GB, free: 13.16 MB / 362.7 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.0005855/0.3879, allocations: 463.8 kB / 0.5028 GB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3879, allocations: 12.03 kB / 0.5028 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.388, allocations: 31.62 kB / 0.5028 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3883, allocations: 264.4 kB / 0.5031 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.3884, allocations: 15.95 kB / 0.5031 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.3884, allocations: 12 kB / 0.5031 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002488/0.3887, allocations: 125.1 kB / 0.5032 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.3895, allocations: 0.5786 MB / 0.5038 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3895, allocations: 7.938 kB / 0.5038 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.3896, allocations: 4 kB / 0.5038 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3896, allocations: 4 kB / 0.5038 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007581/0.3903, allocations: 0.958 MB / 0.5047 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.3909, allocations: 0.6735 MB / 0.5054 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.3911, allocations: 210.5 kB / 0.5056 GB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.3912, allocations: 19.98 kB / 0.5056 GB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.3913, allocations: 89.88 kB / 0.5057 GB, free: 9.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.276e-06/0.3913, allocations: 4 kB / 0.5057 GB, free: 9.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.0004771/0.3918, allocations: 267.8 kB / 0.5059 GB, free: 8.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.392, allocations: 340.5 kB / 0.5063 GB, free: 8.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3922, allocations: 178.1 kB / 0.5064 GB, free: 8.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3922, allocations: 25.7 kB / 0.5065 GB, free: 8.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.3923, allocations: 116.8 kB / 0.5066 GB, free: 8.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3923, allocations: 35.77 kB / 0.5066 GB, free: 8.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-06/0.3924, allocations: 0 / 0.5066 GB, free: 8.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3925, allocations: 338.8 kB / 0.5069 GB, free: 7.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.3926, allocations: 40.88 kB / 0.507 GB, free: 7.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.3928, allocations: 294.6 kB / 0.5072 GB, free: 7.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.393, allocations: 107.8 kB / 0.5074 GB, free: 7.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.393, allocations: 0 / 0.5074 GB, free: 7.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004469/0.3934, allocations: 317 kB / 0.5077 GB, free: 6.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3935, allocations: 8 kB / 0.5077 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3935, allocations: 12 kB / 0.5077 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.3935, allocations: 19.94 kB / 0.5077 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.3936, allocations: 28.55 kB / 0.5077 GB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.3936, allocations: 15.94 kB / 0.5077 GB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.3938, allocations: 23.98 kB / 0.5078 GB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.3938, allocations: 20 kB / 0.5078 GB, free: 6.859 MB / 362.7 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,fractionalDelay.y,backSample1.y,superSample1.u,subSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.y,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.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 () * 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.0001314/0.394, allocations: 154.1 kB / 0.5079 GB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.3943, allocations: 245.1 kB / 0.5082 GB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.3944, allocations: 37.89 kB / 0.5082 GB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3944, allocations: 4 kB / 0.5082 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3944, allocations: 7.953 kB / 0.5082 GB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3944, allocations: 7.984 kB / 0.5082 GB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.3946, allocations: 194.1 kB / 0.5084 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3947, allocations: 4 kB / 0.5084 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.3947, allocations: 24.05 kB / 0.5084 GB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.3947, allocations: 4 kB / 0.5084 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3948, allocations: 4 kB / 0.5084 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3948, allocations: 12.12 kB / 0.5084 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3948, allocations: 3.938 kB / 0.5084 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.3952, allocations: 478.7 kB / 0.5089 GB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.3953, allocations: 104.8 kB / 0.509 GB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3954, allocations: 4 kB / 0.509 GB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.975e-05/0.3955, allocations: 7.984 kB / 0.509 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.3955, allocations: 15.98 kB / 0.509 GB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3955, allocations: 16 kB / 0.509 GB, free: 5.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.3956, allocations: 121.2 kB / 0.5092 GB, free: 5.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3956, allocations: 0 / 0.5092 GB, free: 5.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.396, allocations: 32 kB / 0.5092 GB, free: 5.23 MB / 362.7 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,fractionalDelay.y,backSample1.y,subSample1.y,superSample1.u,shiftSample1.y,ClockedSignalToSquare.u,backSample1.u,upSample1.y,upSample1.b_super,upSample1.u_super,UnitDelay1.u,UnitDelay1.y,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * 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.0001359/0.3961, allocations: 118.1 kB / 0.5093 GB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.3964, allocations: 219.9 kB / 0.5095 GB, free: 4.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3965, allocations: 2.438 kB / 0.5095 GB, free: 4.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.3965, allocations: 15.98 kB / 0.5095 GB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.397, allocations: 187.5 kB / 0.5097 GB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.3978, allocations: 407.3 kB / 0.5101 GB, free: 4.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.3982, allocations: 0.7839 MB / 0.5109 GB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.785e-05/0.3983, allocations: 31.27 kB / 0.5109 GB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.3984, allocations: 35.38 kB / 0.5109 GB, free: 3.359 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3984, allocations: 0 / 0.5109 GB, free: 3.359 MB / 362.7 MB Notification: Performance of Templates: time 0.005945/0.4043, allocations: 2.323 MB / 0.5132 GB, free: 1.043 MB / 362.7 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)