Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009214/0.0009214, allocations: 174.5 kB / 16.12 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 225.7 MB / 242.6 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007541/0.0007541, allocations: 87.69 kB / 293.8 MB, free: 9.719 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo): time 0.05273/0.05273, allocations: 12.24 MB / 357.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002677, allocations: 8 kB / 421.2 MB, free: 52.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06946/0.06974, allocations: 53.36 MB / 474.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002337/0.07212, allocations: 1.979 MB / 476.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.07247, allocations: 371 kB / 476.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.07253, allocations: 7.875 kB / 476.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.07268, allocations: 23.92 kB / 476.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.07277, allocations: 11.92 kB / 476.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.07296, allocations: 43.89 kB / 477 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.07309, allocations: 59.84 kB / 477 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.07319, allocations: 19.97 kB / 477.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.07323, allocations: 27.84 kB / 477.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.07329, allocations: 23.86 kB / 477.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.07331, allocations: 0 / 477.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.07338, allocations: 27.98 kB / 477.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.07342, allocations: 11.94 kB / 477.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.07349, allocations: 57.55 kB / 477.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.07363, allocations: 83.7 kB / 477.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.07364, allocations: 4 kB / 477.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.07365, allocations: 3.938 kB / 477.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.07366, allocations: 3.938 kB / 477.3 MB, free: 12.23 MB / 314.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.0003579/0.07402, allocations: 411.1 kB / 477.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.07406, allocations: 8.031 kB / 477.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.07411, allocations: 16.83 kB / 477.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.07432, allocations: 192.2 kB / 477.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.07434, allocations: 4.375 kB / 477.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.07436, allocations: 12.36 kB / 477.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.07466, allocations: 153.5 kB / 478.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.07468, allocations: 4.188 kB / 478.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.0747, allocations: 11.94 kB / 478.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.07473, allocations: 0 / 478.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.15e-05/0.07479, allocations: 27.98 kB / 478.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.07514, allocations: 289.6 kB / 478.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.07537, allocations: 154.3 kB / 478.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.607e-05/0.07546, allocations: 37.78 kB / 478.6 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.0756, allocations: 97.02 kB / 478.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.07563, allocations: 38.5 kB / 478.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.07564, allocations: 0 / 478.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003137/0.07596, allocations: 164.9 kB / 478.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.07604, allocations: 144.5 kB / 479 MB, free: 10.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.07614, allocations: 121.8 kB / 479.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.07616, allocations: 25.7 kB / 479.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.07622, allocations: 96.03 kB / 479.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.07624, allocations: 7.906 kB / 479.3 MB, free: 9.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.07625, allocations: 4 kB / 479.3 MB, free: 9.938 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.07636, allocations: 314.8 kB / 479.6 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.07641, allocations: 15.98 kB / 479.6 MB, free: 9.605 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.07648, allocations: 69.92 kB / 479.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.07662, allocations: 188.6 kB / 479.9 MB, free: 9.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.07663, allocations: 0 / 479.9 MB, free: 9.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001729/0.07681, allocations: 156.9 kB / 480 MB, free: 9.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.07686, allocations: 59.41 kB / 480.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.07687, allocations: 0 / 480.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.07689, allocations: 4 kB / 480.1 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.07695, allocations: 16.14 kB / 480.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.07696, allocations: 8 kB / 480.1 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.07701, allocations: 4 kB / 480.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.07702, allocations: 4 kB / 480.1 MB, free: 9.008 MB / 314.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 () * 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.0001163/0.07714, allocations: 185.1 kB / 480.3 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/0.07724, allocations: 65.53 kB / 480.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.07728, allocations: 11.97 kB / 480.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.07729, allocations: 0 / 480.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.0773, allocations: 0 / 480.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.0773, allocations: 0 / 480.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.07747, allocations: 185.9 kB / 480.5 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.07747, allocations: 3.984 kB / 480.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.07751, allocations: 12 kB / 480.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.07752, allocations: 0 / 480.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.07754, allocations: 4 kB / 480.6 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.07755, allocations: 3.938 kB / 480.6 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.07755, allocations: 0 / 480.6 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.07779, allocations: 267.6 kB / 480.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.07784, allocations: 89 kB / 480.9 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.07787, allocations: 4 kB / 480.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.07792, allocations: 4 kB / 480.9 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.07795, allocations: 4 kB / 480.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.07796, allocations: 0 / 480.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.07801, allocations: 95.27 kB / 481 MB, free: 7.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07802, allocations: 0 / 481 MB, free: 7.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.07825, allocations: 20 kB / 481 MB, free: 7.941 MB / 314.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) * 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.0004801/0.07874, allocations: 290.9 kB / 481.3 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.07895, allocations: 174.6 kB / 481.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.07897, allocations: 0 / 481.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.07905, allocations: 122.9 kB / 481.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.07932, allocations: 35.91 kB / 481.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.07971, allocations: 226.5 kB / 481.9 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.07995, allocations: 0.6965 MB / 482.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.08, allocations: 11.98 kB / 482.6 MB, free: 6.359 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.08002, allocations: 7.438 kB / 482.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-07/0.08002, allocations: 0 / 482.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of Templates: time 0.003126/0.08315, allocations: 1.267 MB / 483.8 MB, free: 5.098 MB / 314.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)