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.00118/0.00118, allocations: 175.4 kB / 16.77 MB, free: 5.047 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.372/1.372, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007359/0.0007359, allocations: 93.34 kB / 271.3 MB, free: 8.242 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.06589/0.06589, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006094/0.0006096, allocations: 12 kB / 392.6 MB, free: 66.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.0853, allocations: 50.38 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.001635/0.08698, allocations: 1.492 MB / 444.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.08785, allocations: 0.6518 MB / 445.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.08797, allocations: 7.938 kB / 445.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.0882, allocations: 19.8 kB / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.08825, allocations: 15.84 kB / 445.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.08859, allocations: 111.8 kB / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.08877, allocations: 191.9 kB / 445.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.08896, allocations: 107 kB / 445.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.08904, allocations: 63.66 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.08914, allocations: 67.56 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.08916, allocations: 8 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.08919, allocations: 4 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.08926, allocations: 39.84 kB / 445.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.08934, allocations: 113 kB / 445.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.08947, allocations: 140 kB / 446 MB, free: 13.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.08948, allocations: 0 / 446 MB, free: 13.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.08949, allocations: 8 kB / 446 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.0895, allocations: 0 / 446 MB, free: 13.07 MB / 298.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.0005199/0.09002, allocations: 479.7 kB / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.09006, allocations: 8.031 kB / 446.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.09012, allocations: 36.56 kB / 446.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.09034, allocations: 277 kB / 446.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.09037, allocations: 12.94 kB / 446.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.0904, allocations: 28.38 kB / 446.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.09111, allocations: 0.6472 MB / 447.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.09113, allocations: 4 kB / 447.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.09116, allocations: 4 kB / 447.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.09118, allocations: 8 kB / 447.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.09137, allocations: 139.7 kB / 447.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.09202, allocations: 1.031 MB / 448.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.09254, allocations: 0.7163 MB / 449.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.09277, allocations: 233.9 kB / 449.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.09281, allocations: 7.984 kB / 449.6 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.09293, allocations: 97.84 kB / 449.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.09294, allocations: 0 / 449.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006153/0.09356, allocations: 408.9 kB / 450.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.09368, allocations: 348.3 kB / 450.4 MB, free: 8.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.09386, allocations: 231.3 kB / 450.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.09389, allocations: 41.7 kB / 450.7 MB, free: 7.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.09396, allocations: 117.2 kB / 450.8 MB, free: 7.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.09399, allocations: 31.7 kB / 450.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.09401, allocations: 12 kB / 450.8 MB, free: 7.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.09408, allocations: 338.8 kB / 451.2 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.09417, allocations: 52.84 kB / 451.2 MB, free: 7.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.09435, allocations: 311.5 kB / 451.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.09463, allocations: 407 kB / 451.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.09464, allocations: 0 / 451.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003896/0.09503, allocations: 373 kB / 452.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.09506, allocations: 15.92 kB / 452.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.09507, allocations: 11.94 kB / 452.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.0951, allocations: 12 kB / 452.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.09518, allocations: 32.48 kB / 452.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.0952, allocations: 19.88 kB / 452.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.09537, allocations: 47.92 kB / 452.4 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.0954, allocations: 24 kB / 452.5 MB, free: 5.738 MB / 298.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,superSample1.u,subSample1.y,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,fractionalDelay.y,backSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.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.0001479/0.09556, allocations: 183.9 kB / 452.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/0.09587, allocations: 289 kB / 452.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.09594, allocations: 33.88 kB / 452.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.09596, allocations: 11.98 kB / 453 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.09597, allocations: 4 kB / 453 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.09598, allocations: 0 / 453 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.09617, allocations: 265.2 kB / 453.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.09619, allocations: 4 kB / 453.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.09623, allocations: 15.92 kB / 453.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.09624, allocations: 8.078 kB / 453.2 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.09626, allocations: 12 kB / 453.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.09627, allocations: 8.094 kB / 453.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.09628, allocations: 11.92 kB / 453.3 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.09664, allocations: 397.2 kB / 453.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.09669, allocations: 112.6 kB / 453.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.09673, allocations: 8 kB / 453.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.09683, allocations: 19.98 kB / 453.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.09689, allocations: 15.98 kB / 453.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.09691, allocations: 16 kB / 453.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.607e-05/0.09701, allocations: 155.3 kB / 454 MB, free: 4.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09702, allocations: 0 / 454 MB, free: 4.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.09736, allocations: 44 kB / 454 MB, free: 4.023 MB / 298.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,subSample1.y,superSample1.u,upSample1.y,upSample1.b_super,upSample1.u_super,UnitDelay1.u,UnitDelay1.y,fractionalDelay.y,backSample1.y,shiftSample1.y,ClockedSignalToSquare.u,backSample1.u,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 (41): * Single equations (assignments): 39 * Array equations: 1 * 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.0001175/0.09749, allocations: 123.2 kB / 454.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.09783, allocations: 249.1 kB / 454.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09784, allocations: 0.75 kB / 454.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.09789, allocations: 27.98 kB / 454.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/0.09853, allocations: 207.7 kB / 454.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.0992, allocations: 0.6153 MB / 455.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.09938, allocations: 0.7764 MB / 456 MB, free: 1.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.09944, allocations: 31.42 kB / 456 MB, free: 1.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.09945, allocations: 0 / 456 MB, free: 1.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004376/0.1038, allocations: 3.204 MB / 459.3 MB, free: 14.7 MB / 314.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)