Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0272/0.0272, allocations: 105.4 kB / 17.12 MB, free: 5.945 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 195.8 kB / 20.07 MB, free: 3.008 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 5.205/5.205, allocations: 205.1 MB / 227.9 MB, free: 4.301 MB / 174.1 MB [Timeout remaining time 85] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08607/0.08607, allocations: 12.61 MB / 289.9 MB, free: 6.426 MB / 238.1 MB [Timeout remaining time 90] 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/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=500,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 91.86 kB / 402.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1927, allocations: 49.4 MB / 452.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.003615/0.1963, allocations: 1.705 MB / 454 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.198, allocations: 0.609 MB / 454.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.1984, allocations: 11.06 kB / 454.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.1989, allocations: 11.81 kB / 454.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.199, allocations: 29.66 kB / 454.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1993, allocations: 115 kB / 454.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.1996, allocations: 131.6 kB / 454.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.2, allocations: 37.61 kB / 454.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2001, allocations: 62.92 kB / 455 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.2004, allocations: 74.02 kB / 455.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.2004, allocations: 9.969 kB / 455.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.2005, allocations: 15 kB / 455.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.2005, allocations: 39.72 kB / 455.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.2006, allocations: 62.72 kB / 455.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.2009, allocations: 138.1 kB / 455.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2009, allocations: 0 / 455.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2009, allocations: 0 / 455.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2009, allocations: 1.375 kB / 455.3 MB, free: 2.32 MB / 318.1 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.002116/0.2031, allocations: 449.5 kB / 455.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2031, allocations: 17.56 kB / 455.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.2033, allocations: 18.47 kB / 455.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.2041, allocations: 231.4 kB / 456 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.2043, allocations: 15 kB / 456 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.2043, allocations: 21.94 kB / 456.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.2052, allocations: 455.1 kB / 456.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002027/0.2054, allocations: 1.469 kB / 456.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2054, allocations: 5.375 kB / 456.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2054, allocations: 2.719 kB / 456.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.2057, allocations: 117 kB / 456.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.2062, allocations: 327.9 kB / 457 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.2067, allocations: 215.4 kB / 457.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.2069, allocations: 116.8 kB / 457.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.2069, allocations: 7.734 kB / 457.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.2069, allocations: 37.72 kB / 457.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.2069, allocations: 0 / 457.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001307/0.2082, allocations: 273 kB / 457.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.2083, allocations: 137.9 kB / 457.7 MB, free: 372 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.2084, allocations: 133 kB / 457.9 MB, free: 248 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2084, allocations: 31.08 kB / 457.9 MB, free: 212 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.2084, allocations: 91.45 kB / 458 MB, free: 116 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2084, allocations: 44.09 kB / 458 MB, free: 80 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.2085, allocations: 54.66 kB / 458.1 MB, free: 36 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2087, allocations: 330.9 kB / 458.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.2087, allocations: 56.25 kB / 458.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.209, allocations: 240.8 kB / 458.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.2093, allocations: 311.9 kB / 459 MB, free: 15.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2093, allocations: 2.75 kB / 459 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004175/0.2098, allocations: 304.1 kB / 459.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2098, allocations: 9.219 kB / 459.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2098, allocations: 11 kB / 459.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.21, allocations: 16.25 kB / 459.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.2102, allocations: 59.28 kB / 459.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.2103, allocations: 12.62 kB / 459.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2104, allocations: 31.12 kB / 459.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.2104, allocations: 18.36 kB / 459.4 MB, free: 14.87 MB / 334.1 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 ($CLKPRE.movingAverage.first,movingAverage.first,$CLKPRE.superSampleIpo1.ticks,superSampleIpo1.ticks,superSampleIpo1.usedFactor,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.superSampleIpo1.first,superSampleIpo1.first,$CLKPRE.upSample1.b,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.0001341/0.2106, allocations: 159.4 kB / 459.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.2109, allocations: 192.6 kB / 459.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.2109, allocations: 24.28 kB / 459.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.211, allocations: 7.281 kB / 459.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.211, allocations: 1.406 kB / 459.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.211, allocations: 0.8125 kB / 459.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2112, allocations: 211.1 kB / 460 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2112, allocations: 1.156 kB / 460 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2114, allocations: 51.69 kB / 460.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2114, allocations: 1.188 kB / 460.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.2114, allocations: 11.33 kB / 460.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2114, allocations: 1.031 kB / 460.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2114, allocations: 5.344 kB / 460.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.2119, allocations: 337.9 kB / 460.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.2119, allocations: 94.31 kB / 460.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.212, allocations: 14.55 kB / 460.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.2121, allocations: 8.375 kB / 460.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.2123, allocations: 5.125 kB / 460.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2123, allocations: 14.52 kB / 460.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.2123, allocations: 99.05 kB / 460.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2124, allocations: 1.062 kB / 460.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.2127, allocations: 39.39 kB / 460.7 MB, free: 13.86 MB / 334.1 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.0001062/0.2128, allocations: 110.5 kB / 460.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009506/0.2137, allocations: 203.7 kB / 461 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.2137, allocations: 0 / 461 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.2138, allocations: 13.36 kB / 461 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.2143, allocations: 136 kB / 461.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2155, allocations: 378.1 kB / 461.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.2159, allocations: 0.7406 MB / 462.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.2159, allocations: 19.23 kB / 462.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.2161, allocations: 24.36 kB / 462.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2161, allocations: 0 / 462.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Templates: time 0.008431/0.2245, allocations: 1.974 MB / 464.3 MB, free: 11.61 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile [Timeout 660] (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) [Timeout 480]