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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008654/0.0008655, allocations: 171.7 kB / 16.8 MB, free: 4.902 MB / 13.93 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: 223.3 MB / 240.8 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007574/0.0007574, allocations: 98.12 kB / 292 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo): time 0.05442/0.05442, allocations: 12.04 MB / 355.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 12.84 kB / 419.2 MB, free: 53.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08033/0.08074, allocations: 53.35 MB / 472.5 MB, free: 248 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2938/0.3746, allocations: 81.52 MB / 0.541 GB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3748, allocations: 72.05 kB / 0.5411 GB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004569/0.3794, allocations: 1.68 MB / 0.5428 GB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3795, allocations: 0 / 0.5428 GB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.3795, allocations: 0 / 0.5428 GB, free: 14.32 MB / 362.7 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.0003525/0.3798, allocations: 422.8 kB / 0.5432 GB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3799, allocations: 8.031 kB / 0.5432 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.3799, allocations: 8.844 kB / 0.5432 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3801, allocations: 200.1 kB / 0.5434 GB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3801, allocations: 4.375 kB / 0.5434 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3802, allocations: 8.375 kB / 0.5434 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.3805, allocations: 166.1 kB / 0.5435 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3805, allocations: 192 / 0.5435 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3805, allocations: 3.938 kB / 0.5435 GB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.3805, allocations: 7.938 kB / 0.5435 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.3806, allocations: 35.98 kB / 0.5436 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.3809, allocations: 281.7 kB / 0.5438 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.3812, allocations: 158.2 kB / 0.544 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.3e-05/0.3813, allocations: 41.78 kB / 0.544 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.3814, allocations: 85.09 kB / 0.5441 GB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3814, allocations: 34.56 kB / 0.5442 GB, free: 12.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3814, allocations: 0 / 0.5442 GB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003279/0.3817, allocations: 172.9 kB / 0.5443 GB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.3818, allocations: 132.5 kB / 0.5444 GB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3819, allocations: 121.8 kB / 0.5446 GB, free: 12.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.382, allocations: 29.73 kB / 0.5446 GB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.382, allocations: 99.97 kB / 0.5447 GB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.382, allocations: 7.906 kB / 0.5447 GB, free: 12.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.3821, allocations: 4 kB / 0.5447 GB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3822, allocations: 318.8 kB / 0.545 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.3822, allocations: 12 kB / 0.545 GB, free: 11.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.3823, allocations: 65.92 kB / 0.5451 GB, free: 11.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3824, allocations: 184.6 kB / 0.5452 GB, free: 11.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3825, allocations: 8 kB / 0.5453 GB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002144/0.3827, allocations: 152.9 kB / 0.5454 GB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.3827, allocations: 67.39 kB / 0.5455 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3827, allocations: 4 kB / 0.5455 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3828, allocations: 0 / 0.5455 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.3828, allocations: 8 kB / 0.5455 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3829, allocations: 7.938 kB / 0.5455 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.3829, allocations: 4.219 kB / 0.5455 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3829, allocations: 8 kB / 0.5455 GB, free: 11.09 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.383, allocations: 183.7 kB / 0.5457 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3831, allocations: 69.59 kB / 0.5457 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.3832, allocations: 7.969 kB / 0.5457 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3832, allocations: 144 / 0.5457 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3832, allocations: 4 kB / 0.5457 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3832, allocations: 11.91 kB / 0.5458 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.3834, allocations: 177.5 kB / 0.5459 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3834, allocations: 4 kB / 0.5459 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.3834, allocations: 8 kB / 0.5459 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3834, allocations: 4 kB / 0.5459 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3835, allocations: 4 kB / 0.5459 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3835, allocations: 0 / 0.5459 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3835, allocations: 4 kB / 0.546 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3837, allocations: 263.6 kB / 0.5462 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.3838, allocations: 81.02 kB / 0.5463 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3838, allocations: 8 kB / 0.5463 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.3839, allocations: 0.875 kB / 0.5463 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.3839, allocations: 15.92 kB / 0.5463 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3839, allocations: 4 kB / 0.5463 GB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.384, allocations: 91.27 kB / 0.5464 GB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.384, allocations: 0 / 0.5464 GB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.3842, allocations: 24 kB / 0.5464 GB, free: 10.02 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004752/0.3847, allocations: 256.4 kB / 0.5467 GB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.385, allocations: 178.7 kB / 0.5468 GB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.385, allocations: 0 / 0.5468 GB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.3851, allocations: 122.8 kB / 0.547 GB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.3854, allocations: 44.7 kB / 0.547 GB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3864, allocations: 424.2 kB / 0.5474 GB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3868, allocations: 0.6926 MB / 0.5481 GB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.3868, allocations: 11.98 kB / 0.5481 GB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.3868, allocations: 15.44 kB / 0.5481 GB, free: 8.258 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3868, allocations: 0 / 0.5481 GB, free: 8.258 MB / 362.7 MB Notification: Performance of Templates: time 0.00349/0.3903, allocations: 1.231 MB / 0.5493 GB, free: 7.039 MB / 362.7 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)