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.002136/0.002136, allocations: 186.7 kB / 15.81 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001169/0.001169, allocations: 106.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1053/0.1053, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009496/0.0009499, allocations: 13.19 kB / 392.1 MB, free: 54.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1219, allocations: 50.37 MB / 442.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.002712/0.1247, allocations: 1.378 MB / 443.9 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1264, allocations: 0.574 MB / 444.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.1266, allocations: 7.875 kB / 444.4 MB, free: 8.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.1268, allocations: 15.84 kB / 444.5 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.1271, allocations: 19.97 kB / 444.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.128, allocations: 101.7 kB / 444.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.1283, allocations: 75.84 kB / 444.6 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1285, allocations: 25.06 kB / 444.7 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1287, allocations: 63.7 kB / 444.7 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.129, allocations: 55.75 kB / 444.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.129, allocations: 4 kB / 444.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-05/0.1291, allocations: 4 kB / 444.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1292, allocations: 39.83 kB / 444.8 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.1293, allocations: 53.62 kB / 444.9 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1295, allocations: 90.62 kB / 445 MB, free: 8.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1295, allocations: 0 / 445 MB, free: 8.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1295, allocations: 0 / 445 MB, free: 8.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1296, allocations: 0 / 445 MB, free: 8.266 MB / 282.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.0009742/0.1305, allocations: 431.6 kB / 445.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/0.1306, allocations: 12.02 kB / 445.4 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.739e-05/0.1307, allocations: 46.56 kB / 445.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.1308, allocations: 23.8 kB / 445.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.1313, allocations: 222.5 kB / 445.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.1313, allocations: 8 kB / 445.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.1314, allocations: 16 kB / 445.7 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.1331, allocations: 460.7 kB / 446.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1331, allocations: 0 / 446.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.1332, allocations: 4 kB / 446.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1332, allocations: 4 kB / 446.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007005/0.1339, allocations: 127.8 kB / 446.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1346, allocations: 326.4 kB / 446.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009005/0.1355, allocations: 216.4 kB / 446.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.1356, allocations: 8.016 kB / 446.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1356, allocations: 34.56 kB / 446.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 4.078e-06/0.1356, allocations: 4 kB / 446.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001437/0.1371, allocations: 289.2 kB / 447.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1372, allocations: 130.7 kB / 447.3 MB, free: 5.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1374, allocations: 126.1 kB / 447.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1375, allocations: 30.08 kB / 447.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1375, allocations: 96.83 kB / 447.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.1376, allocations: 43.56 kB / 447.6 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.1377, allocations: 4 kB / 447.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1378, allocations: 330.8 kB / 447.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.138, allocations: 56.61 kB / 448 MB, free: 5.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.1384, allocations: 238.1 kB / 448.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.1388, allocations: 99.84 kB / 448.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.1389, allocations: 4 kB / 448.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000986/0.1399, allocations: 313.5 kB / 448.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.1399, allocations: 12.16 kB / 448.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.14, allocations: 8 kB / 448.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/0.14, allocations: 8 kB / 448.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.1405, allocations: 59.91 kB / 448.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.728e-05/0.1406, allocations: 15.92 kB / 448.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.141, allocations: 35.73 kB / 448.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.141, allocations: 16 kB / 448.7 MB, free: 4.121 MB / 282.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.0002715/0.1413, allocations: 157.4 kB / 448.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008274/0.1422, allocations: 197.3 kB / 449.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.702e-05/0.1423, allocations: 21.19 kB / 449.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.1423, allocations: 7.953 kB / 449.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.1423, allocations: 4 kB / 449.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.1423, allocations: 3.984 kB / 449.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.1427, allocations: 205.4 kB / 449.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1428, allocations: 4 kB / 449.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.1433, allocations: 51.91 kB / 449.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.1434, allocations: 0 / 449.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.1434, allocations: 11.98 kB / 449.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.1434, allocations: 4 kB / 449.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1434, allocations: 11.89 kB / 449.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.1444, allocations: 352.9 kB / 449.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.1445, allocations: 100.8 kB / 449.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.1446, allocations: 12 kB / 449.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.1449, allocations: 15.98 kB / 449.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.145, allocations: 0 / 449.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.1451, allocations: 8 kB / 449.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.838e-05/0.1452, allocations: 99.27 kB / 450 MB, free: 2.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1452, allocations: 0 / 450 MB, free: 2.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008269/0.146, allocations: 36.09 kB / 450 MB, free: 2.727 MB / 282.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.001904/0.1479, allocations: 1.156 MB / 451.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008043/0.1488, allocations: 205.4 kB / 451.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.1488, allocations: 0 / 451.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.101e-05/0.1489, allocations: 7.984 kB / 451.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.1499, allocations: 136.4 kB / 451.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.1564, allocations: 5.356 MB / 456.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.1571, allocations: 0.7482 MB / 457.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.1573, allocations: 14.06 kB / 457.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.1575, allocations: 59.34 kB / 457.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1575, allocations: 4 kB / 457.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.1914, allocations: 3.528 MB / 461.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003767/0.1919, allocations: 211.9 kB / 461.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/2.863, allocations: 0 / 461.4 MB, free: 7.035 MB / 298.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)