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.001824/0.001824, allocations: 168.9 kB / 16.14 MB, free: 5.656 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.634/1.634, allocations: 205.4 MB / 222.3 MB, free: 9.004 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.0007624/0.0007624, allocations: 82.38 kB / 270.7 MB, free: 8.242 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.06714/0.06714, allocations: 12.59 MB / 331.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 16 kB / 392.8 MB, free: 65.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09553, allocations: 50.37 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001497/0.09706, allocations: 1.414 MB / 444.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.09788, allocations: 0.5854 MB / 445.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.09802, allocations: 7.938 kB / 445.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.09815, allocations: 11.86 kB / 445.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.09836, allocations: 23.92 kB / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.09871, allocations: 95.77 kB / 445.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.09886, allocations: 127.7 kB / 445.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.09897, allocations: 29.33 kB / 445.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.0991, allocations: 67.7 kB / 445.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.09926, allocations: 59.69 kB / 445.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.09929, allocations: 7.938 kB / 445.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.09932, allocations: 8 kB / 445.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.09938, allocations: 27.91 kB / 445.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.09946, allocations: 93.28 kB / 445.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.0996, allocations: 123.5 kB / 445.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09961, allocations: 0 / 445.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.09962, allocations: 4 kB / 445.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.09963, allocations: 0 / 445.8 MB, free: 12.62 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.0005882/0.1002, allocations: 423 kB / 446.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1003, allocations: 8.031 kB / 446.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.1003, allocations: 50.73 kB / 446.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1004, allocations: 16.75 kB / 446.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1006, allocations: 227.7 kB / 446.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1006, allocations: 12.38 kB / 446.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1007, allocations: 16.38 kB / 446.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.1013, allocations: 469 kB / 447 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1014, allocations: 3.938 kB / 447 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1014, allocations: 4 kB / 447 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1014, allocations: 4 kB / 447 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.1017, allocations: 127.9 kB / 447.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.102, allocations: 326.3 kB / 447.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.1024, allocations: 207.7 kB / 447.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.1025, allocations: 122.8 kB / 447.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.1026, allocations: 8.062 kB / 447.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.1026, allocations: 42.56 kB / 447.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/0.1026, allocations: 0 / 447.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005363/0.1031, allocations: 285.5 kB / 448.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.1032, allocations: 127.2 kB / 448.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.1033, allocations: 134 kB / 448.4 MB, free: 9.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1033, allocations: 37.64 kB / 448.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.1034, allocations: 92.69 kB / 448.5 MB, free: 9.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1034, allocations: 35.64 kB / 448.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.1034, allocations: 7.938 kB / 448.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.1035, allocations: 338.8 kB / 448.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.1036, allocations: 52.62 kB / 448.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1037, allocations: 246 kB / 449.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.1039, allocations: 312.5 kB / 449.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.104, allocations: 3.938 kB / 449.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003683/0.1043, allocations: 313.5 kB / 449.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1044, allocations: 8.125 kB / 449.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1044, allocations: 12 kB / 449.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1044, allocations: 8 kB / 449.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.1046, allocations: 63.84 kB / 449.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.1046, allocations: 15.94 kB / 449.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1047, allocations: 27.83 kB / 449.9 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1047, allocations: 16 kB / 449.9 MB, free: 8.043 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.1049, allocations: 150.5 kB / 450.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.1052, allocations: 205.3 kB / 450.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.1052, allocations: 21.12 kB / 450.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1052, allocations: 4 kB / 450.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1052, allocations: 0 / 450.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1052, allocations: 7.984 kB / 450.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1054, allocations: 213.4 kB / 450.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1054, allocations: 0 / 450.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1056, allocations: 43.97 kB / 450.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1056, allocations: 4 kB / 450.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.1056, allocations: 11.98 kB / 450.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1056, allocations: 7.938 kB / 450.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1056, allocations: 0 / 450.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.106, allocations: 337.9 kB / 450.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.106, allocations: 92.94 kB / 451 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.1061, allocations: 20 kB / 451 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1062, allocations: 15.98 kB / 451 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1062, allocations: 96 / 451 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1063, allocations: 15.88 kB / 451 MB, free: 6.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.1063, allocations: 99.27 kB / 451.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1063, allocations: 0 / 451.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.1067, allocations: 36 kB / 451.2 MB, free: 6.68 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.0008223/0.1075, allocations: 1.003 MB / 452.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.1079, allocations: 209.3 kB / 452.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1079, allocations: 0 / 452.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.1079, allocations: 11.98 kB / 452.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.1085, allocations: 136.8 kB / 452.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1108, allocations: 2.44 MB / 455 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.111, allocations: 0.7441 MB / 455.7 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.866e-05/0.1111, allocations: 13.95 kB / 455.7 MB, free: 1.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.1112, allocations: 55.41 kB / 455.8 MB, free: 1.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1112, allocations: 4 kB / 455.8 MB, free: 1.746 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.1254, allocations: 3.509 MB / 459.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.1256, allocations: 225.9 kB / 459.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.865, allocations: 3.938 kB / 459.5 MB, free: 13.96 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)