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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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=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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008409/0.000841, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000748/0.0007481, allocations: 182.1 kB / 16.96 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06455/0.06455, allocations: 12.59 MB / 284 MB, free: 8.582 MB / 238.1 MB 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.0006397/0.0006397, allocations: 24 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07569/0.07634, allocations: 50.38 MB / 395.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001521/0.07789, allocations: 1.415 MB / 397 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.07863, allocations: 0.5893 MB / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.07871, allocations: 7.938 kB / 397.6 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.45e-05/0.07879, allocations: 7.875 kB / 397.6 MB, free: 380 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.07894, allocations: 23.84 kB / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.07924, allocations: 103.8 kB / 397.7 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.07938, allocations: 119.7 kB / 397.8 MB, free: 132 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.07948, allocations: 29.11 kB / 397.8 MB, free: 104 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.808e-05/0.07958, allocations: 59.7 kB / 397.9 MB, free: 44 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.07972, allocations: 59.77 kB / 398 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.07975, allocations: 4 kB / 398 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.07977, allocations: 4 kB / 398 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.07983, allocations: 35.81 kB / 398 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.07991, allocations: 89.3 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.08004, allocations: 131.8 kB / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.08005, allocations: 0 / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08006, allocations: 4 kB / 398.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.08006, allocations: 0 / 398.2 MB, free: 15.71 MB / 302.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.0005386/0.08061, allocations: 415 kB / 398.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.08064, allocations: 8.031 kB / 398.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.08068, allocations: 16.75 kB / 398.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.08089, allocations: 227.7 kB / 398.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.08092, allocations: 16.31 kB / 398.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.08096, allocations: 20.38 kB / 398.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.08167, allocations: 469.2 kB / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.08169, allocations: 0 / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.08171, allocations: 4 kB / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.08172, allocations: 8 kB / 399.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.08198, allocations: 123.8 kB / 399.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.0823, allocations: 322.4 kB / 399.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.08266, allocations: 216 kB / 400 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.08286, allocations: 118.4 kB / 400.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.0829, allocations: 12 kB / 400.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.08292, allocations: 30.56 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.172e-06/0.08293, allocations: 0 / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.0005617/0.08349, allocations: 289.5 kB / 400.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.08359, allocations: 134.8 kB / 400.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.08368, allocations: 126.1 kB / 400.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.08371, allocations: 33.69 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.08376, allocations: 92.64 kB / 400.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.08379, allocations: 35.62 kB / 400.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.08384, allocations: 37.7 kB / 400.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.08394, allocations: 330.8 kB / 401.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.08406, allocations: 56.62 kB / 401.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.08426, allocations: 238.1 kB / 401.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.08458, allocations: 320.4 kB / 401.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.08459, allocations: 4 kB / 401.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004131/0.08501, allocations: 317.6 kB / 402.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.08504, allocations: 8 kB / 402.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.08505, allocations: 4 kB / 402.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.08507, allocations: 12 kB / 402.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.08525, allocations: 63.84 kB / 402.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.08527, allocations: 15.92 kB / 402.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.08539, allocations: 27.84 kB / 402.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.08542, allocations: 16 kB / 402.3 MB, free: 11.18 MB / 302.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.0001216/0.08554, allocations: 165.5 kB / 402.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.08586, allocations: 197.3 kB / 402.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.08592, allocations: 21.19 kB / 402.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.08592, allocations: 0 / 402.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.08594, allocations: 7.984 kB / 402.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.08594, allocations: 480 / 402.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.08613, allocations: 217.4 kB / 402.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.08614, allocations: 4 kB / 402.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.08632, allocations: 51.91 kB / 402.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.08633, allocations: 0 / 402.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.08636, allocations: 15.94 kB / 403 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.08636, allocations: 0 / 403 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.08637, allocations: 4 kB / 403 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.08678, allocations: 337.4 kB / 403.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.08683, allocations: 92.95 kB / 403.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.08687, allocations: 16 kB / 403.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.08698, allocations: 11.98 kB / 403.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.08702, allocations: 7.938 kB / 403.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.08704, allocations: 4 kB / 403.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.34e-05/0.08709, allocations: 107.2 kB / 403.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0871, allocations: 0 / 403.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.0874, allocations: 36 kB / 403.6 MB, free: 9.801 MB / 302.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 9.129e-05/0.0875, allocations: 108.2 kB / 403.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.08785, allocations: 201.3 kB / 403.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.08786, allocations: 64 / 403.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.0879, allocations: 15.94 kB / 403.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.08837, allocations: 136.7 kB / 404 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.08905, allocations: 436.1 kB / 404.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.08933, allocations: 0.7404 MB / 405.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.08938, allocations: 17.95 kB / 405.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.08944, allocations: 23.42 kB / 405.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08944, allocations: 0 / 405.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of Templates: time 0.003661/0.09311, allocations: 1.764 MB / 407 MB, free: 6.316 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: