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.001579/0.001579, allocations: 177.7 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.236/2.236, allocations: 205.3 MB / 213.8 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 90.61 kB / 261.8 MB, free: 1.617 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.1021/0.1021, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.943e-05, allocations: 3.938 kB / 379 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4228, allocations: 50.36 MB / 429.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.5964, allocations: 78.37 MB / 0.4959 GB, free: 3.758 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5967, allocations: 67.97 kB / 0.4959 GB, free: 3.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02525/0.622, allocations: 5.08 MB / 0.5009 GB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.622, allocations: 3.984 kB / 0.5009 GB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.6221, allocations: 4 kB / 0.5009 GB, free: 14.6 MB / 362.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.000795/0.6229, allocations: 410.1 kB / 0.5013 GB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.892e-05/0.6229, allocations: 12.03 kB / 0.5013 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.623, allocations: 19.72 kB / 0.5013 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.6236, allocations: 224.3 kB / 0.5015 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.6237, allocations: 11.95 kB / 0.5016 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.6237, allocations: 8 kB / 0.5016 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003625/0.6241, allocations: 107.9 kB / 0.5017 GB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.6251, allocations: 396.9 kB / 0.502 GB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6252, allocations: 0 / 0.502 GB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.6252, allocations: 4 kB / 0.5021 GB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.6252, allocations: 4 kB / 0.5021 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.6259, allocations: 298.9 kB / 0.5023 GB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.6264, allocations: 171.9 kB / 0.5025 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.6267, allocations: 94.72 kB / 0.5026 GB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/0.6268, allocations: 12.05 kB / 0.5026 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/0.6268, allocations: 38.56 kB / 0.5026 GB, free: 12.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.469e-06/0.6269, allocations: 4 kB / 0.5026 GB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009803/0.6279, allocations: 174.7 kB / 0.5028 GB, free: 12.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/0.6281, allocations: 122.7 kB / 0.5029 GB, free: 12.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.6284, allocations: 115 kB / 0.503 GB, free: 12.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.6285, allocations: 25.7 kB / 0.5031 GB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.6286, allocations: 92.7 kB / 0.5032 GB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.6287, allocations: 39.62 kB / 0.5032 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.6288, allocations: 4.031 kB / 0.5032 GB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002801/0.629, allocations: 330.8 kB / 0.5035 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.6293, allocations: 40.66 kB / 0.5035 GB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.6298, allocations: 221.8 kB / 0.5038 GB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.6301, allocations: 83.89 kB / 0.5038 GB, free: 11.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.6302, allocations: 0 / 0.5038 GB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001081/0.6313, allocations: 249.5 kB / 0.5041 GB, free: 11.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.6314, allocations: 8 kB / 0.5041 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.6314, allocations: 8 kB / 0.5041 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.604e-05/0.6315, allocations: 11.98 kB / 0.5041 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.6323, allocations: 63.86 kB / 0.5042 GB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.635e-05/0.6324, allocations: 11.98 kB / 0.5042 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.6329, allocations: 23.75 kB / 0.5042 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.633, allocations: 24.31 kB / 0.5042 GB, free: 10.86 MB / 362.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 () * 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.000276/0.6333, allocations: 123.2 kB / 0.5043 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009443/0.6343, allocations: 177.4 kB / 0.5045 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.6344, allocations: 19.8 kB / 0.5045 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.6346, allocations: 16.75 kB / 0.5045 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.6346, allocations: 7.938 kB / 0.5046 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.6347, allocations: 7.984 kB / 0.5046 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.6347, allocations: 0 / 0.5046 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.6352, allocations: 178 kB / 0.5047 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.6353, allocations: 8.031 kB / 0.5047 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.6361, allocations: 47.97 kB / 0.5048 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.6361, allocations: 4 kB / 0.5048 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.6362, allocations: 4.172 kB / 0.5048 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/0.6362, allocations: 7.938 kB / 0.5048 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6363, allocations: 3.938 kB / 0.5048 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.6373, allocations: 324.9 kB / 0.5051 GB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.6375, allocations: 92.86 kB / 0.5052 GB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.6377, allocations: 7.984 kB / 0.5052 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.638, allocations: 4 kB / 0.5052 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6381, allocations: 7.953 kB / 0.5052 GB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.6382, allocations: 11.98 kB / 0.5052 GB, free: 9.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.6383, allocations: 91.28 kB / 0.5053 GB, free: 9.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6383, allocations: 4 kB / 0.5053 GB, free: 9.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009032/0.6392, allocations: 28 kB / 0.5053 GB, free: 9.602 MB / 362.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 () * 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.002245/0.6415, allocations: 1.096 MB / 0.5064 GB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007717/0.6424, allocations: 159.7 kB / 0.5066 GB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.6424, allocations: 1.812 kB / 0.5066 GB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.6425, allocations: 4 kB / 0.5066 GB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.6435, allocations: 108.1 kB / 0.5067 GB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.6455, allocations: 301.6 kB / 0.507 GB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.6463, allocations: 0.736 MB / 0.5077 GB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.6465, allocations: 26.06 kB / 0.5077 GB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.6468, allocations: 51.42 kB / 0.5078 GB, free: 7.027 MB / 362.7 MB Notification: Performance of SimCode: time 2.164e-06/0.6468, allocations: 0 / 0.5078 GB, free: 7.027 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/0.6995, allocations: 3.22 MB / 0.5109 GB, free: 3.809 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/0.6999, allocations: 160 kB / 0.5111 GB, free: 3.617 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.217, allocations: 0 / 0.5111 GB, free: 3.617 MB / 362.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)