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.001845/0.001845, allocations: 181 kB / 15.8 MB, free: 6.336 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.796/1.796, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009859/0.0009858, allocations: 90.88 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07951/0.07951, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 13.3 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 50.37 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.2167, allocations: 81.71 MB / 0.5118 GB, free: 9.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.2171, allocations: 67.97 kB / 0.5119 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01993/0.237, allocations: 7.288 MB / 0.519 GB, free: 1.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2371, allocations: 0 / 0.519 GB, free: 1.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.2371, allocations: 11.94 kB / 0.519 GB, free: 1.719 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009886/0.2381, allocations: 0.6156 MB / 0.5196 GB, free: 1.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2381, allocations: 12.03 kB / 0.5196 GB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.2382, allocations: 40.22 kB / 0.5196 GB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.2389, allocations: 350.6 kB / 0.52 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.2389, allocations: 24.56 kB / 0.52 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.239, allocations: 32 kB / 0.52 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1807/0.4197, allocations: 0.7212 MB / 0.5207 GB, free: 83.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.4198, allocations: 2.5 kB / 0.5207 GB, free: 83.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.4199, allocations: 13.2 kB / 0.5207 GB, free: 83.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4199, allocations: 8.031 kB / 0.5208 GB, free: 83.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.4205, allocations: 230.8 kB / 0.521 GB, free: 83.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.4215, allocations: 0.7667 MB / 0.5217 GB, free: 83.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.4225, allocations: 0.6139 MB / 0.5223 GB, free: 83.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.4231, allocations: 0.5835 MB / 0.5229 GB, free: 82.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4231, allocations: 43.81 kB / 0.5229 GB, free: 82.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.387e-06/0.4231, allocations: 3.641 kB / 0.5229 GB, free: 82.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001365/0.4245, allocations: 0.6042 MB / 0.5235 GB, free: 82.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4246, allocations: 183.4 kB / 0.5237 GB, free: 81.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.4249, allocations: 214.3 kB / 0.5239 GB, free: 81.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.425, allocations: 35.61 kB / 0.5239 GB, free: 81.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.4251, allocations: 155.9 kB / 0.5241 GB, free: 81.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.4251, allocations: 52.91 kB / 0.5241 GB, free: 81.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.4251, allocations: 8.781 kB / 0.5241 GB, free: 81.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4253, allocations: 351.2 kB / 0.5245 GB, free: 81.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.4255, allocations: 85.38 kB / 0.5246 GB, free: 81.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.4259, allocations: 429.6 kB / 0.525 GB, free: 80.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.4262, allocations: 160.5 kB / 0.5251 GB, free: 80.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4262, allocations: 4.75 kB / 0.5251 GB, free: 80.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008396/0.427, allocations: 0.4898 MB / 0.5256 GB, free: 80.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4271, allocations: 10.25 kB / 0.5256 GB, free: 80.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.4271, allocations: 12.03 kB / 0.5256 GB, free: 80.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.4271, allocations: 17.84 kB / 0.5256 GB, free: 80.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.4275, allocations: 123.3 kB / 0.5258 GB, free: 80.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.4275, allocations: 23.33 kB / 0.5258 GB, free: 80.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.4278, allocations: 60.5 kB / 0.5258 GB, free: 80.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.4278, allocations: 32.38 kB / 0.5259 GB, free: 80.81 MB / 362.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.0001937/0.428, allocations: 193.5 kB / 0.5261 GB, free: 80.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006998/0.4287, allocations: 335.9 kB / 0.5264 GB, free: 80.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008549/0.4296, allocations: 359.4 kB / 0.5267 GB, free: 80.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4296, allocations: 6.594 kB / 0.5267 GB, free: 80.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4296, allocations: 1.281 kB / 0.5267 GB, free: 80.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4296, allocations: 4.141 kB / 0.5267 GB, free: 80.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.4301, allocations: 334.8 kB / 0.5271 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.4301, allocations: 1.891 kB / 0.5271 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.4305, allocations: 102.9 kB / 0.5272 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4305, allocations: 7.25 kB / 0.5272 GB, free: 80.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.4305, allocations: 11.22 kB / 0.5272 GB, free: 80.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4306, allocations: 4.906 kB / 0.5272 GB, free: 80.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4306, allocations: 1.094 kB / 0.5272 GB, free: 80.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.4319, allocations: 0.8154 MB / 0.528 GB, free: 80.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.432, allocations: 119.9 kB / 0.5281 GB, free: 79.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.432, allocations: 15.36 kB / 0.5281 GB, free: 79.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.4323, allocations: 28.16 kB / 0.5281 GB, free: 79.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.4323, allocations: 13.58 kB / 0.5281 GB, free: 79.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.4324, allocations: 14.83 kB / 0.5282 GB, free: 79.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.4326, allocations: 183.9 kB / 0.5283 GB, free: 79.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4326, allocations: 0 / 0.5283 GB, free: 79.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005593/0.4331, allocations: 78.03 kB / 0.5284 GB, free: 79.83 MB / 362.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.0002059/0.4333, allocations: 122.9 kB / 0.5285 GB, free: 79.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000758/0.4341, allocations: 361.9 kB / 0.5289 GB, free: 79.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4341, allocations: 0 / 0.5289 GB, free: 79.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.4342, allocations: 35.89 kB / 0.5289 GB, free: 79.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.4352, allocations: 296.3 kB / 0.5292 GB, free: 79.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.4369, allocations: 0.8937 MB / 0.5301 GB, free: 79.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4372, allocations: 0.8234 MB / 0.5309 GB, free: 78.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.4374, allocations: 37.45 kB / 0.5309 GB, free: 78.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.4374, allocations: 30.5 kB / 0.5309 GB, free: 78.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4374, allocations: 1.375 kB / 0.5309 GB, free: 78.43 MB / 362.7 MB Notification: Performance of Templates: time 0.007385/0.4448, allocations: 3.784 MB / 0.5346 GB, free: 78.17 MB / 362.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)