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.001171/0.001171, allocations: 117.1 kB / 17.14 MB, free: 5.906 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.001176/0.001176, allocations: 193.9 kB / 18.07 MB, free: 4.992 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.299/1.299, allocations: 222.9 MB / 241.8 MB, free: 15.08 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.05792/0.05792, allocations: 12.04 MB / 304 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 420.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.08016, allocations: 52.32 MB / 473.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003708/0.08391, allocations: 2.231 MB / 475.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000312/0.08426, allocations: 143.5 kB / 475.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.08434, allocations: 0 / 475.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.08452, allocations: 27.72 kB / 475.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.08462, allocations: 15.92 kB / 475.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.08485, allocations: 46.58 kB / 475.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.08502, allocations: 71.83 kB / 475.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.08513, allocations: 23.97 kB / 475.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.08518, allocations: 27.86 kB / 475.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.08524, allocations: 31.84 kB / 475.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.08527, allocations: 8 kB / 475.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.08535, allocations: 28 kB / 475.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.08539, allocations: 15.92 kB / 475.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.08545, allocations: 23.88 kB / 475.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.08564, allocations: 99.56 kB / 475.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.08566, allocations: 0 / 475.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.08566, allocations: 0 / 475.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.08567, allocations: 0 / 475.8 MB, free: 10.16 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.0004378/0.08611, allocations: 434.5 kB / 476.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.08615, allocations: 8.031 kB / 476.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.0862, allocations: 12.84 kB / 476.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.08645, allocations: 200.1 kB / 476.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.08647, allocations: 12.31 kB / 476.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.08649, allocations: 8.375 kB / 476.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.0868, allocations: 164.7 kB / 476.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.08681, allocations: 192 / 476.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.08684, allocations: 11.94 kB / 476.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.08686, allocations: 0 / 476.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.244e-05/0.08693, allocations: 27.98 kB / 476.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.08727, allocations: 285.7 kB / 477 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.0875, allocations: 162.3 kB / 477.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.08758, allocations: 41.78 kB / 477.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.019e-05/0.08768, allocations: 81.11 kB / 477.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.08771, allocations: 34.5 kB / 477.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.08772, allocations: 4 kB / 477.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003162/0.08804, allocations: 173 kB / 477.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.08811, allocations: 136.5 kB / 477.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/0.08821, allocations: 133.7 kB / 477.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.08823, allocations: 25.7 kB / 477.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.08829, allocations: 92.14 kB / 477.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.08831, allocations: 7.906 kB / 477.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.08836, allocations: 29.7 kB / 477.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.08846, allocations: 318.9 kB / 478.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.08851, allocations: 19.98 kB / 478.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.08858, allocations: 54 kB / 478.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.08873, allocations: 188.7 kB / 478.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.08874, allocations: 3.938 kB / 478.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001978/0.08894, allocations: 153 kB / 478.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.089, allocations: 67.62 kB / 478.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.08901, allocations: 0 / 478.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.08903, allocations: 4.094 kB / 478.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.08908, allocations: 19.86 kB / 478.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.0891, allocations: 4 kB / 478.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.08915, allocations: 15.83 kB / 478.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.08917, allocations: 4 kB / 478.7 MB, free: 6.867 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.0001063/0.08928, allocations: 173.2 kB / 478.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.08932, allocations: 15.94 kB / 478.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.08936, allocations: 7.969 kB / 478.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.08937, allocations: 4 kB / 478.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.08937, allocations: 0 / 478.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.08941, allocations: 81.06 kB / 479 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.08944, allocations: 8 kB / 479 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.0895, allocations: 256 / 479 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.08953, allocations: 11.92 kB / 479 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002889/0.08983, allocations: 430.4 kB / 479.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002936/0.09013, allocations: 405.5 kB / 479.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.167e-05/0.0902, allocations: 27.98 kB / 479.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.412e-05/0.09027, allocations: 95.27 kB / 479.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of Backend: time 2.81e-07/0.09027, allocations: 0 / 479.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000864/0.09114, allocations: 371.9 kB / 480.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of SimCode: time 0.000427/0.09158, allocations: 0.7042 MB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of Templates: time 0.003596/0.09519, allocations: 1.246 MB / 482.3 MB, free: 3.176 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)