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-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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00193/0.00193, allocations: 170.8 kB / 16.77 MB, free: 4.902 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.768/1.768, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0008419/0.0008419, allocations: 89.53 kB / 271.3 MB, free: 8.227 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.08018/0.08018, allocations: 12.6 MB / 332.2 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004586, allocations: 12 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 50.38 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001898/0.1039, allocations: 1.391 MB / 444.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.1049, allocations: 0.5662 MB / 444.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.105, allocations: 3.938 kB / 444.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1052, allocations: 15.94 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1055, allocations: 19.84 kB / 445 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.1059, allocations: 95.78 kB / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1061, allocations: 123.7 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1063, allocations: 29.06 kB / 445.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1064, allocations: 55.77 kB / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1065, allocations: 67.73 kB / 445.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1066, allocations: 4 kB / 445.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.1066, allocations: 8 kB / 445.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.1067, allocations: 27.91 kB / 445.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.1067, allocations: 85.36 kB / 445.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.852e-05/0.1069, allocations: 99.97 kB / 445.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1069, allocations: 0 / 445.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1069, allocations: 0 / 445.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1069, allocations: 0 / 445.5 MB, free: 13.51 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.0005779/0.1075, allocations: 419 kB / 445.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1075, allocations: 12.03 kB / 446 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.1076, allocations: 16.75 kB / 446 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1078, allocations: 223.7 kB / 446.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.1079, allocations: 12.38 kB / 446.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1079, allocations: 16.36 kB / 446.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.1086, allocations: 465.2 kB / 446.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1086, allocations: 3.938 kB / 446.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1086, allocations: 7.984 kB / 446.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.1086, allocations: 4 kB / 446.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1089, allocations: 107.9 kB / 446.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.1092, allocations: 342.3 kB / 447.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.1095, allocations: 211.7 kB / 447.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1097, allocations: 114.7 kB / 447.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1098, allocations: 8.109 kB / 447.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.1098, allocations: 38.56 kB / 447.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.522e-06/0.1098, allocations: 4 kB / 447.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005324/0.1103, allocations: 281.5 kB / 447.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.1104, allocations: 126.7 kB / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/0.1105, allocations: 134 kB / 448 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1105, allocations: 29.83 kB / 448.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.1105, allocations: 92.7 kB / 448.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1106, allocations: 39.62 kB / 448.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.1106, allocations: 8 kB / 448.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.1107, allocations: 330.8 kB / 448.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.1108, allocations: 52.62 kB / 448.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.1109, allocations: 246 kB / 448.8 MB, free: 9.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1112, allocations: 312.4 kB / 449.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.1112, allocations: 4 kB / 449.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005093/0.1117, allocations: 316.7 kB / 449.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1118, allocations: 11.94 kB / 449.4 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.1118, allocations: 8.875 kB / 449.5 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.1118, allocations: 12 kB / 449.5 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.112, allocations: 67.84 kB / 449.5 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.112, allocations: 11.94 kB / 449.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1121, allocations: 27.84 kB / 449.6 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1122, allocations: 16 kB / 449.6 MB, free: 9.008 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.0001137/0.1123, allocations: 162.2 kB / 449.7 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.1126, allocations: 197.6 kB / 449.9 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1126, allocations: 25.19 kB / 450 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1127, allocations: 8 kB / 450 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1127, allocations: 0 / 450 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1127, allocations: 3.938 kB / 450 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1129, allocations: 213.4 kB / 450.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1129, allocations: 4 kB / 450.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.113, allocations: 47.97 kB / 450.2 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1131, allocations: 0 / 450.2 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.1131, allocations: 11.98 kB / 450.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1131, allocations: 0 / 450.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1131, allocations: 7.938 kB / 450.2 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.1135, allocations: 333.9 kB / 450.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.1135, allocations: 92.95 kB / 450.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.1135, allocations: 15.98 kB / 450.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1137, allocations: 8 kB / 450.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1137, allocations: 4 kB / 450.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1137, allocations: 15.98 kB / 450.7 MB, free: 7.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.1138, allocations: 99.27 kB / 450.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1138, allocations: 0 / 450.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.1141, allocations: 36 kB / 450.8 MB, free: 7.645 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.0001106/0.1142, allocations: 103.2 kB / 450.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.1145, allocations: 203.6 kB / 451.1 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1145, allocations: 1.812 kB / 451.1 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.1146, allocations: 15.92 kB / 451.2 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.1151, allocations: 141.1 kB / 451.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/0.1158, allocations: 446.1 kB / 451.7 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.116, allocations: 0.7365 MB / 452.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.1161, allocations: 27.42 kB / 452.5 MB, free: 5.918 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1161, allocations: 0 / 452.5 MB, free: 5.918 MB / 298.7 MB Notification: Performance of Templates: time 0.00353/0.1196, allocations: 2.23 MB / 454.7 MB, free: 3.688 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile (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 & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.pipe 2>&1)