Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000948/0.0009481, allocations: 108.1 kB / 16.45 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 192.2 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05205/0.05205, allocations: 12.04 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.91 kB / 420.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08422, allocations: 52.32 MB / 472.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003511/0.08776, allocations: 2.223 MB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000296/0.08808, allocations: 147.4 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.08816, allocations: 7.938 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.08834, allocations: 19.86 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.742e-05/0.08844, allocations: 11.88 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.08867, allocations: 51.88 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.08883, allocations: 67.83 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.08895, allocations: 27.97 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.08901, allocations: 27.86 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.08907, allocations: 31.84 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.08911, allocations: 4 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.08919, allocations: 35.92 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.08923, allocations: 11.94 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.08928, allocations: 27.84 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.08945, allocations: 91.7 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08946, allocations: 4 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.08947, allocations: 0 / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.08948, allocations: 0 / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000426/0.08991, allocations: 430.7 kB / 475.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.08996, allocations: 8.031 kB / 475.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.09, allocations: 12.84 kB / 475.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.09022, allocations: 208.1 kB / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.09024, allocations: 4.375 kB / 475.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.09027, allocations: 8.359 kB / 475.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.09055, allocations: 157.6 kB / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.09057, allocations: 192 / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.09059, allocations: 3.938 kB / 476 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.09061, allocations: 7.938 kB / 476 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.09069, allocations: 31.98 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.09104, allocations: 281.7 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.09129, allocations: 166.2 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.09136, allocations: 37.78 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.425e-05/0.09146, allocations: 85.09 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.0915, allocations: 38.56 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.895e-06/0.09151, allocations: 3.984 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003096/0.09183, allocations: 165 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/0.09191, allocations: 140.4 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.09202, allocations: 125.6 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.09205, allocations: 33.7 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.0921, allocations: 96.11 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.09212, allocations: 7.906 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.09217, allocations: 29.75 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.09229, allocations: 318.8 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.09234, allocations: 12 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.0924, allocations: 58 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.09254, allocations: 192.6 kB / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.09255, allocations: 0 / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001945/0.09275, allocations: 160.9 kB / 477.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.0928, allocations: 63.39 kB / 478 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.09281, allocations: 0 / 478 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.09282, allocations: 4 kB / 478 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/0.09287, allocations: 8 kB / 478 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.09288, allocations: 7.875 kB / 478 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.09293, allocations: 15.84 kB / 478 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.09294, allocations: 8 kB / 478 MB, free: 6.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.09306, allocations: 177.3 kB / 478.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.09317, allocations: 69.84 kB / 478.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.0932, allocations: 11.97 kB / 478.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.09321, allocations: 64 / 478.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.09322, allocations: 7.984 kB / 478.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.09323, allocations: 0 / 478.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.09339, allocations: 177.6 kB / 478.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0934, allocations: 3.938 kB / 478.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.09343, allocations: 8 kB / 478.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.09344, allocations: 0 / 478.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.09345, allocations: 4 kB / 478.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.09346, allocations: 7.984 kB / 478.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.09347, allocations: 0 / 478.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.0937, allocations: 259.7 kB / 478.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.09374, allocations: 92.95 kB / 478.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.09377, allocations: 4 kB / 478.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.09382, allocations: 0 / 478.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.09385, allocations: 7.938 kB / 478.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.09387, allocations: 11.98 kB / 478.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.228e-05/0.09392, allocations: 91.28 kB / 478.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09393, allocations: 0 / 478.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.09418, allocations: 27.98 kB / 479 MB, free: 5.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004231/0.09461, allocations: 247 kB / 479.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.09483, allocations: 162.7 kB / 479.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09484, allocations: 0 / 479.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.09492, allocations: 127.2 kB / 479.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.0952, allocations: 47.89 kB / 479.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.09552, allocations: 175.1 kB / 479.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.09577, allocations: 0.6962 MB / 480.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.29e-05/0.09582, allocations: 7.984 kB / 480.4 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.09584, allocations: 15.44 kB / 480.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.09584, allocations: 0 / 480.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of Templates: time 0.003559/0.09941, allocations: 1.284 MB / 481.7 MB, free: 2.941 MB / 350.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)