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.001077/0.001077, allocations: 177.4 kB / 15.82 MB, free: 6.305 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.6/1.6, allocations: 205.4 MB / 222 MB, free: 13.85 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007884/0.0007886, allocations: 94.3 kB / 270.3 MB, free: 13.38 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07839/0.07839, allocations: 12.6 MB / 331.1 MB, free: 10.32 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004833, allocations: 15.58 kB / 392.1 MB, free: 54.82 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.09991, allocations: 50.38 MB / 442.5 MB, free: 10.86 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.001568/0.1015, allocations: 1.384 MB / 443.9 MB, free: 9.465 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.1025, allocations: 0.5896 MB / 444.5 MB, free: 8.867 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1027, allocations: 11.88 kB / 444.5 MB, free: 8.855 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1028, allocations: 11.86 kB / 444.5 MB, free: 8.844 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.1031, allocations: 27.84 kB / 444.5 MB, free: 8.816 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.1035, allocations: 89.84 kB / 444.6 MB, free: 8.73 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1037, allocations: 119.7 kB / 444.7 MB, free: 8.613 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1039, allocations: 33.05 kB / 444.8 MB, free: 8.582 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.104, allocations: 51.77 kB / 444.8 MB, free: 8.531 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1041, allocations: 59.69 kB / 444.9 MB, free: 8.473 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.1042, allocations: 8 kB / 444.9 MB, free: 8.465 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.244e-05/0.1042, allocations: 4 kB / 444.9 MB, free: 8.461 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.1043, allocations: 27.91 kB / 444.9 MB, free: 8.434 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.1044, allocations: 53.62 kB / 445 MB, free: 8.375 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1045, allocations: 92.59 kB / 445.1 MB, free: 8.285 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1045, allocations: 0 / 445.1 MB, free: 8.285 MB / 282.8 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1046, allocations: 4 kB / 445.1 MB, free: 8.281 MB / 282.8 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1046, allocations: 0 / 445.1 MB, free: 8.281 MB / 282.8 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.0007899/0.1054, allocations: 418.8 kB / 445.5 MB, free: 7.824 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.1054, allocations: 12.03 kB / 445.5 MB, free: 7.812 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.357e-05/0.1055, allocations: 50.55 kB / 445.5 MB, free: 7.754 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.1056, allocations: 15.81 kB / 445.5 MB, free: 7.738 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1058, allocations: 226.5 kB / 445.8 MB, free: 7.477 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.1059, allocations: 16 kB / 445.8 MB, free: 7.461 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1059, allocations: 12 kB / 445.8 MB, free: 7.449 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.1066, allocations: 460.7 kB / 446.2 MB, free: 6.977 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1066, allocations: 3.938 kB / 446.2 MB, free: 6.973 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1067, allocations: 8 kB / 446.3 MB, free: 6.965 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1067, allocations: 4 kB / 446.3 MB, free: 6.961 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.1069, allocations: 111.9 kB / 446.4 MB, free: 6.852 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1073, allocations: 334.3 kB / 446.7 MB, free: 6.469 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.1076, allocations: 208.1 kB / 446.9 MB, free: 6.238 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.1078, allocations: 126.7 kB / 447 MB, free: 6.105 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.1078, allocations: 11.94 kB / 447 MB, free: 6.094 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1079, allocations: 30.56 kB / 447.1 MB, free: 6.055 MB / 282.8 MB Notification: Performance of pre-optimization done (n=29): time 1.704e-06/0.1079, allocations: 0 / 447.1 MB, free: 6.055 MB / 282.8 MB Notification: Performance of matching and sorting (n=29): time 0.0006327/0.1085, allocations: 289.2 kB / 447.3 MB, free: 5.766 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1086, allocations: 130.7 kB / 447.5 MB, free: 5.613 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1088, allocations: 134 kB / 447.6 MB, free: 5.473 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1088, allocations: 29.7 kB / 447.6 MB, free: 5.438 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.1088, allocations: 92.77 kB / 447.7 MB, free: 5.344 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.1089, allocations: 39.62 kB / 447.8 MB, free: 5.305 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.1089, allocations: 8 kB / 447.8 MB, free: 5.297 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.109, allocations: 326.8 kB / 448.1 MB, free: 4.969 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1091, allocations: 60.62 kB / 448.1 MB, free: 4.906 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.1094, allocations: 246 kB / 448.4 MB, free: 4.578 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1095, allocations: 99.81 kB / 448.5 MB, free: 4.48 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1096, allocations: 8 kB / 448.5 MB, free: 4.473 MB / 282.8 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003767/0.1099, allocations: 301.2 kB / 448.8 MB, free: 4.172 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.11, allocations: 11.98 kB / 448.8 MB, free: 4.16 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.11, allocations: 8 kB / 448.8 MB, free: 4.152 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.11, allocations: 8 kB / 448.8 MB, free: 4.145 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.1102, allocations: 68.44 kB / 448.9 MB, free: 4.078 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1102, allocations: 15.94 kB / 448.9 MB, free: 4.062 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1103, allocations: 27.75 kB / 448.9 MB, free: 4.035 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1104, allocations: 20 kB / 448.9 MB, free: 4.016 MB / 282.8 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.000106/0.1105, allocations: 165.4 kB / 449.1 MB, free: 3.844 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.1108, allocations: 185.3 kB / 449.3 MB, free: 3.656 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.1108, allocations: 29.17 kB / 449.3 MB, free: 3.629 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1108, allocations: 4 kB / 449.3 MB, free: 3.625 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1108, allocations: 0 / 449.3 MB, free: 3.625 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1108, allocations: 0 / 449.3 MB, free: 3.625 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.111, allocations: 221.4 kB / 449.5 MB, free: 3.359 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.111, allocations: 480 / 449.5 MB, free: 3.359 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1112, allocations: 47.91 kB / 449.6 MB, free: 3.312 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1112, allocations: 4 kB / 449.6 MB, free: 3.309 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1112, allocations: 7.953 kB / 449.6 MB, free: 3.301 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1112, allocations: 7.984 kB / 449.6 MB, free: 3.293 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1112, allocations: 3.938 kB / 449.6 MB, free: 3.289 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1116, allocations: 333.6 kB / 449.9 MB, free: 2.941 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.1117, allocations: 92.86 kB / 450 MB, free: 2.832 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.1117, allocations: 19.94 kB / 450 MB, free: 2.812 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1118, allocations: 8 kB / 450 MB, free: 2.805 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1119, allocations: 7.938 kB / 450.1 MB, free: 2.797 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1119, allocations: 15.98 kB / 450.1 MB, free: 2.781 MB / 282.8 MB Notification: Performance of sorting global known variables: time 3.645e-05/0.1119, allocations: 99.27 kB / 450.2 MB, free: 2.684 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.112, allocations: 0 / 450.2 MB, free: 2.684 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002891/0.1122, allocations: 36 kB / 450.2 MB, free: 2.648 MB / 282.8 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.0007448/0.113, allocations: 0.9917 MB / 451.2 MB, free: 1.621 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.1134, allocations: 205.2 kB / 451.4 MB, free: 1.422 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1134, allocations: 0 / 451.4 MB, free: 1.422 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.1134, allocations: 8 kB / 451.4 MB, free: 1.414 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.1139, allocations: 141 kB / 451.5 MB, free: 1.281 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1156, allocations: 1.181 MB / 452.7 MB, free: 15.96 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1159, allocations: 0.7404 MB / 453.5 MB, free: 15.19 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 5.644e-05/0.116, allocations: 18.05 kB / 453.5 MB, free: 15.18 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/0.1161, allocations: 63.34 kB / 453.5 MB, free: 15.11 MB / 298.8 MB Notification: Performance of SimCode: time 2.11e-07/0.1161, allocations: 0 / 453.5 MB, free: 15.11 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.1308, allocations: 3.524 MB / 457.1 MB, free: 11.6 MB / 298.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.1311, allocations: 206.2 kB / 457.3 MB, free: 11.36 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/1.86, allocations: 4 kB / 457.3 MB, free: 11.36 MB / 298.8 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)