Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 176.7 kB / 8.051 MB, free: 1.023 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.045/2.045, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001083/0.001083, allocations: 95.5 kB / 261.8 MB, free: 13.45 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.1037/0.1037, allocations: 12.58 MB / 322.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.657e-05, allocations: 4 kB / 378.9 MB, free: 75.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/0.08815, allocations: 50.38 MB / 429.3 MB, free: 24.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.522, allocations: 80.95 MB / 0.4983 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5223, allocations: 70.78 kB / 0.4984 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02998/0.5523, allocations: 7.235 MB / 0.5054 GB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5523, allocations: 0 / 0.5054 GB, free: 10.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.498e-05/0.5524, allocations: 7.75 kB / 0.5054 GB, free: 10.27 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001057/0.5534, allocations: 0.5714 MB / 0.506 GB, free: 9.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.5535, allocations: 7.719 kB / 0.506 GB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.5536, allocations: 43.38 kB / 0.506 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007583/0.5544, allocations: 358 kB / 0.5064 GB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.5544, allocations: 11.69 kB / 0.5064 GB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.5545, allocations: 15.5 kB / 0.5064 GB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000411/0.5549, allocations: 146.5 kB / 0.5065 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.5561, allocations: 0.614 MB / 0.5071 GB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.5562, allocations: 3.75 kB / 0.5072 GB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.5562, allocations: 0 / 0.5072 GB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.5562, allocations: 7.688 kB / 0.5072 GB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.5571, allocations: 0.7015 MB / 0.5078 GB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008954/0.5581, allocations: 0.5136 MB / 0.5083 GB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.5585, allocations: 208.7 kB / 0.5085 GB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/0.5592, allocations: 0.5836 MB / 0.5091 GB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.5592, allocations: 45.25 kB / 0.5092 GB, free: 7.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 3.727e-06/0.5592, allocations: 3.984 kB / 0.5092 GB, free: 7.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008187/0.5601, allocations: 299.7 kB / 0.5094 GB, free: 7.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.5602, allocations: 181.1 kB / 0.5096 GB, free: 7.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.5605, allocations: 201.9 kB / 0.5098 GB, free: 7.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.5605, allocations: 25.7 kB / 0.5098 GB, free: 7.082 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.5606, allocations: 157.7 kB / 0.51 GB, free: 6.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.5607, allocations: 56.36 kB / 0.51 GB, free: 6.938 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.5607, allocations: 0 / 0.51 GB, free: 6.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.5608, allocations: 345.6 kB / 0.5104 GB, free: 6.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.5609, allocations: 55.34 kB / 0.5104 GB, free: 6.613 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.5613, allocations: 399 kB / 0.5108 GB, free: 6.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.5615, allocations: 128.5 kB / 0.5109 GB, free: 6.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.5616, allocations: 3.844 kB / 0.5109 GB, free: 6.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007725/0.5623, allocations: 395.2 kB / 0.5113 GB, free: 5.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5624, allocations: 14.78 kB / 0.5113 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.5624, allocations: 10.84 kB / 0.5113 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/0.5624, allocations: 16.16 kB / 0.5113 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.5631, allocations: 130.9 kB / 0.5115 GB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.5631, allocations: 23.17 kB / 0.5115 GB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.5635, allocations: 46.36 kB / 0.5115 GB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.5636, allocations: 26.78 kB / 0.5116 GB, free: 5.906 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001854/0.5638, allocations: 134.1 kB / 0.5117 GB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006366/0.5644, allocations: 275.5 kB / 0.512 GB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006886/0.5651, allocations: 289 kB / 0.5122 GB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.5652, allocations: 3.906 kB / 0.5122 GB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.5652, allocations: 3.906 kB / 0.5122 GB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.5652, allocations: 0 / 0.5122 GB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.5656, allocations: 281 kB / 0.5125 GB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.5656, allocations: 3.906 kB / 0.5125 GB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/0.5664, allocations: 104.8 kB / 0.5126 GB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.5664, allocations: 7.906 kB / 0.5126 GB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.5665, allocations: 7.938 kB / 0.5126 GB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.5665, allocations: 7.906 kB / 0.5126 GB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5665, allocations: 0 / 0.5126 GB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.5676, allocations: 0.675 MB / 0.5133 GB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.5677, allocations: 120.2 kB / 0.5134 GB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.5678, allocations: 6.688 kB / 0.5134 GB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.5682, allocations: 15.55 kB / 0.5134 GB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.5682, allocations: 11.81 kB / 0.5134 GB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.5683, allocations: 14.78 kB / 0.5135 GB, free: 4.879 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.5685, allocations: 163.3 kB / 0.5136 GB, free: 4.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.52e-07/0.5685, allocations: 0 / 0.5136 GB, free: 4.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007523/0.5693, allocations: 68.52 kB / 0.5137 GB, free: 4.773 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002244/0.5695, allocations: 112.7 kB / 0.5138 GB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006024/0.5701, allocations: 275.6 kB / 0.514 GB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5701, allocations: 0 / 0.514 GB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.5702, allocations: 14.91 kB / 0.5141 GB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5713, allocations: 247.1 kB / 0.5143 GB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.5732, allocations: 0.5617 MB / 0.5148 GB, free: 4.223 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.5736, allocations: 0.8233 MB / 0.5156 GB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.5738, allocations: 34.22 kB / 0.5157 GB, free: 3.449 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5739, allocations: 38.14 kB / 0.5157 GB, free: 3.434 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5739, allocations: 0 / 0.5157 GB, free: 3.434 MB / 330.7 MB Notification: Performance of Templates: time 0.01089/0.5848, allocations: 3.583 MB / 0.5192 GB, free: 1.707 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe 2>&1)