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.0008456/0.0008457, allocations: 90.64 kB / 16.71 MB, free: 6.145 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.0009068/0.0009068, allocations: 174.5 kB / 17.62 MB, free: 5.855 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.21/1.21, allocations: 223.3 MB / 241.7 MB, free: 14.36 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.0537/0.0537, allocations: 12.05 MB / 304.8 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002726, allocations: 11.98 kB / 368.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1743, allocations: 53.35 MB / 422.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.001858/0.1762, allocations: 1.931 MB / 424.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002358/0.1764, allocations: 139.5 kB / 424.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.1765, allocations: 0 / 424.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.1766, allocations: 26.06 kB / 424.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.1767, allocations: 8 kB / 424.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.1769, allocations: 43.84 kB / 424.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.177, allocations: 71.77 kB / 424.5 MB, free: 18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.1771, allocations: 25.12 kB / 424.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.1771, allocations: 23.86 kB / 424.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.1772, allocations: 23.84 kB / 424.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1772, allocations: 4.906 kB / 424.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.95e-05/0.1773, allocations: 23.94 kB / 424.6 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.1773, allocations: 9.484 kB / 424.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.1774, allocations: 53.52 kB / 424.7 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.732e-05/0.1775, allocations: 67.88 kB / 424.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1775, allocations: 0 / 424.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1775, allocations: 5.531 kB / 424.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1775, allocations: 0 / 424.7 MB, free: 17.77 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.0002753/0.1778, allocations: 416.8 kB / 425.1 MB, free: 17.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.1778, allocations: 12.91 kB / 425.2 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.1778, allocations: 8.844 kB / 425.2 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.178, allocations: 184.3 kB / 425.3 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.178, allocations: 13.06 kB / 425.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.178, allocations: 8 kB / 425.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.1783, allocations: 165.4 kB / 425.5 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1783, allocations: 192 / 425.5 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1783, allocations: 7.938 kB / 425.5 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.1783, allocations: 1.469 kB / 425.5 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.1784, allocations: 31.92 kB / 425.6 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.1787, allocations: 289.7 kB / 425.9 MB, free: 16.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1788, allocations: 158.2 kB / 426 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.1789, allocations: 41.78 kB / 426 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/0.179, allocations: 85.09 kB / 426.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.179, allocations: 38.56 kB / 426.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.179, allocations: 0 / 426.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002615/0.1793, allocations: 168.9 kB / 426.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1793, allocations: 136.5 kB / 426.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.1794, allocations: 121.8 kB / 426.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-06/0.1794, allocations: 25.7 kB / 426.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.1795, allocations: 96.03 kB / 426.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.1795, allocations: 15.84 kB / 426.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.1795, allocations: 17.75 kB / 426.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.1795, allocations: 318.8 kB / 427 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.1796, allocations: 12 kB / 427.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.1796, allocations: 61.94 kB / 427.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.1797, allocations: 188.8 kB / 427.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1797, allocations: 0 / 427.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001556/0.1799, allocations: 164.9 kB / 427.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.1799, allocations: 63.39 kB / 427.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1799, allocations: 0 / 427.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.18, allocations: 4 kB / 427.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.129e-05/0.18, allocations: 8 kB / 427.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.18, allocations: 4 kB / 427.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.1801, allocations: 8 kB / 427.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1801, allocations: 4.094 kB / 427.6 MB, free: 14.54 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 6.665e-05/0.1801, allocations: 185.2 kB / 427.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/0.1802, allocations: 69.59 kB / 427.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.1803, allocations: 12.28 kB / 427.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1803, allocations: 0 / 427.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1803, allocations: 3.984 kB / 427.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1803, allocations: 8 kB / 427.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1804, allocations: 177.5 kB / 428 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1804, allocations: 4 kB / 428 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.1805, allocations: 4 kB / 428 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1805, allocations: 4 kB / 428 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.1805, allocations: 0 / 428 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1805, allocations: 11.92 kB / 428 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1805, allocations: 4 kB / 428 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1807, allocations: 263.6 kB / 428.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.1807, allocations: 85.02 kB / 428.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1807, allocations: 4 kB / 428.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.1808, allocations: 3.938 kB / 428.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.1808, allocations: 7.984 kB / 428.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.1808, allocations: 12 kB / 428.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.014e-05/0.1809, allocations: 91.27 kB / 428.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1809, allocations: 0 / 428.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1811, allocations: 24 kB / 428.5 MB, free: 13.45 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.0003883/0.1815, allocations: 244.8 kB / 428.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1817, allocations: 162.7 kB / 428.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1817, allocations: 0 / 428.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.1818, allocations: 127.2 kB / 429 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.182, allocations: 40.02 kB / 429.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.1824, allocations: 243.8 kB / 429.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.763e-05/0.1825, allocations: 0.6972 MB / 430 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.1825, allocations: 11.44 kB / 430 MB, free: 11.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1825, allocations: 3.938 kB / 430 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Templates: time 0.002461/0.185, allocations: 1.468 MB / 431.5 MB, free: 10.42 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 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)