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.002667/0.002667, allocations: 181 kB / 13.7 MB, free: 1.625 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.973/1.973, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001112/0.001112, allocations: 86.77 kB / 267.6 MB, free: 14.02 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.1019/0.1019, allocations: 12.59 MB / 328.2 MB, free: 11.14 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.573e-05, allocations: 4 kB / 386 MB, free: 1.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2933, allocations: 50.37 MB / 436.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.4331, allocations: 79.97 MB / 0.5042 GB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4334, allocations: 63.97 kB / 0.5043 GB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02672/0.4601, allocations: 5.739 MB / 0.5099 GB, free: 8.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4602, allocations: 0 / 0.5099 GB, free: 8.254 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.4602, allocations: 8 kB / 0.5099 GB, free: 8.246 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.0008307/0.461, allocations: 475.8 kB / 0.5103 GB, free: 7.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4611, allocations: 12.03 kB / 0.5104 GB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.4612, allocations: 31.61 kB / 0.5104 GB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.4617, allocations: 260.4 kB / 0.5106 GB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.4618, allocations: 20.52 kB / 0.5107 GB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.4618, allocations: 24 kB / 0.5107 GB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.4633, allocations: 0.6235 MB / 0.5113 GB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.4633, allocations: 3.938 kB / 0.5113 GB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.4634, allocations: 12 kB / 0.5113 GB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4634, allocations: 4 kB / 0.5113 GB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.4638, allocations: 127.6 kB / 0.5114 GB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4651, allocations: 1.032 MB / 0.5124 GB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.4661, allocations: 0.696 MB / 0.5131 GB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.4666, allocations: 233.4 kB / 0.5133 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.4666, allocations: 15.98 kB / 0.5133 GB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.4668, allocations: 93.81 kB / 0.5134 GB, free: 4.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.306e-06/0.4668, allocations: 0 / 0.5134 GB, free: 4.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008324/0.4677, allocations: 301.4 kB / 0.5137 GB, free: 3.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002282/0.4679, allocations: 352.2 kB / 0.5141 GB, free: 3.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.4682, allocations: 202.9 kB / 0.5143 GB, free: 3.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.4683, allocations: 33.7 kB / 0.5143 GB, free: 3.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4684, allocations: 187.3 kB / 0.5145 GB, free: 2.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.4685, allocations: 31.78 kB / 0.5145 GB, free: 2.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.4685, allocations: 8 kB / 0.5145 GB, free: 2.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4687, allocations: 326.8 kB / 0.5148 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.4688, allocations: 52.86 kB / 0.5149 GB, free: 2.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.4692, allocations: 307.5 kB / 0.5152 GB, free: 2.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.4695, allocations: 107.8 kB / 0.5153 GB, free: 2.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.4695, allocations: 4 kB / 0.5153 GB, free: 2.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008154/0.4703, allocations: 352.8 kB / 0.5156 GB, free: 1.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.4704, allocations: 12.92 kB / 0.5156 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.4704, allocations: 15.94 kB / 0.5156 GB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.4705, allocations: 16 kB / 0.5156 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4706, allocations: 31.86 kB / 0.5157 GB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.697e-05/0.4706, allocations: 19.92 kB / 0.5157 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.471, allocations: 24 kB / 0.5157 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.471, allocations: 20 kB / 0.5157 GB, free: 1.539 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.0002268/0.4713, allocations: 172.9 kB / 0.5159 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/0.4719, allocations: 265 kB / 0.5162 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.4721, allocations: 45.53 kB / 0.5162 GB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4721, allocations: 8 kB / 0.5162 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4721, allocations: 128 / 0.5162 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.4721, allocations: 8 kB / 0.5162 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.4725, allocations: 249.5 kB / 0.5165 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4725, allocations: 0 / 0.5165 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.4726, allocations: 15.92 kB / 0.5165 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.4726, allocations: 12.16 kB / 0.5165 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.4727, allocations: 12 kB / 0.5165 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/0.4727, allocations: 11.94 kB / 0.5165 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4727, allocations: 7.938 kB / 0.5165 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.4735, allocations: 0.4904 MB / 0.517 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2806/0.7542, allocations: 97.98 kB / 0.5171 GB, free: 87.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.7544, allocations: 12.69 kB / 0.5171 GB, free: 87.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.7546, allocations: 16.88 kB / 0.5171 GB, free: 87.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.7547, allocations: 8.812 kB / 0.5171 GB, free: 87.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.7547, allocations: 15.27 kB / 0.5171 GB, free: 87.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.755, allocations: 160.6 kB / 0.5173 GB, free: 87.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.755, allocations: 0 / 0.5173 GB, free: 87.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005145/0.7555, allocations: 48.83 kB / 0.5173 GB, free: 87.61 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.0001838/0.7557, allocations: 123 kB / 0.5174 GB, free: 87.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006526/0.7564, allocations: 251.8 kB / 0.5177 GB, free: 87.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7564, allocations: 1.438 kB / 0.5177 GB, free: 87.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.7565, allocations: 18.09 kB / 0.5177 GB, free: 87.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.7574, allocations: 200.6 kB / 0.5179 GB, free: 87.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.7585, allocations: 462 kB / 0.5183 GB, free: 87.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.7589, allocations: 0.7879 MB / 0.5191 GB, free: 86.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.759, allocations: 27.27 kB / 0.5191 GB, free: 86.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/0.759, allocations: 0 / 0.5191 GB, free: 86.57 MB / 362.7 MB Notification: Performance of Templates: time 0.0095/0.7685, allocations: 3.18 MB / 0.5222 GB, free: 86.4 MB / 362.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)