Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds.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.TestIntegerSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007231/0.0007232, allocations: 93.27 kB / 16.05 MB, free: 5.582 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.08441/0.08441, allocations: 12.62 MB / 29.4 MB, free: 248 kB / 18.57 MB Notification: Performance of FrontEnd - loaded program: time 0.0001955/0.0001955, allocations: 0 / 40.27 MB, free: 4.109 MB / 33.03 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.00608/0.006292, allocations: 2.822 MB / 43.1 MB, free: 1.285 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.TestIntegerSamplerAndHolds): time 1.89/1.897, allocations: 278.1 MB / 321.2 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/1.899, allocations: 1.583 MB / 322.8 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/1.899, allocations: 8.562 kB / 322.8 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/1.899, allocations: 88.22 kB / 322.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/1.9, allocations: 96.52 kB / 323 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000931/1.901, allocations: 306.3 kB / 323.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/1.901, allocations: 303.6 kB / 323.6 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/1.901, allocations: 184.2 kB / 323.8 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/1.902, allocations: 116.5 kB / 323.9 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/1.902, allocations: 127.3 kB / 324 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/1.902, allocations: 8.719 kB / 324 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/1.902, allocations: 51.95 kB / 324.1 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-05/1.902, allocations: 85.34 kB / 324.2 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/1.902, allocations: 156.7 kB / 324.3 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/1.903, allocations: 375.5 kB / 324.7 MB, free: 8.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.903, allocations: 0 / 324.7 MB, free: 8.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.275e-06/1.903, allocations: 0 / 324.7 MB, free: 8.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/1.903, allocations: 5.438 kB / 324.7 MB, free: 8.371 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007659/1.903, allocations: 0.6099 MB / 325.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/1.903, allocations: 12.67 kB / 325.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/1.903, allocations: 45 kB / 325.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/1.904, allocations: 360.3 kB / 325.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/1.904, allocations: 21.62 kB / 325.7 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/1.904, allocations: 30.09 kB / 325.8 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.905, allocations: 0.6735 MB / 326.4 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/1.905, allocations: 0 / 326.4 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/1.905, allocations: 15.98 kB / 326.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/1.905, allocations: 8 kB / 326.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/1.906, allocations: 144.3 kB / 326.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.907, allocations: 1.141 MB / 327.7 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.908, allocations: 0.679 MB / 328.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/1.908, allocations: 250.8 kB / 328.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/1.908, allocations: 17.86 kB / 328.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/1.909, allocations: 117.8 kB / 328.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 4.037e-06/1.909, allocations: 3.938 kB / 328.8 MB, free: 3.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.001294/1.91, allocations: 478 kB / 329.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00026/1.91, allocations: 389.5 kB / 329.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/1.911, allocations: 443.9 kB / 330.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/1.911, allocations: 37.7 kB / 330.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/1.911, allocations: 161.1 kB / 330.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.231e-05/1.911, allocations: 51.53 kB / 330.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/1.911, allocations: 4 kB / 330.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/1.912, allocations: 360.1 kB / 330.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/1.912, allocations: 72.83 kB / 330.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/1.912, allocations: 355 kB / 331.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/1.913, allocations: 440.6 kB / 331.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.913, allocations: 4 kB / 331.5 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009847/1.914, allocations: 425 kB / 331.9 MB, free: 312 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.914, allocations: 12 kB / 332 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.914, allocations: 8 kB / 332 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/1.914, allocations: 12 kB / 332 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/1.915, allocations: 87.83 kB / 332.1 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/1.915, allocations: 15.94 kB / 332.1 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/1.915, allocations: 36.14 kB / 332.1 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/1.915, allocations: 32 kB / 332.1 MB, free: 108 kB / 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: 51 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToSquare.y2,$CLKPRE.ClockedSignalToSquare.y2,ClockedSignalToSquare.y,ClockedSignalToSquare.u,superSample1.y,superSample1.u,subSample1.y,backSample1.y,backSample1.u,shiftSample1.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,fractionalDelay.y,fractionalDelay.u_buffer[1],fractionalDelay.u,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample3.y,shiftSample1.u,subSample1.u,assignClock2.y[3],assignClock2.y[2],assignClock2.y[1],assignClock2.u[3],assignClock2.u[2],assignClock2.u[1],integerConstant3[3].y,integerConstant3[2].y,integerConstant3[1].y,sample1.y[3],sample1.y[2],sample1.y[1],sample2.y,hold1.u,hold1.y,assignClock1.y,assignClock1.u,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 4 (ClockedSignalToSquare.y2,upSample1.b_super,UnitDelay1.u,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 53 * 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.0003588/1.915, allocations: 233.4 kB / 332.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000614/1.916, allocations: 288.7 kB / 332.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/1.916, allocations: 51.47 kB / 332.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.916, allocations: 15.94 kB / 332.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.916, allocations: 4 kB / 332.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.916, allocations: 7.984 kB / 332.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/1.917, allocations: 321.2 kB / 333 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.917, allocations: 4 kB / 333 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/1.917, allocations: 67.89 kB / 333.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.917, allocations: 4 kB / 333.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.917, allocations: 12 kB / 333.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/1.917, allocations: 7.938 kB / 333.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.917, allocations: 4 kB / 333.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/1.918, allocations: 455.9 kB / 333.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/1.918, allocations: 132.5 kB / 333.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/1.918, allocations: 16.06 kB / 333.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/1.918, allocations: 15.98 kB / 333.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/1.918, allocations: 7.984 kB / 333.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/1.918, allocations: 20 kB / 333.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000424/1.919, allocations: 307.1 kB / 334.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.919, allocations: 0 / 334.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006425/1.92, allocations: 79.97 kB / 334.2 MB, free: 13.96 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: 44 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToSquare.y,hold1.y,ClockedSignalToSquare.y2,superSample1.y,ClockedSignalToSquare.u,subSample1.y,superSample1.u,backSample1.y,shiftSample1.y,backSample1.u,upSample1.y,upSample1.b_super,upSample1.u_super,fractionalDelay.y,assignClock1.u,assignClock1.y,hold1.u,sample2.y,sample1.y[1],sample1.y[2],sample1.y[3],integerConstant3[1].y,integerConstant3[2].y,integerConstant3[3].y,assignClock2.u[1],assignClock2.u[2],assignClock2.u[3],assignClock2.y[1],assignClock2.y[2],assignClock2.y[3],subSample1.u,shiftSample1.u,sample3.y,upSample1.u,upSample1.dummy,upSample1.b,UnitDelay1.u,UnitDelay1.y,fractionalDelay.u,fractionalDelay.u_buffer[1]) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (ClockedSignalToSquare.y2,upSample1.b_super,upSample1.b,UnitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001321/1.921, allocations: 0.5142 MB / 334.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006884/1.922, allocations: 293 kB / 335 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.922, allocations: 0 / 335 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/1.922, allocations: 44.53 kB / 335 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/1.923, allocations: 245.4 kB / 335.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/1.924, allocations: 0.8328 MB / 336.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/1.925, allocations: 0.8281 MB / 336.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/1.925, allocations: 55.47 kB / 336.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/1.925, allocations: 43.42 kB / 337 MB, free: 11.16 MB / 266.7 MB Notification: Performance of SimCode: time 3.6e-07/1.925, allocations: 0 / 337 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Templates: time 0.01261/1.938, allocations: 4.616 MB / 341.6 MB, free: 6.574 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds.pipe 2>&1)