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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009608/0.0009606, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.2 MB / 239.7 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.000874, allocations: 101.2 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05133/0.05133, allocations: 12.05 MB / 354.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 9.047 kB / 417.9 MB, free: 87.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.0806, allocations: 53.37 MB / 471.2 MB, free: 37.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2763/0.357, allocations: 81.49 MB / 0.5398 GB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.3572, allocations: 71.75 kB / 0.5398 GB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004508/0.3617, allocations: 1.671 MB / 0.5415 GB, free: 31.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3617, allocations: 3.938 kB / 0.5415 GB, free: 31.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.3618, allocations: 0 / 0.5415 GB, free: 31.15 MB / 378.7 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.0003006/0.3621, allocations: 423.4 kB / 0.5419 GB, free: 30.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3621, allocations: 7.75 kB / 0.5419 GB, free: 30.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.3622, allocations: 7.781 kB / 0.5419 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3623, allocations: 191.9 kB / 0.5421 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3624, allocations: 7.812 kB / 0.5421 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.3624, allocations: 7.812 kB / 0.5421 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3627, allocations: 165.2 kB / 0.5423 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3627, allocations: 0 / 0.5423 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3627, allocations: 3.812 kB / 0.5423 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.3627, allocations: 0 / 0.5423 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.409e-05/0.3628, allocations: 32.66 kB / 0.5423 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.3631, allocations: 296.9 kB / 0.5426 GB, free: 30.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3633, allocations: 157.6 kB / 0.5427 GB, free: 30 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.822e-05/0.3634, allocations: 86.89 kB / 0.5428 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.3634, allocations: 34.56 kB / 0.5428 GB, free: 29.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3634, allocations: 0 / 0.5428 GB, free: 29.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002733/0.3637, allocations: 250.7 kB / 0.5431 GB, free: 29.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3638, allocations: 138 kB / 0.5432 GB, free: 29.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.3638, allocations: 107.6 kB / 0.5433 GB, free: 29.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.3638, allocations: 29.58 kB / 0.5433 GB, free: 29.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.3639, allocations: 101.6 kB / 0.5434 GB, free: 29.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.3639, allocations: 11.03 kB / 0.5434 GB, free: 29.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.3639, allocations: 3.312 kB / 0.5435 GB, free: 29.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.364, allocations: 321 kB / 0.5438 GB, free: 28.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/0.364, allocations: 13.39 kB / 0.5438 GB, free: 28.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.364, allocations: 63.44 kB / 0.5438 GB, free: 28.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.3641, allocations: 80.39 kB / 0.5439 GB, free: 28.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3641, allocations: 0 / 0.5439 GB, free: 28.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001514/0.3643, allocations: 157.2 kB / 0.5441 GB, free: 28.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3643, allocations: 67.67 kB / 0.5441 GB, free: 28.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3643, allocations: 7.906 kB / 0.5441 GB, free: 28.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3643, allocations: 0 / 0.5441 GB, free: 28.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.524e-05/0.3644, allocations: 15.69 kB / 0.5441 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3644, allocations: 2.859 kB / 0.5441 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.3644, allocations: 3.844 kB / 0.5442 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3644, allocations: 3.812 kB / 0.5442 GB, free: 28.66 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/0.3645, allocations: 174.8 kB / 0.5443 GB, free: 28.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.3646, allocations: 73.19 kB / 0.5444 GB, free: 28.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.3646, allocations: 17.41 kB / 0.5444 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3646, allocations: 4 kB / 0.5444 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3647, allocations: 0 / 0.5444 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3647, allocations: 0 / 0.5444 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.3648, allocations: 178.7 kB / 0.5446 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3648, allocations: 0 / 0.5446 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.3649, allocations: 8.625 kB / 0.5446 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3649, allocations: 3.953 kB / 0.5446 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3649, allocations: 9.031 kB / 0.5446 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3649, allocations: 0 / 0.5446 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3649, allocations: 0 / 0.5446 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.3651, allocations: 277.6 kB / 0.5449 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.3651, allocations: 90.64 kB / 0.545 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3652, allocations: 3.812 kB / 0.545 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.3652, allocations: 3.312 kB / 0.545 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.3652, allocations: 5.656 kB / 0.545 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3653, allocations: 3.75 kB / 0.545 GB, free: 27.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.409e-05/0.3653, allocations: 98.22 kB / 0.5451 GB, free: 27.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3653, allocations: 0 / 0.5451 GB, free: 27.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.3656, allocations: 29.08 kB / 0.5451 GB, free: 27.82 MB / 378.7 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 (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.0004223/0.366, allocations: 243.3 kB / 0.5453 GB, free: 27.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.3662, allocations: 170.3 kB / 0.5455 GB, free: 27.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3662, allocations: 0 / 0.5455 GB, free: 27.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.3663, allocations: 131 kB / 0.5456 GB, free: 27.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.3664, allocations: 30.02 kB / 0.5456 GB, free: 27.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008231/0.3673, allocations: 426.2 kB / 0.546 GB, free: 27.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.3675, allocations: 0.6987 MB / 0.5467 GB, free: 26.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.581e-05/0.3676, allocations: 17.14 kB / 0.5467 GB, free: 26.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.3676, allocations: 11.25 kB / 0.5468 GB, free: 26.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3676, allocations: 0 / 0.5468 GB, free: 26.55 MB / 378.7 MB Notification: Performance of Templates: time 0.002899/0.3705, allocations: 1.225 MB / 0.548 GB, free: 26.38 MB / 378.7 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)