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/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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,fileNamePrefix="Modelica_Synchronous_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.001035/0.001035, allocations: 177.3 kB / 16.12 MB, free: 5.57 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.606/1.606, allocations: 205 MB / 221.9 MB, free: 9.148 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.0007545/0.0007545, allocations: 86.31 kB / 269.9 MB, free: 8.672 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.08385/0.08385, allocations: 12.58 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 12 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09368, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.00147/0.0952, allocations: 1.429 MB / 442.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.09596, allocations: 0.5931 MB / 443.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.09606, allocations: 7.938 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.09619, allocations: 11.86 kB / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.09636, allocations: 27.86 kB / 443.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.09669, allocations: 91.89 kB / 443.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.09683, allocations: 127.7 kB / 443.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.09697, allocations: 29.34 kB / 443.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.09707, allocations: 59.7 kB / 443.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.09722, allocations: 59.69 kB / 443.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.09725, allocations: 4 kB / 443.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.651e-05/0.09727, allocations: 8 kB / 443.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.09734, allocations: 31.91 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.0974, allocations: 63.59 kB / 443.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.09752, allocations: 127.5 kB / 443.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.09753, allocations: 0 / 443.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09754, allocations: 0 / 443.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.09755, allocations: 0 / 443.8 MB, free: 13.6 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.0005382/0.09809, allocations: 419 kB / 444.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.09814, allocations: 8.031 kB / 444.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.09818, allocations: 50.73 kB / 444.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.09823, allocations: 20.75 kB / 444.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.09842, allocations: 233 kB / 444.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.09845, allocations: 12.38 kB / 444.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.09848, allocations: 16.38 kB / 444.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.09914, allocations: 469 kB / 445 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.09917, allocations: 0 / 445 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.09919, allocations: 8 kB / 445 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.0992, allocations: 7.938 kB / 445 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.09944, allocations: 119.8 kB / 445.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.09975, allocations: 326.4 kB / 445.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.1001, allocations: 219.8 kB / 445.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1003, allocations: 114.7 kB / 445.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1003, allocations: 8.062 kB / 445.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1003, allocations: 42.55 kB / 445.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.332e-06/0.1003, allocations: 0 / 445.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005291/0.1009, allocations: 289.5 kB / 446.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.101, allocations: 126.7 kB / 446.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.101, allocations: 126.5 kB / 446.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1011, allocations: 33.64 kB / 446.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.1011, allocations: 92.7 kB / 446.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1011, allocations: 39.75 kB / 446.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1012, allocations: 37.64 kB / 446.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.1012, allocations: 330.8 kB / 446.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.1013, allocations: 60.61 kB / 446.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1015, allocations: 234.1 kB / 447.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.1017, allocations: 320.4 kB / 447.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1017, allocations: 0 / 447.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003501/0.1021, allocations: 313.1 kB / 447.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1021, allocations: 11.98 kB / 447.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1021, allocations: 8 kB / 447.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1022, allocations: 8 kB / 447.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.1023, allocations: 71.84 kB / 447.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1023, allocations: 12.88 kB / 447.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1025, allocations: 27.84 kB / 447.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1025, allocations: 20 kB / 447.9 MB, free: 8.988 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 ($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 9.849e-05/0.1026, allocations: 157.6 kB / 448.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.1029, allocations: 197.3 kB / 448.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.1029, allocations: 25.17 kB / 448.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1029, allocations: 4 kB / 448.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1029, allocations: 0 / 448.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.103, allocations: 0 / 448.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1031, allocations: 225.4 kB / 448.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1031, allocations: 0 / 448.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1033, allocations: 47.91 kB / 448.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1033, allocations: 4 kB / 448.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1033, allocations: 4 kB / 448.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1033, allocations: 4 kB / 448.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1033, allocations: 3.984 kB / 448.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.1037, allocations: 337.9 kB / 448.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.1037, allocations: 92.95 kB / 449 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.1038, allocations: 15.98 kB / 449 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1039, allocations: 11.94 kB / 449.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1039, allocations: 4 kB / 449.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1039, allocations: 11.92 kB / 449.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.981e-05/0.104, allocations: 111.3 kB / 449.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.104, allocations: 0 / 449.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.1043, allocations: 36 kB / 449.2 MB, free: 7.617 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 (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.0007486/0.105, allocations: 0.9916 MB / 450.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.1054, allocations: 213.3 kB / 450.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1054, allocations: 0 / 450.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.1054, allocations: 8 kB / 450.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.1059, allocations: 137 kB / 450.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1079, allocations: 2.448 MB / 453 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.1081, allocations: 0.7323 MB / 453.7 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.1082, allocations: 21.95 kB / 453.8 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.1082, allocations: 51.42 kB / 453.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1082, allocations: 0 / 453.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.122, allocations: 3.509 MB / 457.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.1223, allocations: 226 kB / 457.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/1.914, allocations: 3.938 kB / 457.5 MB, free: 14.92 MB / 314.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling_fmu --startTime=0 --stopTime=0.15 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)