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.001347/0.001347, allocations: 84.19 kB / 15.75 MB, free: 416 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.001249/0.001249, allocations: 177.4 kB / 16.63 MB, free: 6.887 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.799/1.799, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.08631/0.08631, allocations: 12.61 MB / 283.7 MB, free: 8.688 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.0007235/0.0007236, allocations: 20 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1305, allocations: 50.37 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.002602/0.1332, allocations: 1.388 MB / 396.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1344, allocations: 0.5934 MB / 396.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1346, allocations: 3.938 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.1347, allocations: 7.875 kB / 396.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1349, allocations: 35.91 kB / 396.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.1354, allocations: 95.77 kB / 397 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1356, allocations: 119.7 kB / 397.2 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1358, allocations: 25.05 kB / 397.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1359, allocations: 51.78 kB / 397.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1361, allocations: 55.73 kB / 397.3 MB, free: 412 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1362, allocations: 12 kB / 397.3 MB, free: 400 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.089e-05/0.1362, allocations: 4 kB / 397.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.1363, allocations: 35.84 kB / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.1364, allocations: 49.62 kB / 397.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1365, allocations: 88.05 kB / 397.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1365, allocations: 0 / 397.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1365, allocations: 0 / 397.5 MB, free: 216 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1366, allocations: 0 / 397.5 MB, free: 216 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.0008152/0.1374, allocations: 426.8 kB / 397.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1374, allocations: 12.03 kB / 397.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.1375, allocations: 15.81 kB / 397.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1378, allocations: 226.4 kB / 398.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.1379, allocations: 16 kB / 398.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.1379, allocations: 12 kB / 398.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.1391, allocations: 472.6 kB / 398.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1392, allocations: 0 / 398.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.1392, allocations: 4 kB / 398.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1392, allocations: 4 kB / 398.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.1396, allocations: 119.8 kB / 398.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.1402, allocations: 326.3 kB / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.1407, allocations: 219.8 kB / 399.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.141, allocations: 118.8 kB / 399.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.1411, allocations: 4.062 kB / 399.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1411, allocations: 42.69 kB / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.1411, allocations: 0 / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008945/0.142, allocations: 285.5 kB / 399.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.1422, allocations: 134.7 kB / 399.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1423, allocations: 122.1 kB / 400 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1424, allocations: 29.7 kB / 400 MB, free: 13.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1425, allocations: 100.8 kB / 400.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.1425, allocations: 31.64 kB / 400.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.1426, allocations: 8 kB / 400.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1427, allocations: 330.8 kB / 400.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.1429, allocations: 52.62 kB / 400.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.1433, allocations: 250 kB / 400.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1435, allocations: 95.91 kB / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.1436, allocations: 7.953 kB / 400.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006642/0.1442, allocations: 313.5 kB / 401.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1443, allocations: 8 kB / 401.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.1443, allocations: 12.09 kB / 401.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.1443, allocations: 8 kB / 401.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.1446, allocations: 63.84 kB / 401.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.1446, allocations: 11.94 kB / 401.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.1449, allocations: 27.84 kB / 401.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.1449, allocations: 19.98 kB / 401.3 MB, free: 12 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.0001908/0.1451, allocations: 149.5 kB / 401.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/0.1457, allocations: 201.3 kB / 401.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.1458, allocations: 25.14 kB / 401.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1458, allocations: 4 kB / 401.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.1458, allocations: 3.984 kB / 401.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1458, allocations: 3.938 kB / 401.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.1461, allocations: 213.4 kB / 401.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1461, allocations: 7.938 kB / 401.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.1464, allocations: 47.97 kB / 402 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1464, allocations: 0 / 402 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.1465, allocations: 11.98 kB / 402 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.1465, allocations: 11.95 kB / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1466, allocations: 3.938 kB / 402 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.1472, allocations: 325.6 kB / 402.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.1472, allocations: 92.86 kB / 402.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.1473, allocations: 24.03 kB / 402.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.1475, allocations: 15.94 kB / 402.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1475, allocations: 3.984 kB / 402.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1476, allocations: 8 kB / 402.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.917e-05/0.1477, allocations: 99.27 kB / 402.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1477, allocations: 0 / 402.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005403/0.1482, allocations: 36 kB / 402.6 MB, free: 10.63 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.0001603/0.1484, allocations: 111.2 kB / 402.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005632/0.149, allocations: 197.1 kB / 402.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.149, allocations: 0 / 402.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.1491, allocations: 16.3 kB / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.1498, allocations: 140.7 kB / 403 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1509, allocations: 416.1 kB / 403.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.1514, allocations: 0.7365 MB / 404.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.347e-05/0.1515, allocations: 25.88 kB / 404.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.1516, allocations: 19.44 kB / 404.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1516, allocations: 0 / 404.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of Templates: time 0.006117/0.1577, allocations: 1.671 MB / 405.9 MB, free: 7.254 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: