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.001461/0.001461, allocations: 181 kB / 8.049 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 2.271/2.271, allocations: 205.3 MB / 213.8 MB, free: 1.727 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.001123/0.001123, allocations: 86.58 kB / 261.8 MB, free: 1.676 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.09784/0.09784, allocations: 12.6 MB / 322.4 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.068e-05, allocations: 4 kB / 378.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 50.37 MB / 429.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.443, allocations: 79.31 MB / 0.4967 GB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4433, allocations: 59.97 kB / 0.4968 GB, free: 2.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02741/0.4707, allocations: 5.694 MB / 0.5023 GB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4708, allocations: 0 / 0.5023 GB, free: 13.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.808e-05/0.4708, allocations: 4 kB / 0.5023 GB, free: 13.14 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.001085/0.4719, allocations: 471.8 kB / 0.5028 GB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.472, allocations: 12.03 kB / 0.5028 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4721, allocations: 35.61 kB / 0.5028 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.4727, allocations: 260.4 kB / 0.5031 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.4728, allocations: 11.95 kB / 0.5031 GB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.4728, allocations: 16 kB / 0.5031 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004218/0.4733, allocations: 125.1 kB / 0.5032 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4746, allocations: 0.5708 MB / 0.5038 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.4747, allocations: 7.938 kB / 0.5038 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.4747, allocations: 0 / 0.5038 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4747, allocations: 11.94 kB / 0.5038 GB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.4761, allocations: 0.9619 MB / 0.5047 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.4771, allocations: 0.6735 MB / 0.5054 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.4776, allocations: 202.5 kB / 0.5056 GB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.4777, allocations: 19.92 kB / 0.5056 GB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.4779, allocations: 93.88 kB / 0.5057 GB, free: 9.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.537e-06/0.4779, allocations: 0 / 0.5057 GB, free: 9.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008037/0.4787, allocations: 267.8 kB / 0.5059 GB, free: 8.961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002276/0.479, allocations: 348.5 kB / 0.5063 GB, free: 8.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.4792, allocations: 170.1 kB / 0.5064 GB, free: 8.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.4793, allocations: 29.7 kB / 0.5065 GB, free: 8.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4794, allocations: 116.8 kB / 0.5066 GB, free: 8.223 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.4795, allocations: 31.78 kB / 0.5066 GB, free: 8.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.4795, allocations: 0 / 0.5066 GB, free: 8.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4796, allocations: 334.8 kB / 0.5069 GB, free: 7.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.4798, allocations: 48.88 kB / 0.507 GB, free: 7.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.4801, allocations: 298.6 kB / 0.5073 GB, free: 7.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.4804, allocations: 103.9 kB / 0.5074 GB, free: 7.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.4804, allocations: 8 kB / 0.5074 GB, free: 7.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007697/0.4812, allocations: 304.9 kB / 0.5077 GB, free: 6.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.4812, allocations: 8 kB / 0.5077 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.4813, allocations: 8.875 kB / 0.5077 GB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/0.4813, allocations: 19.95 kB / 0.5077 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4815, allocations: 39.84 kB / 0.5077 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/0.4815, allocations: 15.94 kB / 0.5077 GB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.4818, allocations: 15.98 kB / 0.5078 GB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.4819, allocations: 20 kB / 0.5078 GB, free: 6.848 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.0002292/0.4821, allocations: 146 kB / 0.5079 GB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/0.4827, allocations: 253 kB / 0.5082 GB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.4829, allocations: 33.89 kB / 0.5082 GB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4829, allocations: 8 kB / 0.5082 GB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.4829, allocations: 7.953 kB / 0.5082 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4829, allocations: 7.984 kB / 0.5082 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.4833, allocations: 198.1 kB / 0.5084 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4833, allocations: 4 kB / 0.5084 GB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.842e-05/0.4834, allocations: 19.92 kB / 0.5084 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.4834, allocations: 4.156 kB / 0.5084 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.4834, allocations: 8 kB / 0.5084 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.4835, allocations: 4 kB / 0.5084 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/0.4835, allocations: 7.938 kB / 0.5084 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/0.4843, allocations: 482.8 kB / 0.5089 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.4844, allocations: 100.8 kB / 0.509 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.4845, allocations: 7.938 kB / 0.509 GB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.4847, allocations: 11.98 kB / 0.509 GB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.4848, allocations: 11.98 kB / 0.509 GB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.4848, allocations: 16 kB / 0.509 GB, free: 5.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.485, allocations: 117.2 kB / 0.5092 GB, free: 5.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.485, allocations: 4 kB / 0.5092 GB, free: 5.246 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.4855, allocations: 35.98 kB / 0.5092 GB, free: 5.211 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.0002087/0.4858, allocations: 122.1 kB / 0.5093 GB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.4864, allocations: 218.1 kB / 0.5095 GB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4864, allocations: 0 / 0.5095 GB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.4865, allocations: 11.98 kB / 0.5095 GB, free: 4.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.4874, allocations: 191.8 kB / 0.5097 GB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4885, allocations: 398.9 kB / 0.5101 GB, free: 4.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.489, allocations: 0.7878 MB / 0.5109 GB, free: 3.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.4892, allocations: 27.28 kB / 0.5109 GB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.4893, allocations: 31.38 kB / 0.5109 GB, free: 3.352 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4893, allocations: 0 / 0.5109 GB, free: 3.352 MB / 362.7 MB Notification: Performance of Templates: time 0.009093/0.4984, allocations: 2.343 MB / 0.5132 GB, free: 1.016 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)