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.003817/0.003817, allocations: 89.23 kB / 15.91 MB, free: 6.305 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.0009884/0.0009884, allocations: 193.1 kB / 16.83 MB, free: 6.238 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.237/1.237, allocations: 222.9 MB / 240.5 MB, free: 4.617 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.1514/0.1514, allocations: 12.01 MB / 302.7 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 60.12 kB / 365.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08581/0.08692, allocations: 52.32 MB / 418.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003854/0.09081, allocations: 2.263 MB / 420.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003216/0.09116, allocations: 143.5 kB / 420.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.259e-05/0.09125, allocations: 4 kB / 420.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.09142, allocations: 27.84 kB / 420.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.461e-05/0.09153, allocations: 7.938 kB / 420.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.09174, allocations: 43.91 kB / 420.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.09187, allocations: 59.78 kB / 420.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.09199, allocations: 31.97 kB / 420.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.09204, allocations: 19.86 kB / 420.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.0921, allocations: 27.86 kB / 420.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.09213, allocations: 4 kB / 420.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.09222, allocations: 27.98 kB / 420.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/0.09226, allocations: 15.92 kB / 420.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.09231, allocations: 27.8 kB / 420.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.09246, allocations: 79.78 kB / 420.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09248, allocations: 0 / 420.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.09248, allocations: 0 / 420.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.09249, allocations: 4 kB / 420.9 MB, free: 2.898 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.0004594/0.09296, allocations: 438.9 kB / 421.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.093, allocations: 12.03 kB / 421.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.09305, allocations: 8.844 kB / 421.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.09325, allocations: 192.1 kB / 421.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.09327, allocations: 8.375 kB / 421.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.09329, allocations: 4.375 kB / 421.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.09358, allocations: 165.5 kB / 421.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.0936, allocations: 192 / 421.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.09362, allocations: 7.938 kB / 421.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.09364, allocations: 0 / 421.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.09371, allocations: 35.92 kB / 421.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.09403, allocations: 293.7 kB / 422 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.09425, allocations: 150.3 kB / 422.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.09433, allocations: 45.72 kB / 422.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.09446, allocations: 81.11 kB / 422.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.09449, allocations: 38.56 kB / 422.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.09449, allocations: 0 / 422.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003076/0.09481, allocations: 165 kB / 422.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.09489, allocations: 140.5 kB / 422.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.095, allocations: 125.7 kB / 422.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.09502, allocations: 29.69 kB / 422.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.09508, allocations: 92.08 kB / 422.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.0951, allocations: 11.91 kB / 422.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.09516, allocations: 33.64 kB / 422.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.09529, allocations: 314.8 kB / 423.2 MB, free: 236 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.09534, allocations: 15.98 kB / 423.2 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.09542, allocations: 61.98 kB / 423.3 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1617/0.2572, allocations: 181.3 kB / 423.5 MB, free: 41.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2572, allocations: 0.5156 kB / 423.5 MB, free: 41.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00025/0.2575, allocations: 157.6 kB / 423.6 MB, free: 41.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.2575, allocations: 61.47 kB / 423.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2575, allocations: 3.125 kB / 423.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2575, allocations: 3.094 kB / 423.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.2576, allocations: 10.06 kB / 423.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2576, allocations: 4.438 kB / 423.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.2577, allocations: 7.281 kB / 423.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2577, allocations: 5.5 kB / 423.7 MB, free: 41.48 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 9.295e-05/0.2578, allocations: 182.5 kB / 423.9 MB, free: 41.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-05/0.2579, allocations: 70.77 kB / 424 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.2579, allocations: 10.23 kB / 424 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.258, allocations: 1.219 kB / 424 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.258, allocations: 3.969 kB / 424 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.258, allocations: 2.328 kB / 424 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2581, allocations: 179.8 kB / 424.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2581, allocations: 2.422 kB / 424.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.2582, allocations: 11.44 kB / 424.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2582, allocations: 0 / 424.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2582, allocations: 7.562 kB / 424.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2582, allocations: 1.625 kB / 424.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2582, allocations: 0 / 424.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.2584, allocations: 269.8 kB / 424.4 MB, free: 40.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.2585, allocations: 81.09 kB / 424.5 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2585, allocations: 7.203 kB / 424.5 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.2586, allocations: 2.094 kB / 424.5 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.2586, allocations: 8.781 kB / 424.5 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2586, allocations: 8.844 kB / 424.5 MB, free: 40.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.2586, allocations: 94.83 kB / 424.6 MB, free: 40.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2586, allocations: 0 / 424.6 MB, free: 40.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.2589, allocations: 25.2 kB / 424.7 MB, free: 40.71 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.000456/0.2594, allocations: 244.8 kB / 424.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.2596, allocations: 167.8 kB / 425.1 MB, free: 40.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2596, allocations: 2.344 kB / 425.1 MB, free: 40.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.2597, allocations: 120.4 kB / 425.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.26, allocations: 32.36 kB / 425.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.2604, allocations: 236.8 kB / 425.5 MB, free: 40.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.2605, allocations: 0.6919 MB / 426.1 MB, free: 39.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.359e-05/0.2606, allocations: 13.84 kB / 426.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.2607, allocations: 10.84 kB / 426.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2607, allocations: 1.031 kB / 426.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of Templates: time 0.003754/0.2644, allocations: 1.267 MB / 427.4 MB, free: 39.41 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)