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.001502/0.001502, allocations: 109.7 kB / 17.12 MB, free: 5.965 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.001192/0.001192, allocations: 200 kB / 18.06 MB, free: 5.031 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.309/1.309, allocations: 222.9 MB / 241.8 MB, free: 15.15 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.06258/0.06258, allocations: 12.04 MB / 304 MB, free: 3.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 63.89 kB / 420.7 MB, free: 17.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.09233, allocations: 52.32 MB / 473.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003776/0.09611, allocations: 2.227 MB / 475.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003188/0.09642, allocations: 143.5 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.0965, allocations: 8 kB / 475.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.09666, allocations: 23.8 kB / 475.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.977e-05/0.09676, allocations: 15.86 kB / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.097, allocations: 47.88 kB / 475.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.09717, allocations: 67.78 kB / 475.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.09728, allocations: 19.97 kB / 475.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.09732, allocations: 31.84 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.09739, allocations: 27.86 kB / 475.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.09741, allocations: 4 kB / 475.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.0975, allocations: 32 kB / 475.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.09754, allocations: 19.86 kB / 475.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.09759, allocations: 23.86 kB / 475.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.09778, allocations: 99.58 kB / 475.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09779, allocations: 0 / 475.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09779, allocations: 0 / 475.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.09779, allocations: 0 / 475.8 MB, free: 10.07 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.0005039/0.0983, allocations: 430.5 kB / 476.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.09834, allocations: 8.031 kB / 476.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.09838, allocations: 16.78 kB / 476.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.09866, allocations: 204.2 kB / 476.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.09867, allocations: 8.375 kB / 476.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.0987, allocations: 4.375 kB / 476.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.09902, allocations: 153.6 kB / 476.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.09903, allocations: 4.188 kB / 476.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.09905, allocations: 3.938 kB / 476.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.09907, allocations: 4 kB / 476.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.09914, allocations: 35.92 kB / 476.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.09953, allocations: 277.8 kB / 477 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.0998, allocations: 158.2 kB / 477.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.09987, allocations: 41.78 kB / 477.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.09999, allocations: 89.08 kB / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1, allocations: 30.56 kB / 477.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.1, allocations: 0 / 477.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003359/0.1003, allocations: 176.9 kB / 477.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.1004, allocations: 140.5 kB / 477.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1005, allocations: 133.7 kB / 477.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1006, allocations: 25.7 kB / 477.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.1006, allocations: 92.14 kB / 477.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1006, allocations: 11.91 kB / 477.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1007, allocations: 25.7 kB / 477.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1008, allocations: 318.8 kB / 478.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.1009, allocations: 15.98 kB / 478.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/0.1009, allocations: 62.25 kB / 478.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1011, allocations: 192.6 kB / 478.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1011, allocations: 4 kB / 478.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002181/0.1013, allocations: 153 kB / 478.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.1014, allocations: 59.41 kB / 478.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1014, allocations: 0 / 478.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1014, allocations: 8.156 kB / 478.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.1014, allocations: 15.98 kB / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1014, allocations: 7.938 kB / 478.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.1015, allocations: 11.89 kB / 478.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1015, allocations: 8 kB / 478.7 MB, free: 6.773 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.0001362/0.1016, allocations: 173.2 kB / 478.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1017, allocations: 69.62 kB / 478.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.1018, allocations: 7.969 kB / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1018, allocations: 0 / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1018, allocations: 4 kB / 479 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1018, allocations: 4 kB / 479 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.102, allocations: 177.6 kB / 479.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.102, allocations: 4 kB / 479.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.102, allocations: 11.92 kB / 479.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.102, allocations: 4 kB / 479.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.102, allocations: 0 / 479.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.102, allocations: 4 kB / 479.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.102, allocations: 0 / 479.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.1023, allocations: 267.8 kB / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1024, allocations: 81.06 kB / 479.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1024, allocations: 7.984 kB / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.1024, allocations: 8 kB / 479.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.1025, allocations: 0 / 479.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1025, allocations: 8.031 kB / 479.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.1025, allocations: 99.2 kB / 479.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1025, allocations: 0 / 479.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1028, allocations: 23.94 kB / 479.6 MB, free: 5.711 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.0006216/0.1034, allocations: 247.9 kB / 479.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.1037, allocations: 170.7 kB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1037, allocations: 0 / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1038, allocations: 118.8 kB / 480.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1041, allocations: 45.48 kB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.1044, allocations: 195.4 kB / 480.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1048, allocations: 0.6923 MB / 481.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.1048, allocations: 15.92 kB / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.1048, allocations: 11.44 kB / 481.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1048, allocations: 0 / 481.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of Templates: time 0.004075/0.1089, allocations: 1.275 MB / 482.4 MB, free: 2.922 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 -s cvode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)