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.001189/0.001189, allocations: 100.8 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 175.4 kB / 16.61 MB, free: 6.422 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.656/1.656, allocations: 205.4 MB / 222.8 MB, free: 5.672 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.08073/0.08073, allocations: 12.6 MB / 283.6 MB, free: 8.707 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.0006914/0.0006914, allocations: 20 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1142, allocations: 50.39 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001949/0.1162, allocations: 1.385 MB / 396.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.1171, allocations: 0.5662 MB / 396.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1172, allocations: 11.88 kB / 396.9 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1174, allocations: 3.938 kB / 396.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.1176, allocations: 31.83 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1179, allocations: 95.77 kB / 397 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1181, allocations: 83.83 kB / 397.1 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1182, allocations: 29.09 kB / 397.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1183, allocations: 51.78 kB / 397.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1185, allocations: 59.73 kB / 397.2 MB, free: 484 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1185, allocations: 7.938 kB / 397.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.1185, allocations: 4 kB / 397.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.1186, allocations: 27.92 kB / 397.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.1187, allocations: 53.56 kB / 397.3 MB, free: 384 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1188, allocations: 92.03 kB / 397.4 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1188, allocations: 4 kB / 397.4 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1188, allocations: 0 / 397.4 MB, free: 288 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1188, allocations: 0 / 397.4 MB, free: 288 kB / 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.0006752/0.1195, allocations: 418.8 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1195, allocations: 8.031 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.1196, allocations: 19.81 kB / 397.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1198, allocations: 226.5 kB / 398 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.1199, allocations: 12 kB / 398.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1199, allocations: 20 kB / 398.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.1207, allocations: 460.6 kB / 398.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1207, allocations: 0 / 398.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1208, allocations: 4 kB / 398.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1208, allocations: 8 kB / 398.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1211, allocations: 123.8 kB / 398.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1215, allocations: 322.4 kB / 399 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.1219, allocations: 211.8 kB / 399.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.1219, allocations: 12.45 kB / 399.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.122, allocations: 42.52 kB / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.116e-06/0.122, allocations: 3.984 kB / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.0006197/0.1226, allocations: 277.4 kB / 399.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.1227, allocations: 130.7 kB / 399.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1228, allocations: 134.5 kB / 399.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1228, allocations: 33.7 kB / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1229, allocations: 92.69 kB / 399.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.123, allocations: 35.64 kB / 399.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.123, allocations: 11.94 kB / 399.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1231, allocations: 330.8 kB / 400.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1232, allocations: 52.62 kB / 400.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.1234, allocations: 246 kB / 400.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1236, allocations: 91.92 kB / 400.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1236, allocations: 4 kB / 400.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004348/0.124, allocations: 317.4 kB / 401 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1241, allocations: 8 kB / 401 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.1241, allocations: 11.98 kB / 401 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1241, allocations: 8 kB / 401 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.1243, allocations: 59.92 kB / 401 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.1243, allocations: 15.92 kB / 401.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1245, allocations: 23.84 kB / 401.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.1245, allocations: 23.94 kB / 401.1 MB, free: 12.2 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 (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.0001316/0.1246, allocations: 161.5 kB / 401.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.125, allocations: 189.3 kB / 401.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.125, allocations: 29.17 kB / 401.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1251, allocations: 7.953 kB / 401.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1251, allocations: 0 / 401.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1251, allocations: 0 / 401.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.1253, allocations: 213.4 kB / 401.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1253, allocations: 4 kB / 401.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.1255, allocations: 51.91 kB / 401.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1255, allocations: 4 kB / 401.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1255, allocations: 4 kB / 401.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1255, allocations: 0 / 401.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.1255, allocations: 7.953 kB / 401.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.126, allocations: 361 kB / 402.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.1261, allocations: 96.81 kB / 402.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.1261, allocations: 15.98 kB / 402.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1262, allocations: 12 kB / 402.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1263, allocations: 0 / 402.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1263, allocations: 11.98 kB / 402.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.428e-05/0.1263, allocations: 99.27 kB / 402.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1263, allocations: 4.094 kB / 402.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.1267, allocations: 39.94 kB / 402.4 MB, free: 10.8 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 (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.000117/0.1268, allocations: 103.2 kB / 402.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.1272, allocations: 205.1 kB / 402.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1272, allocations: 0 / 402.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.1272, allocations: 8 kB / 402.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.1277, allocations: 144.6 kB / 402.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/0.1284, allocations: 405 kB / 403.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1288, allocations: 0.7482 MB / 404 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.1288, allocations: 17.95 kB / 404 MB, free: 9.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.1289, allocations: 23.42 kB / 404 MB, free: 9.102 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1289, allocations: 0 / 404 MB, free: 9.102 MB / 302.1 MB Notification: Performance of Templates: time 0.004266/0.1332, allocations: 1.669 MB / 405.7 MB, free: 7.434 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: