Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.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.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007527/0.0007527, allocations: 95.44 kB / 16.04 MB, free: 5.117 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.0948/0.0948, allocations: 12.63 MB / 29.4 MB, free: 5.371 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.000258, allocations: 4 kB / 40.27 MB, free: 168 kB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0066/0.006893, allocations: 2.837 MB / 43.11 MB, free: 5.605 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.Effects.SuperSampling): time 1.835/1.842, allocations: 277.7 MB / 320.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009234/1.843, allocations: 0.5174 MB / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/1.843, allocations: 8.719 kB / 321.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/1.843, allocations: 7.875 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/1.843, allocations: 40.55 kB / 321.4 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/1.844, allocations: 92.59 kB / 321.5 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/1.844, allocations: 135.5 kB / 321.6 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/1.844, allocations: 64.66 kB / 321.7 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/1.844, allocations: 55.77 kB / 321.7 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/1.844, allocations: 67.67 kB / 321.8 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/1.844, allocations: 4 kB / 321.8 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.901e-05/1.844, allocations: 8 kB / 321.8 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/1.845, allocations: 27.86 kB / 321.8 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/1.845, allocations: 89.34 kB / 321.9 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/1.845, allocations: 123.5 kB / 322 MB, free: 9.328 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.845, allocations: 1.062 kB / 322 MB, free: 9.328 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.225e-06/1.845, allocations: 0 / 322 MB, free: 9.328 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/1.845, allocations: 4 kB / 322 MB, free: 9.324 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006912/1.846, allocations: 417.7 kB / 322.4 MB, free: 8.871 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.846, allocations: 8.031 kB / 322.4 MB, free: 8.863 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/1.846, allocations: 24.69 kB / 322.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/1.846, allocations: 231 kB / 322.7 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/1.846, allocations: 12.38 kB / 322.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/1.846, allocations: 16.38 kB / 322.7 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/1.847, allocations: 464.1 kB / 323.2 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.847, allocations: 4.531 kB / 323.2 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/1.847, allocations: 4.75 kB / 323.2 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.847, allocations: 4 kB / 323.2 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/1.847, allocations: 121 kB / 323.3 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/1.848, allocations: 321 kB / 323.6 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/1.848, allocations: 216.1 kB / 323.8 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/1.848, allocations: 114.6 kB / 323.9 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/1.848, allocations: 9.938 kB / 323.9 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.848, allocations: 42.5 kB / 324 MB, free: 7.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/1.848, allocations: 2 kB / 324 MB, free: 7.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006138/1.849, allocations: 284.9 kB / 324.3 MB, free: 6.891 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.849, allocations: 135.4 kB / 324.4 MB, free: 6.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.849, allocations: 127.6 kB / 324.5 MB, free: 6.598 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/1.849, allocations: 33.7 kB / 324.6 MB, free: 6.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/1.849, allocations: 92.69 kB / 324.6 MB, free: 6.465 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/1.849, allocations: 37.3 kB / 324.7 MB, free: 6.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/1.849, allocations: 8 kB / 324.7 MB, free: 6.422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/1.849, allocations: 330.8 kB / 325 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/1.85, allocations: 54.66 kB / 325.1 MB, free: 6.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/1.85, allocations: 235.6 kB / 325.3 MB, free: 5.723 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/1.85, allocations: 322.6 kB / 325.6 MB, free: 5.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.85, allocations: 4 kB / 325.6 MB, free: 5.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004311/1.851, allocations: 300.9 kB / 325.9 MB, free: 5.016 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.851, allocations: 8 kB / 325.9 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.851, allocations: 4 kB / 325.9 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.851, allocations: 16.75 kB / 325.9 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.851, allocations: 67.91 kB / 326 MB, free: 4.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.851, allocations: 11.94 kB / 326 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/1.851, allocations: 27.83 kB / 326 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/1.851, allocations: 20 kB / 326.1 MB, free: 4.863 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (movingAverage.first,$CLKPRE.movingAverage.first,superSampleIpo1.ticks,$CLKPRE.superSampleIpo1.ticks,superSampleIpo1.usedFactor,upSample1.b_super,$CLKPRE.upSample1.b_super,superSampleIpo1.first,$CLKPRE.superSampleIpo1.first,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 11 (movingAverage.yy,movingAverage.first,movingAverage.u_buffer[4],movingAverage.u_buffer[3],movingAverage.u_buffer[2],movingAverage.u_buffer[1],superSampleIpo1.ticks,upSample1.b_super,superSampleIpo1.first,superSampleIpo1.uu,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001418/1.851, allocations: 149.6 kB / 326.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/1.852, allocations: 199.6 kB / 326.4 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.379e-05/1.852, allocations: 17.19 kB / 326.4 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.852, allocations: 4 kB / 326.4 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.852, allocations: 8 kB / 326.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.852, allocations: 11.97 kB / 326.4 MB, free: 4.465 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/1.852, allocations: 213.4 kB / 326.7 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.852, allocations: 0 / 326.7 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/1.852, allocations: 55.84 kB / 326.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.852, allocations: 0 / 326.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/1.852, allocations: 11.98 kB / 326.7 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/1.852, allocations: 0 / 326.7 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.852, allocations: 0 / 326.7 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/1.853, allocations: 335.2 kB / 327 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/1.853, allocations: 100.9 kB / 327.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/1.853, allocations: 19.88 kB / 327.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/1.853, allocations: 8 kB / 327.2 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/1.853, allocations: 11.98 kB / 327.2 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/1.853, allocations: 4 kB / 327.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.272e-05/1.853, allocations: 103.8 kB / 327.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.853, allocations: 0 / 327.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002931/1.853, allocations: 36 kB / 327.3 MB, free: 3.496 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (upSample1.b_super,superSampleIpo1.usedFactor,superSampleIpo1.ticks,movingAverage.first,upSample1.b,superSampleIpo1.first) * Number of discrete states: 0 () * Number of clocked states: 11 (upSample1.b_super,superSampleIpo1.ticks,movingAverage.u_buffer[1],movingAverage.u_buffer[2],movingAverage.u_buffer[3],movingAverage.u_buffer[4],movingAverage.first,movingAverage.yy,upSample1.b,superSampleIpo1.uu,superSampleIpo1.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 0.0001166/1.853, allocations: 115.2 kB / 327.4 MB, free: 3.375 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/1.854, allocations: 203.3 kB / 327.6 MB, free: 3.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.854, allocations: 0 / 327.6 MB, free: 3.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/1.854, allocations: 17.55 kB / 327.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/1.854, allocations: 135.9 kB / 327.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007698/1.855, allocations: 436.1 kB / 328.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/1.855, allocations: 0.7404 MB / 329 MB, free: 1.805 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.736e-05/1.855, allocations: 21.95 kB / 329 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/1.856, allocations: 23.44 kB / 329 MB, free: 1.762 MB / 250.7 MB Notification: Performance of SimCode: time 3.11e-07/1.856, allocations: 0 / 329 MB, free: 1.762 MB / 250.7 MB Notification: Performance of Templates: time 0.004309/1.86, allocations: 1.751 MB / 330.7 MB, free: 16 kB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)