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.0009665/0.0009665, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.577/1.577, allocations: 205.2 MB / 219 MB, free: 9.203 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.000873/0.0008732, allocations: 93 kB / 267.1 MB, free: 9.273 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.09262/0.09262, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.512e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 50.38 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5708, allocations: 81.62 MB / 0.5058 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.5711, allocations: 59.05 kB / 0.5059 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01809/0.5892, allocations: 7.275 MB / 0.513 GB, free: 9.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5892, allocations: 0 / 0.513 GB, free: 9.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.5892, allocations: 7.812 kB / 0.513 GB, free: 9.078 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.0007266/0.59, allocations: 0.5643 MB / 0.5136 GB, free: 8.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.59, allocations: 11.38 kB / 0.5136 GB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.5901, allocations: 42.72 kB / 0.5136 GB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.5907, allocations: 358.4 kB / 0.514 GB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5907, allocations: 22.62 kB / 0.514 GB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.5908, allocations: 33.44 kB / 0.514 GB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008745/0.5916, allocations: 0.659 MB / 0.5147 GB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5917, allocations: 0 / 0.5147 GB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.5917, allocations: 15.08 kB / 0.5147 GB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.5917, allocations: 7.656 kB / 0.5147 GB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.592, allocations: 154.2 kB / 0.5148 GB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.5927, allocations: 0.7621 MB / 0.5156 GB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.5934, allocations: 0.5532 MB / 0.5161 GB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.5936, allocations: 234.5 kB / 0.5163 GB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/0.5941, allocations: 0.588 MB / 0.5169 GB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.5942, allocations: 34.44 kB / 0.5169 GB, free: 6.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.044e-06/0.5942, allocations: 3.844 kB / 0.5169 GB, free: 6.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005554/0.5947, allocations: 329.6 kB / 0.5173 GB, free: 6.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.5948, allocations: 184.3 kB / 0.5174 GB, free: 5.988 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.595, allocations: 215.5 kB / 0.5176 GB, free: 5.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.5951, allocations: 36.33 kB / 0.5177 GB, free: 5.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.5952, allocations: 151 kB / 0.5178 GB, free: 5.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.5952, allocations: 52.48 kB / 0.5179 GB, free: 5.695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.5952, allocations: 9.031 kB / 0.5179 GB, free: 5.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.5953, allocations: 352.2 kB / 0.5182 GB, free: 5.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5954, allocations: 68.81 kB / 0.5183 GB, free: 5.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.5957, allocations: 406.5 kB / 0.5187 GB, free: 4.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.5959, allocations: 146.8 kB / 0.5188 GB, free: 4.863 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5959, allocations: 0 / 0.5188 GB, free: 4.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005253/0.5964, allocations: 464.7 kB / 0.5192 GB, free: 4.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.5965, allocations: 11.66 kB / 0.5193 GB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.5965, allocations: 16.41 kB / 0.5193 GB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.5965, allocations: 15.38 kB / 0.5193 GB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.5968, allocations: 133.9 kB / 0.5194 GB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.5969, allocations: 19.31 kB / 0.5194 GB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.5971, allocations: 49.8 kB / 0.5195 GB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.5971, allocations: 30.22 kB / 0.5195 GB, free: 4.637 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.0001103/0.5973, allocations: 153.1 kB / 0.5197 GB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/0.5977, allocations: 299.2 kB / 0.5199 GB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.5982, allocations: 324.9 kB / 0.5203 GB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5982, allocations: 8 kB / 0.5203 GB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5982, allocations: 0 / 0.5203 GB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5982, allocations: 0 / 0.5203 GB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.5985, allocations: 336.7 kB / 0.5206 GB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5986, allocations: 7.953 kB / 0.5206 GB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.5989, allocations: 99.5 kB / 0.5207 GB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5989, allocations: 8 kB / 0.5207 GB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.599, allocations: 10.38 kB / 0.5207 GB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.599, allocations: 7.938 kB / 0.5207 GB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.599, allocations: 3.984 kB / 0.5207 GB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.5997, allocations: 0.7085 MB / 0.5214 GB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.5998, allocations: 116.5 kB / 0.5215 GB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.5998, allocations: 17.61 kB / 0.5215 GB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.6001, allocations: 26.11 kB / 0.5216 GB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.6001, allocations: 4 kB / 0.5216 GB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.6001, allocations: 23.23 kB / 0.5216 GB, free: 2.863 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.6003, allocations: 175.9 kB / 0.5218 GB, free: 2.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6003, allocations: 0 / 0.5218 GB, free: 2.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004416/0.6007, allocations: 80.5 kB / 0.5218 GB, free: 2.652 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.0001756/0.6009, allocations: 117.8 kB / 0.5219 GB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.6013, allocations: 307.2 kB / 0.5222 GB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6013, allocations: 0 / 0.5222 GB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.6014, allocations: 19.56 kB / 0.5223 GB, free: 2.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.6021, allocations: 264.4 kB / 0.5225 GB, free: 2.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.6032, allocations: 0.5809 MB / 0.5231 GB, free: 1.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.6035, allocations: 0.8187 MB / 0.5239 GB, free: 0.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.6036, allocations: 43.25 kB / 0.5239 GB, free: 0.6602 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.6037, allocations: 27.44 kB / 0.5239 GB, free: 0.6328 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6037, allocations: 0 / 0.5239 GB, free: 0.6328 MB / 330.7 MB Notification: Performance of Templates: time 0.008564/0.6122, allocations: 3.793 MB / 0.5276 GB, free: 12.88 MB / 346.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)