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.0009912/0.0009913, allocations: 176 kB / 8.048 MB, free: 1.027 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.458/1.458, allocations: 205.3 MB / 213.8 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008625/0.0008625, allocations: 90.62 kB / 261.8 MB, free: 1.621 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.08046/0.08046, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.622e-05, allocations: 4 kB / 378.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2521, allocations: 50.38 MB / 429.3 MB, free: 18.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.3633, allocations: 80.95 MB / 0.4983 GB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.3636, allocations: 67.91 kB / 0.4984 GB, free: 1.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01979/0.3834, allocations: 7.231 MB / 0.5054 GB, free: 9.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3834, allocations: 0 / 0.5054 GB, free: 9.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.3834, allocations: 8 kB / 0.5054 GB, free: 9.977 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.0008375/0.3843, allocations: 0.5683 MB / 0.506 GB, free: 9.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3843, allocations: 12.03 kB / 0.506 GB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.3844, allocations: 44.12 kB / 0.506 GB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.385, allocations: 354.6 kB / 0.5064 GB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3851, allocations: 8 kB / 0.5064 GB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.3851, allocations: 24 kB / 0.5064 GB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002994/0.3854, allocations: 153.3 kB / 0.5066 GB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000957/0.3864, allocations: 0.6069 MB / 0.5071 GB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3864, allocations: 4 kB / 0.5071 GB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.3864, allocations: 0 / 0.5071 GB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3865, allocations: 8 kB / 0.5072 GB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.3873, allocations: 0.7065 MB / 0.5078 GB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/0.3881, allocations: 0.5135 MB / 0.5083 GB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.3884, allocations: 211.2 kB / 0.5085 GB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.389, allocations: 0.5856 MB / 0.5091 GB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.389, allocations: 42.5 kB / 0.5092 GB, free: 5.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 1.763e-06/0.3891, allocations: 0 / 0.5092 GB, free: 5.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005718/0.3896, allocations: 301.5 kB / 0.5094 GB, free: 5.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.3898, allocations: 174.2 kB / 0.5096 GB, free: 5.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.39, allocations: 206.1 kB / 0.5098 GB, free: 5.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3901, allocations: 29.7 kB / 0.5098 GB, free: 4.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3902, allocations: 149.1 kB / 0.51 GB, free: 4.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.3902, allocations: 55.58 kB / 0.51 GB, free: 4.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.3902, allocations: 0 / 0.51 GB, free: 4.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3904, allocations: 346.8 kB / 0.5104 GB, free: 4.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.3905, allocations: 61.11 kB / 0.5104 GB, free: 4.367 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.3908, allocations: 396.5 kB / 0.5108 GB, free: 3.816 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.391, allocations: 127.9 kB / 0.5109 GB, free: 3.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.391, allocations: 4 kB / 0.5109 GB, free: 3.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000541/0.3916, allocations: 397.4 kB / 0.5113 GB, free: 3.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3916, allocations: 8 kB / 0.5113 GB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3916, allocations: 15.94 kB / 0.5113 GB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.3917, allocations: 16 kB / 0.5113 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.392, allocations: 128.3 kB / 0.5115 GB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.392, allocations: 23.92 kB / 0.5115 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.3923, allocations: 43.59 kB / 0.5115 GB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3923, allocations: 32 kB / 0.5116 GB, free: 3.031 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 () * 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.000124/0.3924, allocations: 135.2 kB / 0.5117 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/0.3929, allocations: 269.5 kB / 0.5119 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.3934, allocations: 285 kB / 0.5122 GB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.036e-06/0.3934, allocations: 12 kB / 0.5122 GB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3934, allocations: 0 / 0.5122 GB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.3934, allocations: 7.984 kB / 0.5122 GB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.3937, allocations: 269.7 kB / 0.5125 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3938, allocations: 7.984 kB / 0.5125 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.3942, allocations: 103.9 kB / 0.5126 GB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3942, allocations: 3.938 kB / 0.5126 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.3942, allocations: 7.953 kB / 0.5126 GB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.3942, allocations: 11.94 kB / 0.5126 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3942, allocations: 0 / 0.5126 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.395, allocations: 0.6745 MB / 0.5133 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.3951, allocations: 116.5 kB / 0.5134 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.3952, allocations: 11.98 kB / 0.5134 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3954, allocations: 15.98 kB / 0.5134 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3954, allocations: 4 kB / 0.5134 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.3955, allocations: 19.98 kB / 0.5134 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3956, allocations: 166 kB / 0.5136 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3956, allocations: 4.062 kB / 0.5136 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00049/0.3961, allocations: 59.94 kB / 0.5137 GB, free: 0.7656 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 () * 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.0001974/0.3963, allocations: 115.5 kB / 0.5138 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004289/0.3968, allocations: 269.7 kB / 0.514 GB, free: 388 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3968, allocations: 4.062 kB / 0.514 GB, free: 384 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.3968, allocations: 19.98 kB / 0.5141 GB, free: 364 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.3976, allocations: 257.4 kB / 0.5143 GB, free: 104 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2106/0.6082, allocations: 0.5368 MB / 0.5148 GB, free: 89.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.6085, allocations: 0.8212 MB / 0.5156 GB, free: 88.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.6087, allocations: 40.69 kB / 0.5157 GB, free: 88.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.6088, allocations: 32.58 kB / 0.5157 GB, free: 88.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6088, allocations: 0 / 0.5157 GB, free: 88.39 MB / 362.7 MB Notification: Performance of Templates: time 0.008771/0.6176, allocations: 3.593 MB / 0.5192 GB, free: 88.16 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)