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/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/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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 175.6 kB / 16.77 MB, free: 4.922 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.135/1.135, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.000618/0.0006179, allocations: 88.86 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05457/0.05457, allocations: 12.19 MB / 331.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 19.98 kB / 392.2 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07234/0.07276, allocations: 50.29 MB / 442.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001298/0.0741, allocations: 1.391 MB / 443.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.07486, allocations: 0.5701 MB / 444.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.07496, allocations: 3.938 kB / 444.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.783e-05/0.07507, allocations: 7.922 kB / 444.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.07524, allocations: 23.86 kB / 444.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.07558, allocations: 87.83 kB / 444.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.07572, allocations: 127.7 kB / 444.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.07584, allocations: 29.06 kB / 444.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.07594, allocations: 55.77 kB / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.07607, allocations: 55.75 kB / 444.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.0761, allocations: 4 kB / 444.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.07612, allocations: 4 kB / 444.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.07617, allocations: 31.91 kB / 444.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.07623, allocations: 93.34 kB / 445 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.07632, allocations: 95.92 kB / 445.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.07633, allocations: 4 kB / 445.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07634, allocations: 0 / 445.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.07635, allocations: 0 / 445.1 MB, free: 13.95 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.0004256/0.07678, allocations: 415 kB / 445.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.07682, allocations: 12.03 kB / 445.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.07686, allocations: 50.73 kB / 445.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.07689, allocations: 20.75 kB / 445.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.07707, allocations: 227.7 kB / 445.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.0771, allocations: 12.38 kB / 445.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.07712, allocations: 12.38 kB / 445.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/0.07782, allocations: 473 kB / 446.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.07784, allocations: 0 / 446.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.07786, allocations: 4 kB / 446.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.07787, allocations: 4 kB / 446.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.07811, allocations: 119.8 kB / 446.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.07838, allocations: 334.3 kB / 446.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.0787, allocations: 203.9 kB / 446.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.07887, allocations: 118.6 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.07891, allocations: 7.984 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.07893, allocations: 38.69 kB / 447.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.382e-06/0.07893, allocations: 0 / 447.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005067/0.07944, allocations: 289.5 kB / 447.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.07951, allocations: 126.7 kB / 447.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.07958, allocations: 131 kB / 447.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.0796, allocations: 30.08 kB / 447.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.07964, allocations: 96.69 kB / 447.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.07967, allocations: 35.64 kB / 447.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.07968, allocations: 8.125 kB / 447.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.07975, allocations: 338.7 kB / 448.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.096e-05/0.07985, allocations: 56.62 kB / 448.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.07999, allocations: 242 kB / 448.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.08022, allocations: 308.5 kB / 448.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.08023, allocations: 7.938 kB / 448.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003518/0.08059, allocations: 313.1 kB / 449 MB, free: 9.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.08062, allocations: 8 kB / 449 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.08063, allocations: 12 kB / 449 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.08066, allocations: 8 kB / 449 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.08085, allocations: 67.84 kB / 449.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.08087, allocations: 16.48 kB / 449.1 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.08098, allocations: 27.83 kB / 449.1 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.081, allocations: 20 kB / 449.2 MB, free: 9.379 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 0.0001089/0.08112, allocations: 157.4 kB / 449.3 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.08144, allocations: 193.3 kB / 449.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.0815, allocations: 25.19 kB / 449.5 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.08151, allocations: 7.984 kB / 449.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.08152, allocations: 0 / 449.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.08153, allocations: 3.984 kB / 449.5 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.0817, allocations: 217.4 kB / 449.8 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.08171, allocations: 0 / 449.8 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.08189, allocations: 47.91 kB / 449.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.0819, allocations: 0 / 449.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.08193, allocations: 11.98 kB / 449.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.08194, allocations: 4 kB / 449.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.08195, allocations: 0 / 449.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.08232, allocations: 345.9 kB / 450.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.08236, allocations: 92.94 kB / 450.3 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.0824, allocations: 8 kB / 450.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.08251, allocations: 15.98 kB / 450.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.08257, allocations: 0 / 450.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.08259, allocations: 12 kB / 450.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.08264, allocations: 99.27 kB / 450.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08265, allocations: 0 / 450.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.08295, allocations: 36.09 kB / 450.4 MB, free: 8.023 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 0.0009085/0.08387, allocations: 0.9993 MB / 451.4 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.08426, allocations: 201.4 kB / 451.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.08428, allocations: 4 kB / 451.6 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.08432, allocations: 11.92 kB / 451.6 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.08482, allocations: 132.7 kB / 451.8 MB, free: 6.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.0863, allocations: 1.214 MB / 453 MB, free: 5.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.08647, allocations: 0.7365 MB / 453.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.08656, allocations: 59.41 kB / 453.8 MB, free: 4.465 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.08656, allocations: 0 / 453.8 MB, free: 4.465 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.616/2.702, allocations: 2.594 MB / 456.4 MB, free: 1.867 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling_fmu --startTime=0 --stopTime=0.15 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)