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/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/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.0009457/0.0009459, allocations: 181.3 kB / 17.46 MB, free: 4.363 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.318/1.318, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007012/0.0007014, allocations: 85.38 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08655/0.08655, allocations: 12.2 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 12 kB / 392.7 MB, free: 67.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09175, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3152/0.407, allocations: 81.68 MB / 0.5124 GB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.4072, allocations: 74.44 kB / 0.5125 GB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.4248, allocations: 7.296 MB / 0.5196 GB, free: 9.207 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4249, allocations: 0 / 0.5196 GB, free: 9.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.069e-05/0.4249, allocations: 4 kB / 0.5196 GB, free: 9.203 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.0008216/0.4258, allocations: 0.6093 MB / 0.5202 GB, free: 8.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4258, allocations: 8.031 kB / 0.5202 GB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.4259, allocations: 44.47 kB / 0.5202 GB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.4265, allocations: 361.8 kB / 0.5206 GB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.4265, allocations: 20.44 kB / 0.5206 GB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.4266, allocations: 25.75 kB / 0.5206 GB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.4277, allocations: 0.7427 MB / 0.5213 GB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4278, allocations: 11.78 kB / 0.5214 GB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.4278, allocations: 14.12 kB / 0.5214 GB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.4278, allocations: 4 kB / 0.5214 GB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.4283, allocations: 225.8 kB / 0.5216 GB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.4291, allocations: 0.7682 MB / 0.5223 GB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.43, allocations: 0.6162 MB / 0.5229 GB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.4305, allocations: 264.4 kB / 0.5232 GB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.431, allocations: 0.5815 MB / 0.5238 GB, free: 5.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.431, allocations: 53.05 kB / 0.5238 GB, free: 5.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.074e-06/0.431, allocations: 0 / 0.5238 GB, free: 5.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.001118/0.4322, allocations: 0.5231 MB / 0.5243 GB, free: 4.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.4323, allocations: 188.5 kB / 0.5245 GB, free: 4.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4325, allocations: 248.4 kB / 0.5247 GB, free: 4.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.4326, allocations: 33.64 kB / 0.5248 GB, free: 4.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.4327, allocations: 150.3 kB / 0.5249 GB, free: 4.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.4327, allocations: 49.97 kB / 0.525 GB, free: 4.008 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.4327, allocations: 6.875 kB / 0.525 GB, free: 4.008 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4328, allocations: 352.4 kB / 0.5253 GB, free: 3.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.433, allocations: 93.69 kB / 0.5254 GB, free: 3.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.4334, allocations: 424.4 kB / 0.5258 GB, free: 3.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.4339, allocations: 0.5448 MB / 0.5263 GB, free: 2.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4339, allocations: 4 kB / 0.5263 GB, free: 2.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006608/0.4346, allocations: 494.5 kB / 0.5268 GB, free: 2.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.4346, allocations: 15.94 kB / 0.5268 GB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.4346, allocations: 12.09 kB / 0.5268 GB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.4347, allocations: 20 kB / 0.5269 GB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.435, allocations: 123.1 kB / 0.527 GB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.435, allocations: 19.94 kB / 0.527 GB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.4353, allocations: 56.39 kB / 0.527 GB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.4353, allocations: 27.31 kB / 0.5271 GB, free: 1.75 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 () * 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.000206/0.4355, allocations: 189.6 kB / 0.5272 GB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000588/0.4361, allocations: 340.8 kB / 0.5276 GB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006805/0.4368, allocations: 361.3 kB / 0.5279 GB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4368, allocations: 8 kB / 0.5279 GB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.4368, allocations: 0 / 0.5279 GB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4368, allocations: 3.984 kB / 0.5279 GB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.4372, allocations: 326.3 kB / 0.5282 GB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.4372, allocations: 4 kB / 0.5282 GB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.4376, allocations: 103.4 kB / 0.5283 GB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4376, allocations: 7.938 kB / 0.5284 GB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.4376, allocations: 11 kB / 0.5284 GB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.4377, allocations: 4 kB / 0.5284 GB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4377, allocations: 0 / 0.5284 GB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.4389, allocations: 0.7834 MB / 0.5291 GB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.439, allocations: 116.5 kB / 0.5292 GB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.4391, allocations: 18.56 kB / 0.5293 GB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.4393, allocations: 27.55 kB / 0.5293 GB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.4394, allocations: 7.047 kB / 0.5293 GB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.4394, allocations: 15.75 kB / 0.5293 GB, free: 15.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001915/0.4396, allocations: 174.5 kB / 0.5295 GB, free: 15.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4396, allocations: 0 / 0.5295 GB, free: 15.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000534/0.4402, allocations: 81.16 kB / 0.5296 GB, free: 15.59 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.0002304/0.4404, allocations: 126.4 kB / 0.5297 GB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006828/0.4411, allocations: 355.8 kB / 0.53 GB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4411, allocations: 5.375 kB / 0.53 GB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.4412, allocations: 42.72 kB / 0.5301 GB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4423, allocations: 289.6 kB / 0.5303 GB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.4438, allocations: 0.9452 MB / 0.5313 GB, free: 14.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.4442, allocations: 0.8117 MB / 0.532 GB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.4443, allocations: 27.44 kB / 0.5321 GB, free: 13.15 MB / 346.7 MB Notification: Performance of SimCode: time 3.327e-06/0.4443, allocations: 0 / 0.5321 GB, free: 13.15 MB / 346.7 MB Notification: Performance of Templates: time 0.00683/0.4512, allocations: 4.345 MB / 0.5363 GB, free: 8.852 MB / 346.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)