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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001776/0.001782, allocations: 188.6 kB / 7.847 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001313/0.001313, allocations: 99.73 kB / 261.5 MB, free: 13.62 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.1008/0.1008, allocations: 12.59 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2548/0.3556, allocations: 56.49 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.4554, allocations: 50.38 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.8635, allocations: 78.3 MB / 0.4953 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.8639, allocations: 67.62 kB / 0.4953 GB, free: 11.89 MB / 330.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.03122/0.8952, allocations: 5.14 MB / 0.5004 GB, free: 11.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.8953, allocations: 7.719 kB / 0.5004 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.8954, allocations: 23.09 kB / 0.5004 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.8959, allocations: 227.6 kB / 0.5006 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.896, allocations: 7.469 kB / 0.5006 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.896, allocations: 7.625 kB / 0.5006 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004312/0.8965, allocations: 99.94 kB / 0.5007 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.8976, allocations: 409.6 kB / 0.5011 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.8977, allocations: 0 / 0.5011 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.8977, allocations: 7.984 kB / 0.5011 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.8977, allocations: 7.812 kB / 0.5011 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.8984, allocations: 295.2 kB / 0.5014 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.8989, allocations: 170.1 kB / 0.5016 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.8992, allocations: 102.6 kB / 0.5017 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.8993, allocations: 10.25 kB / 0.5017 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.8994, allocations: 38.69 kB / 0.5017 GB, free: 10.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 4.739e-06/0.8994, allocations: 0 / 0.5017 GB, free: 10.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007536/0.9002, allocations: 179 kB / 0.5019 GB, free: 10.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.9003, allocations: 124.1 kB / 0.502 GB, free: 10.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.9005, allocations: 113.9 kB / 0.5021 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.9005, allocations: 25.7 kB / 0.5021 GB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.9006, allocations: 86.55 kB / 0.5022 GB, free: 10.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.9007, allocations: 39.02 kB / 0.5022 GB, free: 10.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.9007, allocations: 0 / 0.5022 GB, free: 10.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9008, allocations: 335.1 kB / 0.5026 GB, free: 9.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.901, allocations: 36.25 kB / 0.5026 GB, free: 9.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.9013, allocations: 221 kB / 0.5028 GB, free: 9.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.9016, allocations: 94.38 kB / 0.5029 GB, free: 9.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.9016, allocations: 0 / 0.5029 GB, free: 9.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007903/0.9024, allocations: 247.8 kB / 0.5031 GB, free: 9.469 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.9025, allocations: 3.812 kB / 0.5031 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.9025, allocations: 7.719 kB / 0.5032 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-05/0.9026, allocations: 11.62 kB / 0.5032 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.9031, allocations: 65.69 kB / 0.5032 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.9032, allocations: 17.33 kB / 0.5032 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.9036, allocations: 23.91 kB / 0.5033 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.9036, allocations: 19.53 kB / 0.5033 GB, free: 9.441 MB / 330.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.0001964/0.9038, allocations: 120.2 kB / 0.5034 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006145/0.9045, allocations: 169.7 kB / 0.5036 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.9046, allocations: 14.19 kB / 0.5036 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.9046, allocations: 3.844 kB / 0.5036 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9046, allocations: 3.812 kB / 0.5036 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.9047, allocations: 6 kB / 0.5036 GB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.9051, allocations: 181.2 kB / 0.5038 GB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.9051, allocations: 0.6562 kB / 0.5038 GB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.9057, allocations: 53.58 kB / 0.5038 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.9057, allocations: 192 / 0.5038 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.9058, allocations: 9.5 kB / 0.5038 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.9058, allocations: 8.609 kB / 0.5038 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.9058, allocations: 0 / 0.5038 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007022/0.9065, allocations: 324.9 kB / 0.5041 GB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007144/0.9073, allocations: 0.6828 MB / 0.5048 GB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.9073, allocations: 98.08 kB / 0.5049 GB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.9075, allocations: 12.45 kB / 0.5049 GB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.9078, allocations: 5.406 kB / 0.5049 GB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.9079, allocations: 5.422 kB / 0.5049 GB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.9079, allocations: 8.734 kB / 0.5049 GB, free: 8.211 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.464e-05/0.9081, allocations: 100.3 kB / 0.505 GB, free: 8.133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002404/0.9105, allocations: 30.06 kB / 0.5051 GB, free: 8.129 MB / 330.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.0002352/0.9108, allocations: 100.2 kB / 0.5051 GB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.9114, allocations: 166.9 kB / 0.5053 GB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.9115, allocations: 0.625 kB / 0.5053 GB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.9115, allocations: 3.906 kB / 0.5053 GB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/0.9124, allocations: 110.6 kB / 0.5054 GB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.9135, allocations: 226.2 kB / 0.5056 GB, free: 7.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.914, allocations: 0.7776 MB / 0.5064 GB, free: 7.172 MB / 330.7 MB Notification: Performance of SimCode: time 2.184e-06/0.9141, allocations: 4 kB / 0.5064 GB, free: 7.168 MB / 330.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)