Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 95.16 kB / 16.05 MB, free: 5.711 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09411/0.09411, allocations: 12.63 MB / 29.41 MB, free: 6.094 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002287/0.0002289, allocations: 4 kB / 40.27 MB, free: 0.6211 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006165/0.006417, allocations: 2.831 MB / 43.1 MB, free: 6.062 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 1.535/1.541, allocations: 277.8 MB / 320.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/1.542, allocations: 0.6138 MB / 321.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/1.543, allocations: 13.03 kB / 321.5 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/1.543, allocations: 23.8 kB / 321.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/1.543, allocations: 15.84 kB / 321.6 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/1.543, allocations: 120.2 kB / 321.7 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/1.544, allocations: 192.9 kB / 321.9 MB, free: 9.484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/1.544, allocations: 148.4 kB / 322 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.623e-05/1.544, allocations: 67.59 kB / 322.1 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/1.544, allocations: 71.56 kB / 322.1 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/1.544, allocations: 7.938 kB / 322.2 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/1.544, allocations: 9.125 kB / 322.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/1.544, allocations: 39.83 kB / 322.2 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/1.544, allocations: 109.1 kB / 322.3 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/1.544, allocations: 205.8 kB / 322.5 MB, free: 8.844 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.544, allocations: 0 / 322.5 MB, free: 8.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.544, allocations: 0 / 322.5 MB, free: 8.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/1.544, allocations: 0 / 322.5 MB, free: 8.844 MB / 250.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.0006493/1.545, allocations: 477.2 kB / 323 MB, free: 8.332 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/1.545, allocations: 8.031 kB / 323 MB, free: 8.324 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/1.545, allocations: 32.56 kB / 323 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/1.546, allocations: 273.6 kB / 323.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/1.546, allocations: 22.75 kB / 323.3 MB, free: 7.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/1.546, allocations: 24.38 kB / 323.3 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/1.547, allocations: 0.6331 MB / 324 MB, free: 7.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/1.547, allocations: 7.938 kB / 324 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/1.547, allocations: 13.88 kB / 324 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/1.547, allocations: 12 kB / 324 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/1.547, allocations: 123.7 kB / 324.1 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/1.548, allocations: 1.033 MB / 325.1 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/1.548, allocations: 0.7197 MB / 325.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/1.549, allocations: 237.3 kB / 326.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/1.549, allocations: 20.05 kB / 326.1 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/1.549, allocations: 89.91 kB / 326.2 MB, free: 4.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/1.549, allocations: 0 / 326.2 MB, free: 4.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006224/1.549, allocations: 393.2 kB / 326.6 MB, free: 4.305 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/1.55, allocations: 357.1 kB / 326.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.55, allocations: 234.7 kB / 327.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/1.55, allocations: 33.7 kB / 327.2 MB, free: 3.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/1.55, allocations: 125 kB / 327.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/1.55, allocations: 31.78 kB / 327.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/1.55, allocations: 8 kB / 327.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/1.55, allocations: 346.8 kB / 327.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/1.55, allocations: 52.84 kB / 327.8 MB, free: 3.039 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/1.55, allocations: 311.4 kB / 328.1 MB, free: 2.605 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/1.551, allocations: 398.7 kB / 328.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/1.551, allocations: 7.938 kB / 328.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004651/1.551, allocations: 369.5 kB / 328.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.551, allocations: 11.98 kB / 328.8 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.551, allocations: 8 kB / 328.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.551, allocations: 12 kB / 328.8 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/1.551, allocations: 31.86 kB / 328.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.551, allocations: 19.88 kB / 328.9 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/1.552, allocations: 39.73 kB / 328.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/1.552, allocations: 24 kB / 329 MB, free: 1.57 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/1.552, allocations: 201.5 kB / 329.2 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/1.552, allocations: 275.7 kB / 329.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/1.552, allocations: 33.88 kB / 329.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/1.552, allocations: 12.12 kB / 329.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.552, allocations: 4 kB / 329.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.552, allocations: 12.14 kB / 329.5 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/1.553, allocations: 257.4 kB / 329.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.553, allocations: 0 / 329.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/1.553, allocations: 24.17 kB / 329.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.553, allocations: 7.938 kB / 329.8 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/1.553, allocations: 16 kB / 329.8 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.553, allocations: 4 kB / 329.8 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.553, allocations: 0 / 329.8 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/1.553, allocations: 393.5 kB / 330.2 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/1.553, allocations: 112.6 kB / 330.3 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/1.553, allocations: 16 kB / 330.3 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.553, allocations: 15.98 kB / 330.3 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/1.553, allocations: 7.984 kB / 330.3 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.553, allocations: 16 kB / 330.3 MB, free: 56 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001408/1.554, allocations: 160.6 kB / 330.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.554, allocations: 0 / 330.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003351/1.554, allocations: 52 kB / 330.5 MB, free: 15.84 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/1.554, allocations: 142.9 kB / 330.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003589/1.554, allocations: 252.3 kB / 330.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.554, allocations: 0 / 330.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/1.555, allocations: 19.98 kB / 330.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/1.555, allocations: 210.8 kB / 331.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/1.556, allocations: 0.6053 MB / 331.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/1.556, allocations: 0.7777 MB / 332.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.713e-05/1.556, allocations: 34.95 kB / 332.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/1.556, allocations: 27.44 kB / 332.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of SimCode: time 2.2e-07/1.556, allocations: 0 / 332.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Templates: time 0.005989/1.562, allocations: 2.66 MB / 335.3 MB, free: 11.06 MB / 266.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)