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.001328/0.001328, allocations: 112.4 kB / 17.13 MB, free: 5.961 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.001385/0.001385, allocations: 198.1 kB / 18.07 MB, free: 5.035 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.316/1.316, allocations: 222.9 MB / 241.8 MB, free: 15.13 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.05751/0.05751, allocations: 12.04 MB / 304 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 420.7 MB, free: 17.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.08003, allocations: 52.32 MB / 473.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.00347/0.08353, allocations: 2.231 MB / 475.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.08387, allocations: 143.5 kB / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.08396, allocations: 0 / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.08411, allocations: 23.8 kB / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.261e-05/0.08422, allocations: 15.86 kB / 475.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.08446, allocations: 43.89 kB / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.08466, allocations: 75.83 kB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.08477, allocations: 27.95 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.08482, allocations: 27.86 kB / 475.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.08489, allocations: 23.86 kB / 475.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.08492, allocations: 8 kB / 475.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.08501, allocations: 35.97 kB / 475.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.08505, allocations: 7.938 kB / 475.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.08511, allocations: 35.8 kB / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.08531, allocations: 87.7 kB / 475.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.08533, allocations: 7.938 kB / 475.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08533, allocations: 0 / 475.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.08535, allocations: 0 / 475.8 MB, free: 10.04 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.0004366/0.08579, allocations: 434.7 kB / 476.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.08583, allocations: 8.031 kB / 476.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.08588, allocations: 8.844 kB / 476.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.08614, allocations: 196.1 kB / 476.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.08616, allocations: 12.3 kB / 476.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.08618, allocations: 8.375 kB / 476.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.08649, allocations: 157.5 kB / 476.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.08651, allocations: 192 / 476.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.08653, allocations: 7.938 kB / 476.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.08656, allocations: 4 kB / 476.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.08664, allocations: 31.92 kB / 476.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.08699, allocations: 285.7 kB / 477 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.08723, allocations: 162.2 kB / 477.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.08731, allocations: 37.78 kB / 477.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.08742, allocations: 93.09 kB / 477.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.08745, allocations: 30.56 kB / 477.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.08746, allocations: 0 / 477.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003228/0.08779, allocations: 169 kB / 477.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.08786, allocations: 136.5 kB / 477.6 MB, free: 8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.08796, allocations: 129.6 kB / 477.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.08798, allocations: 29.7 kB / 477.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.08805, allocations: 100.2 kB / 477.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.08806, allocations: 3.906 kB / 477.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.08811, allocations: 25.72 kB / 477.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.08821, allocations: 318.8 kB / 478.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.08826, allocations: 15.94 kB / 478.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.08834, allocations: 61.94 kB / 478.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.08849, allocations: 184.8 kB / 478.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.0885, allocations: 3.938 kB / 478.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002258/0.08873, allocations: 164.8 kB / 478.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.08879, allocations: 63.39 kB / 478.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.0888, allocations: 0 / 478.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.08882, allocations: 4 kB / 478.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-05/0.08887, allocations: 8 kB / 478.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.08889, allocations: 4 kB / 478.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.08894, allocations: 19.78 kB / 478.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.08896, allocations: 4.219 kB / 478.7 MB, free: 6.75 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.0001178/0.08908, allocations: 185.1 kB / 478.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.08913, allocations: 7.906 kB / 478.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.08916, allocations: 7.969 kB / 478.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.08918, allocations: 7.984 kB / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.08918, allocations: 0 / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.08922, allocations: 77.11 kB / 479 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.08925, allocations: 8 kB / 479 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.08931, allocations: 0 / 479 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.08934, allocations: 11.94 kB / 479 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003047/0.08965, allocations: 422.7 kB / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002875/0.08995, allocations: 405.4 kB / 479.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.376e-05/0.09002, allocations: 35.92 kB / 479.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.09009, allocations: 95.27 kB / 479.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of Backend: time 3.31e-07/0.09009, allocations: 4.031 kB / 479.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008815/0.09098, allocations: 367.1 kB / 480.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004554/0.09145, allocations: 0.7079 MB / 481 MB, free: 4.289 MB / 350.1 MB Notification: Performance of Templates: time 0.003634/0.09509, allocations: 1.245 MB / 482.3 MB, free: 3.055 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)