Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.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.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.557/1.557, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.0007422/0.0007422, allocations: 90.23 kB / 270.9 MB, free: 8.34 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.06981/0.06981, allocations: 12.58 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003971, allocations: 16 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07068/0.07109, allocations: 50.38 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001321/0.07246, allocations: 1.387 MB / 443.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.07317, allocations: 0.5897 MB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.214e-05/0.07325, allocations: 7.938 kB / 444.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.695e-05/0.07335, allocations: 11.86 kB / 444.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.07351, allocations: 19.86 kB / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.07388, allocations: 103.8 kB / 444.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.074, allocations: 115.7 kB / 444.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.07411, allocations: 25.06 kB / 444.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.07422, allocations: 55.77 kB / 444.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.07437, allocations: 63.69 kB / 444.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.07441, allocations: 4 kB / 444.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.102e-05/0.07444, allocations: 4 kB / 444.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.07451, allocations: 35.89 kB / 444.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.07456, allocations: 45.64 kB / 444.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.07468, allocations: 99.97 kB / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.07469, allocations: 0 / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0747, allocations: 0 / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.07471, allocations: 0 / 444.9 MB, free: 13.86 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005992/0.07532, allocations: 414.9 kB / 445.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.07536, allocations: 8.031 kB / 445.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.07541, allocations: 19.8 kB / 445.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.07561, allocations: 226.4 kB / 445.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.07565, allocations: 12 kB / 445.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.07568, allocations: 16 kB / 445.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.0764, allocations: 468.6 kB / 446.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.07643, allocations: 0 / 446.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.07645, allocations: 8 kB / 446.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.07646, allocations: 7.875 kB / 446.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.07674, allocations: 119.9 kB / 446.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.07706, allocations: 330.3 kB / 446.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.0774, allocations: 203.8 kB / 446.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.0776, allocations: 119 kB / 446.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.07764, allocations: 16.17 kB / 446.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.07766, allocations: 34.56 kB / 446.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.07766, allocations: 0 / 446.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005225/0.07819, allocations: 285.2 kB / 447.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.07826, allocations: 126.7 kB / 447.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.07833, allocations: 135.6 kB / 447.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.07835, allocations: 29.7 kB / 447.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.07838, allocations: 88.7 kB / 447.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.07841, allocations: 39.62 kB / 447.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.07842, allocations: 8 kB / 447.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.07847, allocations: 330.8 kB / 447.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.07857, allocations: 56.61 kB / 448 MB, free: 10.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.07871, allocations: 246 kB / 448.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.07884, allocations: 99.86 kB / 448.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.07885, allocations: 3.953 kB / 448.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003543/0.07921, allocations: 313.4 kB / 448.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.07924, allocations: 8 kB / 448.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.07925, allocations: 8 kB / 448.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.07927, allocations: 8 kB / 448.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.07945, allocations: 71.84 kB / 448.7 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.07947, allocations: 16.3 kB / 448.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.07959, allocations: 23.84 kB / 448.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.07961, allocations: 20 kB / 448.8 MB, free: 9.66 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/0.07971, allocations: 158.5 kB / 448.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.07999, allocations: 197.2 kB / 449.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.08004, allocations: 33.12 kB / 449.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.08005, allocations: 4 kB / 449.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.08006, allocations: 0 / 449.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.08007, allocations: 0 / 449.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.08021, allocations: 213.4 kB / 449.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.08022, allocations: 0 / 449.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.0804, allocations: 47.97 kB / 449.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.08041, allocations: 8 kB / 449.4 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.08043, allocations: 3.938 kB / 449.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.08044, allocations: 7.953 kB / 449.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.08045, allocations: 0 / 449.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.08081, allocations: 342.1 kB / 449.8 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.08084, allocations: 88.92 kB / 449.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.08088, allocations: 15.95 kB / 449.9 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.08099, allocations: 11.98 kB / 449.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.08103, allocations: 4 kB / 449.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.08105, allocations: 11.98 kB / 449.9 MB, free: 8.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.489e-05/0.08109, allocations: 103.7 kB / 450 MB, free: 8.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08109, allocations: 3.938 kB / 450 MB, free: 8.328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.08138, allocations: 36 kB / 450 MB, free: 8.293 MB / 298.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 (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 8.497e-05/0.08147, allocations: 107.2 kB / 450.1 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.08181, allocations: 197.3 kB / 450.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.08182, allocations: 12 kB / 450.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.08186, allocations: 8 kB / 450.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.08231, allocations: 145.4 kB / 450.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.08298, allocations: 445.8 kB / 450.9 MB, free: 7.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.08312, allocations: 0.7443 MB / 451.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.08318, allocations: 23.42 kB / 451.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.08318, allocations: 0 / 451.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of Templates: time 0.002877/0.08607, allocations: 2.224 MB / 453.9 MB, free: 4.332 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)