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/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/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.0008762/0.0008764, allocations: 180.9 kB / 17.46 MB, free: 4.355 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.307/1.307, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007314/0.0007313, allocations: 92.97 kB / 272 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07883/0.07883, allocations: 12.19 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.000452, allocations: 15.98 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1054, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4304, allocations: 80.03 MB / 0.5108 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4306, allocations: 54.67 kB / 0.5108 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.4444, allocations: 5.745 MB / 0.5164 GB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4445, allocations: 3.938 kB / 0.5164 GB, free: 10.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.4445, allocations: 7.688 kB / 0.5165 GB, free: 10.75 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.0006466/0.4452, allocations: 0.4964 MB / 0.5169 GB, free: 10.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4452, allocations: 7.688 kB / 0.5169 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.4453, allocations: 27.91 kB / 0.517 GB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.4456, allocations: 265.6 kB / 0.5172 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.4457, allocations: 21.97 kB / 0.5172 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.4457, allocations: 26.38 kB / 0.5173 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.4465, allocations: 0.6402 MB / 0.5179 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4466, allocations: 4.125 kB / 0.5179 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.4466, allocations: 13.56 kB / 0.5179 GB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4466, allocations: 7.891 kB / 0.5179 GB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.4468, allocations: 140.2 kB / 0.5181 GB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.4475, allocations: 1.02 MB / 0.519 GB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.448, allocations: 0.7013 MB / 0.5197 GB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.4482, allocations: 224.1 kB / 0.5199 GB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.4483, allocations: 18.8 kB / 0.52 GB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.4484, allocations: 89.97 kB / 0.5201 GB, free: 7.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 2.205e-06/0.4484, allocations: 0 / 0.5201 GB, free: 7.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006091/0.449, allocations: 398.6 kB / 0.5204 GB, free: 7.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.4492, allocations: 351.8 kB / 0.5208 GB, free: 7.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.4494, allocations: 232.1 kB / 0.521 GB, free: 7.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.4494, allocations: 36.73 kB / 0.521 GB, free: 7.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.4495, allocations: 119.4 kB / 0.5211 GB, free: 6.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.4495, allocations: 37.66 kB / 0.5212 GB, free: 6.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.4495, allocations: 7.312 kB / 0.5212 GB, free: 6.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.4496, allocations: 337.1 kB / 0.5215 GB, free: 6.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.4497, allocations: 56.78 kB / 0.5216 GB, free: 6.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.4498, allocations: 312.2 kB / 0.5219 GB, free: 6.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.4501, allocations: 399.1 kB / 0.5222 GB, free: 5.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4501, allocations: 0 / 0.5222 GB, free: 5.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004769/0.4506, allocations: 378.2 kB / 0.5226 GB, free: 5.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4507, allocations: 8 kB / 0.5226 GB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4507, allocations: 8.094 kB / 0.5226 GB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4507, allocations: 19.92 kB / 0.5226 GB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.4508, allocations: 31.8 kB / 0.5227 GB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.4508, allocations: 23.86 kB / 0.5227 GB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.451, allocations: 22.75 kB / 0.5227 GB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.451, allocations: 23.94 kB / 0.5227 GB, free: 5.281 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.000153/0.4512, allocations: 203.7 kB / 0.5229 GB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.4515, allocations: 270.7 kB / 0.5232 GB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.4516, allocations: 37.92 kB / 0.5232 GB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4516, allocations: 4.156 kB / 0.5232 GB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4516, allocations: 11.94 kB / 0.5232 GB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4516, allocations: 4 kB / 0.5232 GB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.4518, allocations: 252.4 kB / 0.5235 GB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4518, allocations: 320 / 0.5235 GB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.4519, allocations: 23.17 kB / 0.5235 GB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4519, allocations: 4 kB / 0.5235 GB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.4519, allocations: 11.5 kB / 0.5235 GB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.4519, allocations: 11.92 kB / 0.5235 GB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4519, allocations: 7.938 kB / 0.5235 GB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.4523, allocations: 394.7 kB / 0.5239 GB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.4524, allocations: 108.7 kB / 0.524 GB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.4524, allocations: 7.875 kB / 0.524 GB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4525, allocations: 14.31 kB / 0.524 GB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.4526, allocations: 11.92 kB / 0.524 GB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.4526, allocations: 15.25 kB / 0.5241 GB, free: 4.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.4527, allocations: 159.3 kB / 0.5242 GB, free: 3.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4527, allocations: 4 kB / 0.5242 GB, free: 3.875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000346/0.4531, allocations: 49.12 kB / 0.5243 GB, free: 3.84 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.0001221/0.4532, allocations: 134.3 kB / 0.5244 GB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.4535, allocations: 244.7 kB / 0.5246 GB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4535, allocations: 1.938 kB / 0.5246 GB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.4536, allocations: 19.38 kB / 0.5246 GB, free: 3.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.4542, allocations: 220.8 kB / 0.5249 GB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007412/0.455, allocations: 0.6078 MB / 0.5254 GB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.4552, allocations: 0.7757 MB / 0.5262 GB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.4553, allocations: 30.56 kB / 0.5262 GB, free: 1.895 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4553, allocations: 0 / 0.5262 GB, free: 1.895 MB / 330.7 MB Notification: Performance of Templates: time 0.005214/0.4605, allocations: 3.221 MB / 0.5294 GB, free: 14.7 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)