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.001565/0.001565, allocations: 180.4 kB / 15.8 MB, free: 6.34 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.809/1.809, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009744/0.0009744, allocations: 94.78 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07621/0.07621, allocations: 12.59 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003963, allocations: 11.56 kB / 392 MB, free: 54.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1218, allocations: 50.37 MB / 442.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.2374, allocations: 80.07 MB / 0.5102 GB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.2377, allocations: 55.97 kB / 0.5102 GB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.2541, allocations: 5.761 MB / 0.5159 GB, free: 4.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.2541, allocations: 0 / 0.5159 GB, free: 4.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.2542, allocations: 4 kB / 0.5159 GB, free: 4.906 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.0007144/0.2549, allocations: 0.4925 MB / 0.5164 GB, free: 4.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2549, allocations: 8.031 kB / 0.5164 GB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.255, allocations: 27.72 kB / 0.5164 GB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.2554, allocations: 260.3 kB / 0.5166 GB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.2554, allocations: 20.52 kB / 0.5167 GB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.2555, allocations: 24 kB / 0.5167 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.2564, allocations: 0.6351 MB / 0.5173 GB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2564, allocations: 0 / 0.5173 GB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.2565, allocations: 19.88 kB / 0.5173 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2565, allocations: 4 kB / 0.5173 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.2567, allocations: 135.6 kB / 0.5174 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.2576, allocations: 1.024 MB / 0.5184 GB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.2583, allocations: 0.7008 MB / 0.5191 GB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.2583, allocations: 16.05 kB / 0.5191 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2585, allocations: 101.8 kB / 0.5192 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.2585, allocations: 0 / 0.5192 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006375/0.2592, allocations: 397.2 kB / 0.5196 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.2594, allocations: 353.2 kB / 0.52 GB, free: 176 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1944/0.4538, allocations: 205.5 kB / 0.5202 GB, free: 85.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/0.4539, allocations: 34.83 kB / 0.5202 GB, free: 85.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.454, allocations: 116.6 kB / 0.5203 GB, free: 85.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.4541, allocations: 31.08 kB / 0.5203 GB, free: 85.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.4541, allocations: 11.28 kB / 0.5203 GB, free: 85.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.4542, allocations: 337.1 kB / 0.5207 GB, free: 85.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.4544, allocations: 53.7 kB / 0.5207 GB, free: 85.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.4547, allocations: 316.3 kB / 0.521 GB, free: 85.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.455, allocations: 106.7 kB / 0.5211 GB, free: 85.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.455, allocations: 2.844 kB / 0.5211 GB, free: 85.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008497/0.4559, allocations: 375.3 kB / 0.5215 GB, free: 84.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4559, allocations: 9.531 kB / 0.5215 GB, free: 84.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.456, allocations: 10.16 kB / 0.5215 GB, free: 84.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.96e-05/0.456, allocations: 16.12 kB / 0.5215 GB, free: 84.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4562, allocations: 32.11 kB / 0.5215 GB, free: 84.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.4562, allocations: 16.77 kB / 0.5216 GB, free: 84.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.4566, allocations: 28.67 kB / 0.5216 GB, free: 84.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.4567, allocations: 23.94 kB / 0.5216 GB, free: 84.95 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 () * 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.0002672/0.457, allocations: 190.3 kB / 0.5218 GB, free: 84.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006674/0.4576, allocations: 279.7 kB / 0.5221 GB, free: 84.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.4578, allocations: 38.69 kB / 0.5221 GB, free: 84.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.4578, allocations: 10.5 kB / 0.5221 GB, free: 84.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4578, allocations: 2.781 kB / 0.5221 GB, free: 84.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4578, allocations: 3.781 kB / 0.5221 GB, free: 84.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.4582, allocations: 247.7 kB / 0.5223 GB, free: 84.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.4582, allocations: 3.625 kB / 0.5224 GB, free: 84.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.4583, allocations: 20.77 kB / 0.5224 GB, free: 84.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.4583, allocations: 9.234 kB / 0.5224 GB, free: 84.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.4583, allocations: 12.41 kB / 0.5224 GB, free: 84.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.4583, allocations: 13.11 kB / 0.5224 GB, free: 84.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4584, allocations: 3.547 kB / 0.5224 GB, free: 84.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007793/0.4591, allocations: 0.4962 MB / 0.5229 GB, free: 84.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.4592, allocations: 105.5 kB / 0.523 GB, free: 84.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.4593, allocations: 13.7 kB / 0.523 GB, free: 84.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.4595, allocations: 17.12 kB / 0.523 GB, free: 84.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.4596, allocations: 15.14 kB / 0.523 GB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.4597, allocations: 16.48 kB / 0.5231 GB, free: 84.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.4599, allocations: 155.1 kB / 0.5232 GB, free: 84.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4599, allocations: 0 / 0.5232 GB, free: 84.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006538/0.4605, allocations: 48 kB / 0.5232 GB, free: 84.01 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 () * Number of clocked states: 4 (upSample1.b_super,UnitDelay1.u,upSample1.b,ClockedSignalToSquare.y2) * 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.0001707/0.4607, allocations: 137 kB / 0.5234 GB, free: 83.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006234/0.4614, allocations: 256.7 kB / 0.5236 GB, free: 83.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4614, allocations: 0.6875 kB / 0.5236 GB, free: 83.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.4615, allocations: 19.78 kB / 0.5236 GB, free: 83.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.4625, allocations: 210.6 kB / 0.5238 GB, free: 83.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.4637, allocations: 0.5725 MB / 0.5244 GB, free: 83.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4641, allocations: 0.7865 MB / 0.5252 GB, free: 82.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.4642, allocations: 30.09 kB / 0.5252 GB, free: 82.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.4643, allocations: 27.75 kB / 0.5252 GB, free: 82.79 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.4644, allocations: 0 / 0.5252 GB, free: 82.79 MB / 362.7 MB Notification: Performance of Templates: time 0.01039/0.4748, allocations: 2.549 MB / 0.5277 GB, free: 82.62 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)