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.007314/0.007314, allocations: 88.7 kB / 15.91 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 199 kB / 16.83 MB, free: 6.234 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.592/1.592, allocations: 205.1 MB / 222.7 MB, free: 4.684 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.08904/0.08904, allocations: 12.59 MB / 282.6 MB, free: 8.762 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.001601/0.001601, allocations: 92.62 kB / 342.8 MB, free: 21.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.1002, allocations: 49.38 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.003253/0.1035, allocations: 1.773 MB / 394 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1046, allocations: 0.597 MB / 394.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1047, allocations: 7.938 kB / 394.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.1048, allocations: 7.922 kB / 394.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.105, allocations: 23.86 kB / 394.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1054, allocations: 95.83 kB / 394.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1056, allocations: 135.5 kB / 394.8 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1058, allocations: 25.11 kB / 394.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1059, allocations: 55.83 kB / 394.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1061, allocations: 71.67 kB / 395 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1061, allocations: 8 kB / 395 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.1061, allocations: 4 kB / 395 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.1062, allocations: 35.91 kB / 395 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.1063, allocations: 67.53 kB / 395.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1065, allocations: 131.8 kB / 395.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1065, allocations: 0 / 395.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1065, allocations: 0 / 395.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1065, allocations: 0 / 395.2 MB, free: 0.6641 MB / 286.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.0007249/0.1072, allocations: 443 kB / 395.6 MB, free: 188 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1073, allocations: 8.031 kB / 395.6 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.1073, allocations: 20.66 kB / 395.7 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1076, allocations: 227.8 kB / 395.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1076, allocations: 12.38 kB / 395.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1077, allocations: 20.38 kB / 395.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.1085, allocations: 469.1 kB / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1085, allocations: 0 / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1086, allocations: 8 kB / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1086, allocations: 4 kB / 396.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.1089, allocations: 111.8 kB / 396.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1093, allocations: 330.3 kB / 396.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.1097, allocations: 207.9 kB / 397 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1099, allocations: 126.6 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.11, allocations: 4 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.11, allocations: 38.56 kB / 397.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.11, allocations: 0 / 397.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.000631/0.1106, allocations: 273.7 kB / 397.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.1107, allocations: 134.8 kB / 397.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1109, allocations: 130 kB / 397.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1109, allocations: 29.7 kB / 397.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.1109, allocations: 104.7 kB / 397.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.111, allocations: 39.58 kB / 397.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.1111, allocations: 54.03 kB / 397.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1112, allocations: 330.8 kB / 398.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1113, allocations: 56.62 kB / 398.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.1116, allocations: 242 kB / 398.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.1119, allocations: 312.4 kB / 398.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1119, allocations: 0 / 398.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004482/0.1124, allocations: 308.8 kB / 399.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1124, allocations: 8.906 kB / 399.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1124, allocations: 8 kB / 399.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1124, allocations: 8 kB / 399.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1126, allocations: 63.91 kB / 399.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.1126, allocations: 15.92 kB / 399.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.1128, allocations: 31.75 kB / 399.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.1128, allocations: 12 kB / 399.3 MB, free: 12.11 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.0001628/0.113, allocations: 161.9 kB / 399.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.1133, allocations: 197.3 kB / 399.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.1134, allocations: 21.19 kB / 399.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1134, allocations: 4 kB / 399.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1134, allocations: 4 kB / 399.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1134, allocations: 7.984 kB / 399.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1137, allocations: 213.4 kB / 399.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1137, allocations: 0 / 399.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.1139, allocations: 47.92 kB / 399.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1139, allocations: 4 kB / 399.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1139, allocations: 7.984 kB / 400 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1139, allocations: 4 kB / 400 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1139, allocations: 0 / 400 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.1144, allocations: 341.4 kB / 400.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1144, allocations: 92.86 kB / 400.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.1145, allocations: 16 kB / 400.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1146, allocations: 7.984 kB / 400.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.1146, allocations: 3.938 kB / 400.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1146, allocations: 12 kB / 400.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.1147, allocations: 107.2 kB / 400.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1147, allocations: 0 / 400.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.115, allocations: 36 kB / 400.6 MB, free: 10.74 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 0.0001196/0.1152, allocations: 107.2 kB / 400.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.1155, allocations: 200.7 kB / 400.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1155, allocations: 0 / 400.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.1156, allocations: 8 kB / 400.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.1161, allocations: 140.7 kB / 401 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008028/0.1169, allocations: 417.1 kB / 401.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1172, allocations: 0.7482 MB / 402.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.1173, allocations: 17.95 kB / 402.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.1174, allocations: 23.38 kB / 402.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1174, allocations: 0 / 402.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of Templates: time 0.0043/0.1217, allocations: 1.776 MB / 404 MB, free: 7.254 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile (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)