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.0008851/0.0008851, allocations: 96.44 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009879/0.0009879, allocations: 177.9 kB / 16.61 MB, free: 6.426 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.199/1.199, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1596/0.1596, allocations: 12.02 MB / 303.7 MB, free: 1.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 8 kB / 367.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09434, allocations: 53.35 MB / 420.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002943/0.09733, allocations: 1.885 MB / 422.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003063/0.09767, allocations: 143.5 kB / 422.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.09777, allocations: 0 / 422.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.09792, allocations: 23.84 kB / 422.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.09803, allocations: 4 kB / 423 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.09826, allocations: 55.75 kB / 423 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.09841, allocations: 35.91 kB / 423 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.09852, allocations: 19.97 kB / 423.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.09858, allocations: 19.92 kB / 423.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.09863, allocations: 23.86 kB / 423.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.09865, allocations: 0 / 423.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.09873, allocations: 16 kB / 423.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.09877, allocations: 7.984 kB / 423.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.09882, allocations: 37.64 kB / 423.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.09895, allocations: 63.83 kB / 423.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.09896, allocations: 0 / 423.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09897, allocations: 0 / 423.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.09898, allocations: 0 / 423.2 MB, free: 1.777 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.0004172/0.0994, allocations: 422.8 kB / 423.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.09945, allocations: 12.03 kB / 423.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.0995, allocations: 11.86 kB / 423.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.09972, allocations: 186.9 kB / 423.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.09974, allocations: 8 kB / 423.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.09976, allocations: 4 kB / 423.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1001, allocations: 161 kB / 424 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1001, allocations: 0 / 424 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1001, allocations: 7.922 kB / 424 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.1001, allocations: 7.938 kB / 424 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.1002, allocations: 31.94 kB / 424.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1006, allocations: 289.7 kB / 424.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1008, allocations: 154.4 kB / 424.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.101, allocations: 85.17 kB / 424.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.101, allocations: 34.56 kB / 424.6 MB, free: 160 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.101, allocations: 0 / 424.6 MB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.1861/0.2871, allocations: 251.5 kB / 424.9 MB, free: 39.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.2872, allocations: 136.2 kB / 425 MB, free: 39.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2873, allocations: 123.7 kB / 425.1 MB, free: 39.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2874, allocations: 29.61 kB / 425.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.2874, allocations: 90.12 kB / 425.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.2875, allocations: 11.03 kB / 425.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.2875, allocations: 2.031 kB / 425.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.2875, allocations: 317.8 kB / 425.6 MB, free: 38.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.2876, allocations: 16.14 kB / 425.6 MB, free: 38.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.2876, allocations: 56.39 kB / 425.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.2877, allocations: 74.58 kB / 425.7 MB, free: 38.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2877, allocations: 0.6562 kB / 425.7 MB, free: 38.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002015/0.2879, allocations: 164.8 kB / 425.9 MB, free: 38.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.288, allocations: 62.98 kB / 425.9 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.288, allocations: 0.9688 kB / 425.9 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.288, allocations: 3.906 kB / 425.9 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.2881, allocations: 8.234 kB / 425.9 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2881, allocations: 5.75 kB / 425.9 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.2882, allocations: 14.33 kB / 425.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2882, allocations: 5.484 kB / 426 MB, free: 38.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.2883, allocations: 177.1 kB / 426.1 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2884, allocations: 73.48 kB / 426.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.2885, allocations: 8.562 kB / 426.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.2885, allocations: 2.438 kB / 426.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2885, allocations: 0.5 kB / 426.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2885, allocations: 2.188 kB / 426.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2887, allocations: 180.1 kB / 426.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2887, allocations: 1.094 kB / 426.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.2887, allocations: 14.12 kB / 426.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2887, allocations: 5.641 kB / 426.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.2887, allocations: 3.375 kB / 426.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2888, allocations: 1.625 kB / 426.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2888, allocations: 1.484 kB / 426.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.289, allocations: 278.4 kB / 426.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.289, allocations: 89.5 kB / 426.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.2891, allocations: 1.938 kB / 426.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-05/0.2891, allocations: 7.797 kB / 426.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.2892, allocations: 9.016 kB / 426.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.2892, allocations: 3.469 kB / 426.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.29e-05/0.2892, allocations: 94.75 kB / 426.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2892, allocations: 0 / 426.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2895, allocations: 24.41 kB / 426.9 MB, free: 37.7 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 (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.0004636/0.29, allocations: 249.5 kB / 427.2 MB, free: 37.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.2902, allocations: 170.7 kB / 427.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2902, allocations: 0 / 427.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.282e-05/0.2903, allocations: 120.8 kB / 427.4 MB, free: 37.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.2905, allocations: 36.42 kB / 427.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.2908, allocations: 198.6 kB / 427.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2909, allocations: 0.696 MB / 428.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.291, allocations: 15 kB / 428.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.291, allocations: 9.562 kB / 428.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.291, allocations: 2.156 kB / 428.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of Templates: time 0.003302/0.2943, allocations: 1.23 MB / 429.6 MB, free: 36.39 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)