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.001016/0.001016, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.497/1.497, allocations: 205.2 MB / 219 MB, free: 9.215 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.0008191/0.0008191, allocations: 91.52 kB / 267.1 MB, free: 9.285 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.08602/0.08602, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.164e-05, allocations: 4 kB / 386 MB, free: 69.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 50.39 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5609, allocations: 79.96 MB / 0.5042 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.5613, allocations: 61.8 kB / 0.5043 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01473/0.576, allocations: 5.743 MB / 0.5099 GB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5761, allocations: 0 / 0.5099 GB, free: 10.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.5762, allocations: 3.812 kB / 0.5099 GB, free: 10.32 MB / 330.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.0006012/0.5768, allocations: 474.3 kB / 0.5104 GB, free: 9.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.5768, allocations: 11.38 kB / 0.5104 GB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.5769, allocations: 30.78 kB / 0.5104 GB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.5773, allocations: 263.7 kB / 0.5106 GB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.5773, allocations: 17.73 kB / 0.5107 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.5774, allocations: 32.56 kB / 0.5107 GB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.5782, allocations: 0.6235 MB / 0.5113 GB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5782, allocations: 0 / 0.5113 GB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.5783, allocations: 10.53 kB / 0.5113 GB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.5783, allocations: 7.531 kB / 0.5113 GB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.5785, allocations: 130.9 kB / 0.5114 GB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.5792, allocations: 1.027 MB / 0.5125 GB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.5798, allocations: 0.6928 MB / 0.5131 GB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.58, allocations: 224 kB / 0.5133 GB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.5801, allocations: 15.03 kB / 0.5134 GB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.5802, allocations: 101.3 kB / 0.5135 GB, free: 7.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.5802, allocations: 0 / 0.5135 GB, free: 7.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0004939/0.5807, allocations: 306 kB / 0.5137 GB, free: 7.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.5809, allocations: 349.8 kB / 0.5141 GB, free: 6.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.5811, allocations: 206.7 kB / 0.5143 GB, free: 6.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.5811, allocations: 36.23 kB / 0.5143 GB, free: 6.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.5812, allocations: 120 kB / 0.5144 GB, free: 6.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.5812, allocations: 36.27 kB / 0.5145 GB, free: 6.664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.5812, allocations: 6 kB / 0.5145 GB, free: 6.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.5813, allocations: 344.5 kB / 0.5148 GB, free: 6.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.5814, allocations: 49.19 kB / 0.5148 GB, free: 6.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.5816, allocations: 304 kB / 0.5151 GB, free: 5.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.5817, allocations: 113.7 kB / 0.5152 GB, free: 5.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.5817, allocations: 4 kB / 0.5152 GB, free: 5.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004232/0.5822, allocations: 365.5 kB / 0.5156 GB, free: 5.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.5822, allocations: 11.52 kB / 0.5156 GB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5822, allocations: 8.75 kB / 0.5156 GB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.5823, allocations: 15.38 kB / 0.5156 GB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.5823, allocations: 38.59 kB / 0.5157 GB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.5824, allocations: 15.47 kB / 0.5157 GB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.5825, allocations: 26.2 kB / 0.5157 GB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.5826, allocations: 26.36 kB / 0.5157 GB, free: 5.785 MB / 330.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.0001242/0.5827, allocations: 156.8 kB / 0.5159 GB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.5831, allocations: 272.4 kB / 0.5161 GB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.5832, allocations: 46 kB / 0.5162 GB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.5832, allocations: 7.531 kB / 0.5162 GB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.5832, allocations: 3.875 kB / 0.5162 GB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5832, allocations: 4.125 kB / 0.5162 GB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.5834, allocations: 248.5 kB / 0.5164 GB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5835, allocations: 7.797 kB / 0.5164 GB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.5835, allocations: 15.39 kB / 0.5165 GB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5835, allocations: 12.06 kB / 0.5165 GB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.5836, allocations: 14.31 kB / 0.5165 GB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.5836, allocations: 11.64 kB / 0.5165 GB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5836, allocations: 3.875 kB / 0.5165 GB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.5841, allocations: 0.4938 MB / 0.517 GB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.5842, allocations: 104.2 kB / 0.5171 GB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.5842, allocations: 11.16 kB / 0.5171 GB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5843, allocations: 19.3 kB / 0.5171 GB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.5844, allocations: 15.48 kB / 0.5171 GB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.5844, allocations: 11.59 kB / 0.5171 GB, free: 4.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.711e-05/0.5845, allocations: 155.2 kB / 0.5173 GB, free: 4.711 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5845, allocations: 0 / 0.5173 GB, free: 4.711 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.5848, allocations: 54.08 kB / 0.5173 GB, free: 4.707 MB / 330.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.0001468/0.585, allocations: 131.7 kB / 0.5175 GB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.5853, allocations: 242.5 kB / 0.5177 GB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5853, allocations: 256 / 0.5177 GB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.5854, allocations: 27.33 kB / 0.5177 GB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.5859, allocations: 200.4 kB / 0.5179 GB, free: 4.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.5866, allocations: 423.5 kB / 0.5183 GB, free: 4.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.5868, allocations: 0.7885 MB / 0.5191 GB, free: 3.516 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.5869, allocations: 26.92 kB / 0.5191 GB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.587, allocations: 33.89 kB / 0.5191 GB, free: 3.488 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.587, allocations: 0 / 0.5191 GB, free: 3.488 MB / 330.7 MB Notification: Performance of Templates: time 0.00566/0.5926, allocations: 2.557 MB / 0.5216 GB, free: 1.961 MB / 330.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)