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.0009783/0.0009784, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.5 MB / 230 MB, free: 7.516 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.0009291/0.0009291, allocations: 92.19 kB / 280.9 MB, free: 5.262 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.05124/0.05124, allocations: 11.91 MB / 343.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.677e-05, allocations: 3.375 kB / 403.1 MB, free: 45.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 53.36 MB / 456.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.4928, allocations: 80.75 MB / 0.5246 GB, free: 17.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.493, allocations: 71.39 kB / 0.5247 GB, free: 17.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004746/0.4978, allocations: 1.674 MB / 0.5263 GB, free: 16.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4978, allocations: 0 / 0.5263 GB, free: 16.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4978, allocations: 1.938 kB / 0.5263 GB, free: 16.71 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003131/0.4981, allocations: 414.7 kB / 0.5267 GB, free: 16.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4982, allocations: 10.06 kB / 0.5267 GB, free: 16.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.4982, allocations: 8.234 kB / 0.5268 GB, free: 16.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.4985, allocations: 200.5 kB / 0.5269 GB, free: 16.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4985, allocations: 2.344 kB / 0.527 GB, free: 16.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.4985, allocations: 4.25 kB / 0.527 GB, free: 16.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/0.4986, allocations: 29.84 kB / 0.527 GB, free: 16.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.4989, allocations: 147.2 kB / 0.5271 GB, free: 16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4989, allocations: 0 / 0.5271 GB, free: 16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4989, allocations: 1.188 kB / 0.5271 GB, free: 16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4989, allocations: 2.406 kB / 0.5271 GB, free: 16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.4992, allocations: 262.6 kB / 0.5274 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.4994, allocations: 158.5 kB / 0.5275 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.4995, allocations: 37.09 kB / 0.5276 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.722e-05/0.4996, allocations: 82.75 kB / 0.5276 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4996, allocations: 38.17 kB / 0.5277 GB, free: 15.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.4996, allocations: 3.938 kB / 0.5277 GB, free: 15.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002542/0.4999, allocations: 86.66 kB / 0.5278 GB, free: 15.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4999, allocations: 137.8 kB / 0.5279 GB, free: 15.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.558e-05/0.5, allocations: 106.7 kB / 0.528 GB, free: 15.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.5, allocations: 26.8 kB / 0.528 GB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.5001, allocations: 99.55 kB / 0.5281 GB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.5001, allocations: 9.453 kB / 0.5281 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.5001, allocations: 8.938 kB / 0.5281 GB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5002, allocations: 319.4 kB / 0.5284 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.5003, allocations: 12.19 kB / 0.5285 GB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.374e-05/0.5003, allocations: 55.83 kB / 0.5285 GB, free: 14.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.695e-05/0.5004, allocations: 20.33 kB / 0.5285 GB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5004, allocations: 0.9688 kB / 0.5285 GB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001525/0.5006, allocations: 98.41 kB / 0.5286 GB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.5006, allocations: 60.7 kB / 0.5287 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5006, allocations: 1.438 kB / 0.5287 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5006, allocations: 3.031 kB / 0.5287 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.5007, allocations: 14.05 kB / 0.5287 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5007, allocations: 5.625 kB / 0.5287 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.5008, allocations: 5.328 kB / 0.5287 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.5008, allocations: 6.156 kB / 0.5287 GB, free: 14.54 MB / 362.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 () * 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 9.212e-05/0.5009, allocations: 166 kB / 0.5289 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.501, allocations: 69.66 kB / 0.5289 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.5011, allocations: 6.781 kB / 0.5289 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5011, allocations: 2.109 kB / 0.5289 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5011, allocations: 1.625 kB / 0.5289 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5011, allocations: 4.516 kB / 0.529 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.5013, allocations: 153.8 kB / 0.5291 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5013, allocations: 0.7031 kB / 0.5291 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.5013, allocations: 15.53 kB / 0.5291 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.5013, allocations: 2.906 kB / 0.5291 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5013, allocations: 2.312 kB / 0.5291 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5013, allocations: 5.594 kB / 0.5291 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5014, allocations: 0 / 0.5291 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.5016, allocations: 212.9 kB / 0.5293 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.5016, allocations: 84.03 kB / 0.5294 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.5017, allocations: 7.75 kB / 0.5294 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.5017, allocations: 3.5 kB / 0.5294 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.5018, allocations: 7.219 kB / 0.5294 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.5018, allocations: 2.219 kB / 0.5294 GB, free: 13.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.285e-05/0.5018, allocations: 94.92 kB / 0.5295 GB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5018, allocations: 3.938 kB / 0.5295 GB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.5021, allocations: 32.7 kB / 0.5296 GB, free: 13.8 MB / 362.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) * 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.0005018/0.5026, allocations: 244.1 kB / 0.5298 GB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.5033, allocations: 158.1 kB / 0.5299 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5034, allocations: 448 / 0.5299 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.5035, allocations: 127.2 kB / 0.5301 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.5037, allocations: 28.66 kB / 0.5301 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.5047, allocations: 328 kB / 0.5304 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.505, allocations: 0.6996 MB / 0.5311 GB, free: 28.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.527e-05/0.505, allocations: 15.52 kB / 0.5311 GB, free: 28.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.505, allocations: 13.41 kB / 0.5311 GB, free: 28.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5051, allocations: 3.75 kB / 0.5311 GB, free: 28.59 MB / 378.7 MB Notification: Performance of Templates: time 0.003868/0.5089, allocations: 1.179 MB / 0.5323 GB, free: 28.41 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)