Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001498/0.001498, allocations: 186.7 kB / 16.44 MB, free: 5.672 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.894/1.894, allocations: 205.4 MB / 222.6 MB, free: 9.133 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.001109/0.001109, allocations: 89.72 kB / 270.9 MB, free: 8.383 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.09806/0.09806, allocations: 12.59 MB / 331.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005578/0.0005577, allocations: 20 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.08373, allocations: 50.37 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.496, allocations: 80.05 MB / 0.5102 GB, free: 12.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.4963, allocations: 66.44 kB / 0.5102 GB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02338/0.5197, allocations: 5.743 MB / 0.5158 GB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5197, allocations: 0 / 0.5158 GB, free: 10.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.5197, allocations: 3.875 kB / 0.5158 GB, free: 10.45 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.0007708/0.5205, allocations: 0.492 MB / 0.5163 GB, free: 10 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.5206, allocations: 7.781 kB / 0.5163 GB, free: 10 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.5207, allocations: 30.56 kB / 0.5163 GB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.5211, allocations: 260.6 kB / 0.5166 GB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.5211, allocations: 22.33 kB / 0.5166 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.5212, allocations: 24.53 kB / 0.5166 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5224, allocations: 0.6382 MB / 0.5173 GB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.5224, allocations: 0 / 0.5173 GB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.5224, allocations: 10.44 kB / 0.5173 GB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.5225, allocations: 7.781 kB / 0.5173 GB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.5228, allocations: 139 kB / 0.5174 GB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.5237, allocations: 1.025 MB / 0.5184 GB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.5245, allocations: 0.7028 MB / 0.5191 GB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.5245, allocations: 19.53 kB / 0.5191 GB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.5247, allocations: 98.94 kB / 0.5192 GB, free: 7.555 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 2.086e-05/0.5247, allocations: 0 / 0.5192 GB, free: 7.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.000942/0.5257, allocations: 404.6 kB / 0.5196 GB, free: 7.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.5258, allocations: 346.2 kB / 0.5199 GB, free: 7.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.5261, allocations: 210.4 kB / 0.5201 GB, free: 6.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.5261, allocations: 33.52 kB / 0.5202 GB, free: 6.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.5262, allocations: 173.3 kB / 0.5203 GB, free: 6.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.5263, allocations: 38.44 kB / 0.5204 GB, free: 6.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.5263, allocations: 11.56 kB / 0.5204 GB, free: 6.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.5264, allocations: 325.6 kB / 0.5207 GB, free: 6.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.5265, allocations: 59.41 kB / 0.5207 GB, free: 6.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.5268, allocations: 304.9 kB / 0.521 GB, free: 5.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.527, allocations: 114.7 kB / 0.5211 GB, free: 5.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.527, allocations: 4 kB / 0.5211 GB, free: 5.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006409/0.5277, allocations: 354.2 kB / 0.5215 GB, free: 5.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5277, allocations: 8 kB / 0.5215 GB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5277, allocations: 12.88 kB / 0.5215 GB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.5278, allocations: 15.95 kB / 0.5215 GB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5279, allocations: 43.61 kB / 0.5216 GB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.5279, allocations: 15.94 kB / 0.5216 GB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.5282, allocations: 26.55 kB / 0.5216 GB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.5282, allocations: 23.25 kB / 0.5216 GB, free: 5.363 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 () * 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.0002521/0.5285, allocations: 196.5 kB / 0.5218 GB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/0.5291, allocations: 276.4 kB / 0.5221 GB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.5292, allocations: 40.23 kB / 0.5221 GB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5292, allocations: 8 kB / 0.5221 GB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5292, allocations: 7.953 kB / 0.5221 GB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5293, allocations: 4 kB / 0.5221 GB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.5295, allocations: 242.2 kB / 0.5224 GB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5296, allocations: 4 kB / 0.5224 GB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.5296, allocations: 19.86 kB / 0.5224 GB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.5297, allocations: 8.156 kB / 0.5224 GB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.5297, allocations: 11.81 kB / 0.5224 GB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/0.5297, allocations: 7.984 kB / 0.5224 GB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5297, allocations: 3.938 kB / 0.5224 GB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.5304, allocations: 0.5025 MB / 0.5229 GB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.5305, allocations: 112.7 kB / 0.523 GB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.5305, allocations: 11.75 kB / 0.523 GB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.5307, allocations: 15.55 kB / 0.523 GB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.5308, allocations: 15.31 kB / 0.5231 GB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.5308, allocations: 12.3 kB / 0.5231 GB, free: 3.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.531, allocations: 155.7 kB / 0.5232 GB, free: 3.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.531, allocations: 0 / 0.5232 GB, free: 3.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004891/0.5315, allocations: 52.92 kB / 0.5233 GB, free: 3.754 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 () * 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.0001523/0.5317, allocations: 129.7 kB / 0.5234 GB, free: 3.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.5322, allocations: 251.4 kB / 0.5236 GB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5322, allocations: 3.625 kB / 0.5236 GB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.5323, allocations: 27.14 kB / 0.5237 GB, free: 3.402 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.5332, allocations: 204.9 kB / 0.5239 GB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.5343, allocations: 0.6156 MB / 0.5245 GB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.5346, allocations: 0.7876 MB / 0.5252 GB, free: 1.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/0.5347, allocations: 26.81 kB / 0.5253 GB, free: 1.793 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5347, allocations: 0 / 0.5253 GB, free: 1.793 MB / 330.7 MB Notification: Performance of Templates: time 0.007292/0.542, allocations: 3.175 MB / 0.5284 GB, free: 14.64 MB / 346.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe 2>&1)