Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.002297/0.002297, allocations: 181 kB / 8.409 MB, free: 0.668 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.213/2.213, allocations: 205.3 MB / 214.1 MB, free: 1.738 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.001134/0.001134, allocations: 86.22 kB / 262.1 MB, free: 1.691 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.1002/0.1002, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.49e-05/2.492e-05, allocations: 0 / 378.9 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3101, allocations: 50.37 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.4631, allocations: 80.96 MB / 0.4983 GB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4635, allocations: 59.97 kB / 0.4983 GB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03398/0.4975, allocations: 7.235 MB / 0.5054 GB, free: 10.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.4975, allocations: 3.984 kB / 0.5054 GB, free: 10.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.899e-05/0.4976, allocations: 8 kB / 0.5054 GB, free: 10.04 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.00124/0.4988, allocations: 0.5683 MB / 0.506 GB, free: 9.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4989, allocations: 12.03 kB / 0.506 GB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.499, allocations: 44.12 kB / 0.506 GB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.4999, allocations: 350.6 kB / 0.5063 GB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.5, allocations: 12 kB / 0.5064 GB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.5, allocations: 20 kB / 0.5064 GB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000481/0.5005, allocations: 145.3 kB / 0.5065 GB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.5019, allocations: 0.607 MB / 0.5071 GB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.502, allocations: 4 kB / 0.5071 GB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.502, allocations: 4 kB / 0.5071 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.502, allocations: 4 kB / 0.5071 GB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.5032, allocations: 0.7143 MB / 0.5078 GB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.5044, allocations: 0.5135 MB / 0.5083 GB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.5049, allocations: 203.3 kB / 0.5085 GB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008638/0.5058, allocations: 0.5895 MB / 0.5091 GB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.5058, allocations: 42.5 kB / 0.5091 GB, free: 5.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.577e-06/0.5058, allocations: 0 / 0.5091 GB, free: 5.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0009742/0.5068, allocations: 301.5 kB / 0.5094 GB, free: 5.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.507, allocations: 174.2 kB / 0.5096 GB, free: 5.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.5073, allocations: 206.1 kB / 0.5098 GB, free: 5.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.017e-05/0.5074, allocations: 29.7 kB / 0.5098 GB, free: 5.051 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.5075, allocations: 203.5 kB / 0.51 GB, free: 4.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.5076, allocations: 59.58 kB / 0.5101 GB, free: 4.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.5077, allocations: 0 / 0.5101 GB, free: 4.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5078, allocations: 330.8 kB / 0.5104 GB, free: 4.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.508, allocations: 57.12 kB / 0.5104 GB, free: 4.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.5085, allocations: 396.5 kB / 0.5108 GB, free: 3.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.5089, allocations: 127.8 kB / 0.5109 GB, free: 3.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5089, allocations: 4 kB / 0.5109 GB, free: 3.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009266/0.5098, allocations: 381.5 kB / 0.5113 GB, free: 3.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.5099, allocations: 11.94 kB / 0.5113 GB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.5099, allocations: 12 kB / 0.5113 GB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.466e-05/0.51, allocations: 20 kB / 0.5113 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.5106, allocations: 120.3 kB / 0.5115 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/0.5107, allocations: 23.92 kB / 0.5115 GB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.5111, allocations: 47.58 kB / 0.5115 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.5112, allocations: 32 kB / 0.5116 GB, free: 3.082 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.000218/0.5114, allocations: 131.2 kB / 0.5117 GB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007956/0.5122, allocations: 277.6 kB / 0.5119 GB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008084/0.513, allocations: 289 kB / 0.5122 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5131, allocations: 8 kB / 0.5122 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5131, allocations: 0 / 0.5122 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.5131, allocations: 4 kB / 0.5122 GB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5136, allocations: 277.8 kB / 0.5125 GB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.5136, allocations: 0 / 0.5125 GB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007908/0.5144, allocations: 103.9 kB / 0.5126 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.5145, allocations: 7.938 kB / 0.5126 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.5145, allocations: 7.938 kB / 0.5126 GB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.5145, allocations: 11.94 kB / 0.5126 GB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5146, allocations: 0 / 0.5126 GB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.5159, allocations: 0.6744 MB / 0.5133 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.5161, allocations: 120.6 kB / 0.5134 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/0.5162, allocations: 4 kB / 0.5134 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.5166, allocations: 15.98 kB / 0.5134 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.5167, allocations: 7.984 kB / 0.5134 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.5168, allocations: 16 kB / 0.5134 GB, free: 1.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002442/0.517, allocations: 162 kB / 0.5136 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.835e-06/0.5171, allocations: 4.062 kB / 0.5136 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000802/0.5179, allocations: 71.77 kB / 0.5137 GB, free: 0.8086 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.0002689/0.5181, allocations: 107.5 kB / 0.5138 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007227/0.5189, allocations: 277.7 kB / 0.514 GB, free: 432 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5189, allocations: 4.125 kB / 0.514 GB, free: 428 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/0.519, allocations: 16 kB / 0.5141 GB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5202, allocations: 249 kB / 0.5143 GB, free: 160 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.272/0.7922, allocations: 0.5826 MB / 0.5149 GB, free: 89.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.7926, allocations: 0.8204 MB / 0.5157 GB, free: 88.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.7928, allocations: 34.81 kB / 0.5157 GB, free: 88.45 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.7928, allocations: 0 / 0.5157 GB, free: 88.45 MB / 362.7 MB Notification: Performance of Templates: time 0.01291/0.8057, allocations: 4.229 MB / 0.5198 GB, free: 88.17 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe 2>&1)