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.0009745/0.0009785, allocations: 105.2 kB / 16.31 MB, free: 6.391 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.0008937/0.0008938, allocations: 189.8 kB / 17.24 MB, free: 5.922 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.194/1.194, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.05081/0.05081, allocations: 12.05 MB / 303.1 MB, free: 3.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 59.91 kB / 366.5 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2119, allocations: 52.33 MB / 418.8 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002671/0.2146, allocations: 2.234 MB / 421 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002124/0.2148, allocations: 139.5 kB / 421.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.2149, allocations: 3.938 kB / 421.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.215, allocations: 23.84 kB / 421.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-05/0.2151, allocations: 14.47 kB / 421.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.2153, allocations: 55.75 kB / 421.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2154, allocations: 67.84 kB / 421.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.2155, allocations: 19.98 kB / 421.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.2156, allocations: 27.86 kB / 421.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.2156, allocations: 26.39 kB / 421.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2156, allocations: 4 kB / 421.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.2157, allocations: 39.97 kB / 421.4 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.2157, allocations: 11.94 kB / 421.4 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.2158, allocations: 23.86 kB / 421.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.2159, allocations: 95.69 kB / 421.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2159, allocations: 4 kB / 421.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2159, allocations: 4 kB / 421.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2159, allocations: 0 / 421.6 MB, free: 18.29 MB / 302.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.0003263/0.2163, allocations: 428.7 kB / 422 MB, free: 17.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.2163, allocations: 11.97 kB / 422 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.2164, allocations: 8.844 kB / 422 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2165, allocations: 196.2 kB / 422.2 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2165, allocations: 384 / 422.2 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.2165, allocations: 12.38 kB / 422.2 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.2168, allocations: 161.4 kB / 422.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.2168, allocations: 4.188 kB / 422.4 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2168, allocations: 7.938 kB / 422.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.2169, allocations: 7.984 kB / 422.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.2169, allocations: 20 kB / 422.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.2172, allocations: 297.7 kB / 422.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.2174, allocations: 150.3 kB / 422.8 MB, free: 16.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.2175, allocations: 45.78 kB / 422.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.2176, allocations: 77.11 kB / 423 MB, free: 16.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.2176, allocations: 46.48 kB / 423 MB, free: 16.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 2.364e-06/0.2176, allocations: 0 / 423 MB, free: 16.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002559/0.2179, allocations: 172.9 kB / 423.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2179, allocations: 132.5 kB / 423.3 MB, free: 16.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.218, allocations: 129.7 kB / 423.4 MB, free: 16.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.218, allocations: 29.7 kB / 423.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.218, allocations: 84.17 kB / 423.6 MB, free: 16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.2181, allocations: 23.83 kB / 423.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.2181, allocations: 21.72 kB / 423.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.2181, allocations: 318.8 kB / 423.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.2182, allocations: 12 kB / 423.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.394e-05/0.2182, allocations: 58 kB / 424 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.2183, allocations: 192.7 kB / 424.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2183, allocations: 3.938 kB / 424.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001435/0.2185, allocations: 160.9 kB / 424.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.2185, allocations: 57.75 kB / 424.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2185, allocations: 4 kB / 424.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2185, allocations: 3.984 kB / 424.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.2186, allocations: 15.94 kB / 424.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2186, allocations: 0 / 424.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.2186, allocations: 7.906 kB / 424.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2187, allocations: 4 kB / 424.4 MB, free: 15.03 MB / 302.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 6.862e-05/0.2187, allocations: 185.4 kB / 424.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.2188, allocations: 69.67 kB / 424.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.2188, allocations: 11.95 kB / 424.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2189, allocations: 4 kB / 424.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2189, allocations: 0 / 424.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2189, allocations: 0 / 424.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.219, allocations: 189.5 kB / 424.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.219, allocations: 320 / 424.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.219, allocations: 8 kB / 424.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.219, allocations: 0 / 424.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2191, allocations: 12 kB / 424.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2191, allocations: 0 / 424.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2191, allocations: 0 / 424.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.2192, allocations: 275.5 kB / 425.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.2193, allocations: 81.11 kB / 425.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2193, allocations: 0 / 425.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.757e-05/0.2194, allocations: 8 kB / 425.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.2194, allocations: 4 kB / 425.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.2194, allocations: 4 kB / 425.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.2194, allocations: 95.27 kB / 425.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2194, allocations: 0 / 425.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.2197, allocations: 31.89 kB / 425.4 MB, free: 13.94 MB / 302.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.000416/0.2201, allocations: 236.6 kB / 425.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.2203, allocations: 171 kB / 425.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2203, allocations: 4.062 kB / 425.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.12e-05/0.2204, allocations: 122.8 kB / 425.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2206, allocations: 38.61 kB / 425.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.2209, allocations: 179.1 kB / 426.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2211, allocations: 0.7009 MB / 426.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.787e-05/0.2211, allocations: 15.92 kB / 426.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.2212, allocations: 7.438 kB / 426.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2212, allocations: 4 kB / 426.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Templates: time 0.003318/0.2245, allocations: 1.26 MB / 428.1 MB, free: 11.17 MB / 302.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)