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.001289/0.001289, allocations: 115 kB / 17.09 MB, free: 5.773 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.001166/0.001166, allocations: 195 kB / 18.02 MB, free: 4.953 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.229/1.229, allocations: 222.9 MB / 241.7 MB, free: 15.09 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.05423/0.05423, allocations: 12.04 MB / 303.9 MB, free: 3.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 67.88 kB / 367.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1966, allocations: 52.31 MB / 420.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002851/0.1995, allocations: 2.232 MB / 422.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002354/0.1997, allocations: 147.4 kB / 422.6 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.1998, allocations: 7.938 kB / 422.6 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.2, allocations: 19.86 kB / 422.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2001, allocations: 11.92 kB / 422.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.2003, allocations: 58.69 kB / 422.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.2004, allocations: 67.78 kB / 422.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.2005, allocations: 31.44 kB / 422.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.2006, allocations: 19.92 kB / 422.8 MB, free: 18.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.2006, allocations: 31.84 kB / 422.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.2007, allocations: 4 kB / 422.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.55e-05/0.2007, allocations: 28 kB / 422.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.2008, allocations: 19.91 kB / 422.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.2008, allocations: 23.81 kB / 422.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.201, allocations: 91.77 kB / 423 MB, free: 18.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.201, allocations: 0.5625 kB / 423 MB, free: 18.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.201, allocations: 3.938 kB / 423 MB, free: 18.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.201, allocations: 1.406 kB / 423 MB, free: 18.17 MB / 302.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.0003375/0.2014, allocations: 440.3 kB / 423.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.2014, allocations: 12.03 kB / 423.5 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.2014, allocations: 12.78 kB / 423.5 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2016, allocations: 188.3 kB / 423.7 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2017, allocations: 8.375 kB / 423.7 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2017, allocations: 4.375 kB / 423.7 MB, free: 17.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.2019, allocations: 169.4 kB / 423.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2019, allocations: 192 / 423.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.202, allocations: 3.938 kB / 423.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.202, allocations: 4 kB / 423.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/0.202, allocations: 31.98 kB / 423.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.2024, allocations: 285.7 kB / 424.2 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2026, allocations: 154.3 kB / 424.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.2026, allocations: 45.72 kB / 424.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.705e-05/0.2027, allocations: 89.08 kB / 424.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.2027, allocations: 30.56 kB / 424.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.2027, allocations: 0 / 424.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002697/0.203, allocations: 180.9 kB / 424.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.2031, allocations: 132.5 kB / 424.8 MB, free: 16.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.2032, allocations: 125.7 kB / 424.9 MB, free: 16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2032, allocations: 25.7 kB / 424.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.2032, allocations: 96.12 kB / 425 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.2032, allocations: 7.844 kB / 425 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.2033, allocations: 25.7 kB / 425.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.2033, allocations: 322.9 kB / 425.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.2034, allocations: 15.98 kB / 425.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.2034, allocations: 61.94 kB / 425.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.105e-05/0.2035, allocations: 188.6 kB / 425.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2035, allocations: 96 / 425.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000154/0.2037, allocations: 164.9 kB / 425.8 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.2037, allocations: 59.62 kB / 425.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2037, allocations: 4 kB / 425.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2038, allocations: 4 kB / 425.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.2038, allocations: 11.94 kB / 425.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2038, allocations: 12.05 kB / 425.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.2039, allocations: 7.906 kB / 425.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2039, allocations: 8 kB / 425.9 MB, free: 14.88 MB / 302.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 7.649e-05/0.204, allocations: 173.2 kB / 426.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.204, allocations: 69.53 kB / 426.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.2041, allocations: 11.95 kB / 426.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2041, allocations: 4 kB / 426.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2041, allocations: 0 / 426.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2041, allocations: 4 kB / 426.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2042, allocations: 181.5 kB / 426.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2042, allocations: 320 / 426.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.2043, allocations: 15.98 kB / 426.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2043, allocations: 0 / 426.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2043, allocations: 4 kB / 426.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2043, allocations: 0 / 426.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2043, allocations: 0 / 426.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.2045, allocations: 267.6 kB / 426.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.2045, allocations: 81.11 kB / 426.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.2046, allocations: 8 kB / 426.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.2046, allocations: 3.984 kB / 426.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.2047, allocations: 4 kB / 426.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.2047, allocations: 4 kB / 426.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.962e-05/0.2047, allocations: 95.27 kB / 426.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2047, allocations: 4 kB / 426.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.205, allocations: 19.91 kB / 426.8 MB, free: 13.82 MB / 302.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.0005458/0.2055, allocations: 250 kB / 427.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.2058, allocations: 170.7 kB / 427.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2058, allocations: 0 / 427.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.359e-05/0.2059, allocations: 118.8 kB / 427.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2062, allocations: 38.34 kB / 427.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.2066, allocations: 191.1 kB / 427.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.2068, allocations: 0.6969 MB / 428.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.749e-05/0.2069, allocations: 11.98 kB / 428.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.2069, allocations: 11.44 kB / 428.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2069, allocations: 0 / 428.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Templates: time 0.003958/0.2109, allocations: 1.265 MB / 429.6 MB, free: 11.04 MB / 302.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 -s gbode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)