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.001584/0.001584, allocations: 171.9 kB / 16.8 MB, free: 4.902 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.743/1.743, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0008041/0.0008041, allocations: 90.41 kB / 271.3 MB, free: 8.238 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.08135/0.08135, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004242, allocations: 12 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08457/0.08501, allocations: 50.38 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2791/0.3641, allocations: 80.09 MB / 0.5114 GB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.3644, allocations: 65.78 kB / 0.5115 GB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.378, allocations: 5.751 MB / 0.5171 GB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3781, allocations: 0 / 0.5171 GB, free: 10.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3781, allocations: 4 kB / 0.5171 GB, free: 10.62 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.0005311/0.3786, allocations: 0.4914 MB / 0.5176 GB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3787, allocations: 8.031 kB / 0.5176 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.3787, allocations: 28.66 kB / 0.5176 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.379, allocations: 270.6 kB / 0.5179 GB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.379, allocations: 24 kB / 0.5179 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.3791, allocations: 23.19 kB / 0.5179 GB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.3798, allocations: 0.6379 MB / 0.5185 GB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3799, allocations: 192 / 0.5185 GB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.3799, allocations: 15.25 kB / 0.5186 GB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3799, allocations: 8 kB / 0.5186 GB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3801, allocations: 133.1 kB / 0.5187 GB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.3807, allocations: 1.019 MB / 0.5197 GB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.3811, allocations: 0.7046 MB / 0.5204 GB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.3813, allocations: 231.2 kB / 0.5206 GB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.3814, allocations: 7.828 kB / 0.5206 GB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.991e-05/0.3815, allocations: 103.5 kB / 0.5207 GB, free: 6.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.3815, allocations: 0 / 0.5207 GB, free: 6.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0005328/0.382, allocations: 402.9 kB / 0.5211 GB, free: 6.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.3821, allocations: 351 kB / 0.5214 GB, free: 6.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3823, allocations: 231.9 kB / 0.5216 GB, free: 5.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3823, allocations: 36.08 kB / 0.5217 GB, free: 5.879 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.3824, allocations: 120.4 kB / 0.5218 GB, free: 5.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3824, allocations: 34.84 kB / 0.5218 GB, free: 5.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.3824, allocations: 7.562 kB / 0.5218 GB, free: 5.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.3825, allocations: 340 kB / 0.5222 GB, free: 5.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.3825, allocations: 56.53 kB / 0.5222 GB, free: 5.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.3827, allocations: 312.4 kB / 0.5225 GB, free: 4.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.383, allocations: 397.6 kB / 0.5229 GB, free: 4.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.383, allocations: 4 kB / 0.5229 GB, free: 4.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004474/0.3834, allocations: 371.3 kB / 0.5232 GB, free: 4.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3834, allocations: 9.719 kB / 0.5233 GB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3835, allocations: 8 kB / 0.5233 GB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.3835, allocations: 15.94 kB / 0.5233 GB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.3836, allocations: 38.73 kB / 0.5233 GB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.3836, allocations: 23.86 kB / 0.5233 GB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.3838, allocations: 18.94 kB / 0.5234 GB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3838, allocations: 23.31 kB / 0.5234 GB, free: 4.082 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.0001371/0.3839, allocations: 200.9 kB / 0.5236 GB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.3842, allocations: 272.5 kB / 0.5238 GB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.3843, allocations: 38.73 kB / 0.5239 GB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3843, allocations: 4 kB / 0.5239 GB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3843, allocations: 12.09 kB / 0.5239 GB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3843, allocations: 7.984 kB / 0.5239 GB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3845, allocations: 250.3 kB / 0.5241 GB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3845, allocations: 0 / 0.5241 GB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.3846, allocations: 15.92 kB / 0.5241 GB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3846, allocations: 4 kB / 0.5241 GB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3846, allocations: 19.17 kB / 0.5242 GB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3846, allocations: 4 kB / 0.5242 GB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3846, allocations: 11.88 kB / 0.5242 GB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.385, allocations: 393.9 kB / 0.5246 GB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.385, allocations: 108.2 kB / 0.5247 GB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.3851, allocations: 6.875 kB / 0.5247 GB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.3852, allocations: 23.3 kB / 0.5247 GB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.3852, allocations: 7.938 kB / 0.5247 GB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.3853, allocations: 18.55 kB / 0.5247 GB, free: 2.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.583e-05/0.3854, allocations: 159 kB / 0.5249 GB, free: 2.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3854, allocations: 4 kB / 0.5249 GB, free: 2.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.3857, allocations: 49.75 kB / 0.5249 GB, free: 2.637 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.0001022/0.3858, allocations: 122 kB / 0.525 GB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.3861, allocations: 251.3 kB / 0.5253 GB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3861, allocations: 5.875 kB / 0.5253 GB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.3862, allocations: 19.73 kB / 0.5253 GB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.3868, allocations: 207.9 kB / 0.5255 GB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.3875, allocations: 0.5866 MB / 0.5261 GB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.3877, allocations: 0.7797 MB / 0.5268 GB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.67e-05/0.3878, allocations: 26.97 kB / 0.5269 GB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.3878, allocations: 34.55 kB / 0.5269 GB, free: 0.6992 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3878, allocations: 0 / 0.5269 GB, free: 0.6992 MB / 330.7 MB Notification: Performance of Templates: time 0.005126/0.3929, allocations: 2.556 MB / 0.5294 GB, free: 14.16 MB / 346.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)