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.001036/0.001036, allocations: 171.8 kB / 16.8 MB, free: 5 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.609/1.609, allocations: 205.4 MB / 223 MB, free: 9.02 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.0008773/0.0008773, allocations: 88.67 kB / 271.3 MB, free: 8.25 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.06829/0.06829, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 16 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08497, allocations: 50.37 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.303/0.388, allocations: 81.74 MB / 0.513 GB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.3883, allocations: 69.88 kB / 0.5131 GB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.4055, allocations: 7.307 MB / 0.5202 GB, free: 7.906 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4056, allocations: 0 / 0.5202 GB, free: 7.906 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.4056, allocations: 8 kB / 0.5202 GB, free: 7.898 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.0007141/0.4063, allocations: 0.6007 MB / 0.5208 GB, free: 7.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.4064, allocations: 12.03 kB / 0.5208 GB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.4064, allocations: 44.45 kB / 0.5209 GB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.4069, allocations: 361.9 kB / 0.5212 GB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.4069, allocations: 23.81 kB / 0.5212 GB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.407, allocations: 27.44 kB / 0.5213 GB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.408, allocations: 0.7309 MB / 0.522 GB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.408, allocations: 15.81 kB / 0.522 GB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.4081, allocations: 14.88 kB / 0.522 GB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.4081, allocations: 8 kB / 0.522 GB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.4085, allocations: 224.7 kB / 0.5222 GB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.4092, allocations: 0.7551 MB / 0.523 GB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.41, allocations: 0.6268 MB / 0.5236 GB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.4104, allocations: 264 kB / 0.5238 GB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/0.4108, allocations: 0.5886 MB / 0.5244 GB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.4108, allocations: 38.12 kB / 0.5244 GB, free: 3.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.174e-06/0.4108, allocations: 0 / 0.5244 GB, free: 3.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.0009922/0.4118, allocations: 0.5312 MB / 0.525 GB, free: 3.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.4119, allocations: 187.4 kB / 0.5251 GB, free: 3.109 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.4121, allocations: 244.8 kB / 0.5254 GB, free: 2.902 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4121, allocations: 28.89 kB / 0.5254 GB, free: 2.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.4122, allocations: 159.9 kB / 0.5256 GB, free: 2.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.4122, allocations: 47.09 kB / 0.5256 GB, free: 2.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.4123, allocations: 12.25 kB / 0.5256 GB, free: 2.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.4123, allocations: 346.5 kB / 0.5259 GB, free: 2.375 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.4125, allocations: 89.19 kB / 0.526 GB, free: 2.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.4127, allocations: 432.6 kB / 0.5264 GB, free: 1.758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.4132, allocations: 0.5358 MB / 0.527 GB, free: 1.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4132, allocations: 4 kB / 0.527 GB, free: 1.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006179/0.4138, allocations: 0.4962 MB / 0.5275 GB, free: 0.7031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4138, allocations: 12.56 kB / 0.5275 GB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4139, allocations: 12 kB / 0.5275 GB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.4139, allocations: 16 kB / 0.5275 GB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.4142, allocations: 120 kB / 0.5276 GB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.4142, allocations: 27.92 kB / 0.5276 GB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.4144, allocations: 53.89 kB / 0.5277 GB, free: 488 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.4144, allocations: 30.94 kB / 0.5277 GB, free: 460 kB / 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 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * 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.0001459/0.4146, allocations: 180.6 kB / 0.5279 GB, free: 300 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/0.4151, allocations: 346 kB / 0.5282 GB, free: 28 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/0.4158, allocations: 360 kB / 0.5286 GB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4158, allocations: 8 kB / 0.5286 GB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4158, allocations: 0 / 0.5286 GB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4158, allocations: 7.984 kB / 0.5286 GB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.4162, allocations: 326.9 kB / 0.5289 GB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4162, allocations: 0 / 0.5289 GB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.4166, allocations: 103.4 kB / 0.529 GB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.4166, allocations: 11.88 kB / 0.529 GB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.4166, allocations: 10.62 kB / 0.529 GB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4167, allocations: 11.92 kB / 0.529 GB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4167, allocations: 8 kB / 0.529 GB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4178, allocations: 0.7719 MB / 0.5298 GB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.4179, allocations: 120.6 kB / 0.5299 GB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.418, allocations: 14.81 kB / 0.5299 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.4182, allocations: 27.72 kB / 0.5299 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.4183, allocations: 7.625 kB / 0.5299 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.4183, allocations: 8 kB / 0.53 GB, free: 14.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.4185, allocations: 186.5 kB / 0.5301 GB, free: 14.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4185, allocations: 0 / 0.5301 GB, free: 14.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004824/0.419, allocations: 81.84 kB / 0.5302 GB, free: 14.29 MB / 346.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 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * 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.0001772/0.4191, allocations: 118.5 kB / 0.5303 GB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006357/0.4198, allocations: 364.5 kB / 0.5307 GB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4198, allocations: 0 / 0.5307 GB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.4199, allocations: 35.09 kB / 0.5307 GB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/0.4208, allocations: 297.3 kB / 0.531 GB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.4223, allocations: 0.9105 MB / 0.5319 GB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4227, allocations: 0.8079 MB / 0.5327 GB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.4228, allocations: 35.28 kB / 0.5327 GB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.4229, allocations: 38.36 kB / 0.5327 GB, free: 11.86 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4229, allocations: 0 / 0.5327 GB, free: 11.86 MB / 346.7 MB Notification: Performance of Templates: time 0.007333/0.4302, allocations: 3.806 MB / 0.5364 GB, free: 8.074 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)