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.001343/0.001343, allocations: 113.3 kB / 17.13 MB, free: 5.941 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.001429/0.001429, allocations: 186.3 kB / 18.06 MB, free: 5.027 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.238/1.238, allocations: 222.9 MB / 241.8 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.05443/0.05443, allocations: 12.05 MB / 304 MB, free: 3.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 420.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08308/0.08429, allocations: 52.31 MB / 473 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003585/0.08792, allocations: 2.234 MB / 475.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.08826, allocations: 139.5 kB / 475.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.08836, allocations: 8 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.08854, allocations: 23.8 kB / 475.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.476e-05/0.08866, allocations: 15.86 kB / 475.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.0889, allocations: 46.77 kB / 475.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.08907, allocations: 71.83 kB / 475.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.08919, allocations: 23.95 kB / 475.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.08924, allocations: 31.86 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.08931, allocations: 23.86 kB / 475.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.08933, allocations: 4 kB / 475.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.08943, allocations: 43.97 kB / 475.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.08948, allocations: 15.88 kB / 475.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.08953, allocations: 23.86 kB / 475.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.08972, allocations: 95.7 kB / 475.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.08973, allocations: 0 / 475.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.08974, allocations: 3.938 kB / 475.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.08975, allocations: 0 / 475.8 MB, free: 10.07 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.0004463/0.0902, allocations: 430.7 kB / 476.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.09024, allocations: 8.031 kB / 476.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.09029, allocations: 8.844 kB / 476.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.09057, allocations: 200.1 kB / 476.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.09059, allocations: 12.31 kB / 476.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.09061, allocations: 4.375 kB / 476.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.09093, allocations: 161.5 kB / 476.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.09095, allocations: 4.188 kB / 476.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.09097, allocations: 3.938 kB / 476.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.09099, allocations: 4 kB / 476.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.09107, allocations: 31.92 kB / 476.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.09141, allocations: 281.7 kB / 477 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.09165, allocations: 162.2 kB / 477.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-05/0.09173, allocations: 41.78 kB / 477.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.519e-05/0.09183, allocations: 85.09 kB / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.09186, allocations: 30.56 kB / 477.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.09187, allocations: 0 / 477.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003195/0.09219, allocations: 169 kB / 477.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.09227, allocations: 144.5 kB / 477.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.09237, allocations: 125.6 kB / 477.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.0924, allocations: 29.7 kB / 477.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.09246, allocations: 92.08 kB / 477.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.09248, allocations: 15.89 kB / 477.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.09253, allocations: 21.72 kB / 477.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.09264, allocations: 322.8 kB / 478.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.09269, allocations: 16 kB / 478.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.09276, allocations: 61.94 kB / 478.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.09291, allocations: 196.8 kB / 478.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.09292, allocations: 0 / 478.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001976/0.09312, allocations: 156.9 kB / 478.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.09317, allocations: 63.39 kB / 478.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.09318, allocations: 0 / 478.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.0932, allocations: 8.219 kB / 478.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.09326, allocations: 8 kB / 478.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.09327, allocations: 4 kB / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.09332, allocations: 15.72 kB / 478.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.09334, allocations: 8 kB / 478.7 MB, free: 6.777 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.0001211/0.09346, allocations: 181.2 kB / 478.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.09357, allocations: 61.59 kB / 478.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.0936, allocations: 11.97 kB / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.09361, allocations: 0 / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.09362, allocations: 4 kB / 479 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.09363, allocations: 3.984 kB / 479 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.0938, allocations: 181.6 kB / 479.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.09381, allocations: 0 / 479.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.09385, allocations: 11.94 kB / 479.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.09386, allocations: 0 / 479.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.09387, allocations: 4 kB / 479.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.09388, allocations: 400 / 479.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.09389, allocations: 3.984 kB / 479.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.09415, allocations: 275.6 kB / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.0942, allocations: 85.02 kB / 479.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.09422, allocations: 4 kB / 479.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.09428, allocations: 4 kB / 479.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.09431, allocations: 4 kB / 479.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.09432, allocations: 3.984 kB / 479.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.716e-05/0.09439, allocations: 91.28 kB / 479.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09439, allocations: 3.938 kB / 479.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.09466, allocations: 31.98 kB / 479.6 MB, free: 5.703 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.0004515/0.09512, allocations: 245.3 kB / 479.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.09534, allocations: 170.7 kB / 480.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.09535, allocations: 0 / 480.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.09544, allocations: 122.8 kB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.09573, allocations: 47.08 kB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.09609, allocations: 205.3 kB / 480.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.09634, allocations: 0.6962 MB / 481.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.09637, allocations: 11.44 kB / 481.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09638, allocations: 0 / 481.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of Templates: time 0.003005/0.09939, allocations: 1.492 MB / 482.6 MB, free: 2.676 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)