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.0009925/0.0009925, allocations: 105.9 kB / 16.45 MB, free: 6.496 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.001008/0.001008, allocations: 189.5 kB / 17.39 MB, free: 5.688 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.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.05238/0.05238, allocations: 12.05 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 64.05 kB / 420.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09167, allocations: 52.31 MB / 472.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003282/0.095, allocations: 2.234 MB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.09529, allocations: 151.4 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.09536, allocations: 4 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.0955, allocations: 11.86 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.09561, allocations: 23.86 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.09583, allocations: 43.83 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.09599, allocations: 67.84 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.0961, allocations: 23.95 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.09615, allocations: 31.86 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.0962, allocations: 23.86 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.09623, allocations: 8 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.09631, allocations: 43.91 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.09635, allocations: 11.94 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.09641, allocations: 23.86 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.09658, allocations: 95.59 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.09659, allocations: 0 / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0966, allocations: 0 / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.09661, allocations: 0 / 475.2 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.0004009/0.09702, allocations: 434.5 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.09705, allocations: 8.031 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.0971, allocations: 16.84 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.09731, allocations: 200.1 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.09733, allocations: 4.375 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.09735, allocations: 8.375 kB / 475.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.09764, allocations: 164.9 kB / 476 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.09765, allocations: 192 / 476 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.09767, allocations: 7.938 kB / 476 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.0977, allocations: 11.94 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.809e-05/0.09777, allocations: 31.97 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.09809, allocations: 281.8 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.09832, allocations: 162.2 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/0.09839, allocations: 41.78 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.488e-05/0.09849, allocations: 81.11 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.09851, allocations: 30.56 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.09852, allocations: 0 / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002911/0.09881, allocations: 177 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.09889, allocations: 140.5 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.09899, allocations: 129.7 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.09901, allocations: 25.7 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.09906, allocations: 88.14 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.09908, allocations: 19.89 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.09913, allocations: 21.72 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.09922, allocations: 322.8 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.09927, allocations: 16.03 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.09933, allocations: 58 kB / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.09947, allocations: 192.6 kB / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.09948, allocations: 0 / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001778/0.09966, allocations: 153 kB / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.09971, allocations: 59.41 kB / 478 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.09972, allocations: 4.219 kB / 478 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.09974, allocations: 4 kB / 478 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-05/0.09979, allocations: 15.92 kB / 478 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.0998, allocations: 7.938 kB / 478 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.09985, allocations: 11.89 kB / 478 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.09986, allocations: 4 kB / 478 MB, free: 6.777 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.0001048/0.09997, allocations: 181.3 kB / 478.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.1001, allocations: 65.58 kB / 478.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.1001, allocations: 11.97 kB / 478.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1001, allocations: 4 kB / 478.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1001, allocations: 0 / 478.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1001, allocations: 0 / 478.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1003, allocations: 185.9 kB / 478.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1003, allocations: 3.938 kB / 478.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1003, allocations: 12 kB / 478.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1004, allocations: 0 / 478.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1004, allocations: 4 kB / 478.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1004, allocations: 0 / 478.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1004, allocations: 0 / 478.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1006, allocations: 271.7 kB / 478.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.1007, allocations: 89.19 kB / 478.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1007, allocations: 4 kB / 478.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.1007, allocations: 4 kB / 478.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1008, allocations: 11.92 kB / 478.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1008, allocations: 4 kB / 478.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.632e-05/0.1008, allocations: 91.27 kB / 478.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1008, allocations: 4 kB / 478.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1011, allocations: 23.94 kB / 479 MB, free: 5.699 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.0004449/0.1016, allocations: 244.5 kB / 479.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1018, allocations: 170.7 kB / 479.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1018, allocations: 0 / 479.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.1019, allocations: 122.8 kB / 479.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1022, allocations: 35.91 kB / 479.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1025, allocations: 187.4 kB / 479.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1027, allocations: 0.6962 MB / 480.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.402e-05/0.1028, allocations: 11.97 kB / 480.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.1028, allocations: 11.44 kB / 480.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1028, allocations: 0 / 480.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of Templates: time 0.003355/0.1062, allocations: 1.269 MB / 481.7 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 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)