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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 71.05 kB / 19.97 MB, free: 1.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 167.1 kB / 23.26 MB, free: 4.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.321/1.321, allocations: 177.1 MB / 203.6 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.0553/0.0553, allocations: 9.173 MB / 269.1 MB, free: 7.918 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 397.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.65e-05, allocations: 2.281 kB / 397.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003976/0.004003, allocations: 2.36 MB / 399.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.004371, allocations: 139.4 kB / 400 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-05/0.004462, allocations: 4 kB / 400 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.004631, allocations: 23.8 kB / 400.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.004742, allocations: 15.84 kB / 400.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.005007, allocations: 47.83 kB / 400.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.005183, allocations: 71.78 kB / 400.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.005298, allocations: 23.91 kB / 400.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.005372, allocations: 35.91 kB / 400.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.005435, allocations: 23.91 kB / 400.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.005461, allocations: 4 kB / 400.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.005543, allocations: 24 kB / 400.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.005581, allocations: 15.97 kB / 400.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.005625, allocations: 11.94 kB / 400.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.005842, allocations: 103.6 kB / 400.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.005846, allocations: 3.984 kB / 400.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005847, allocations: 8 kB / 400.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005851, allocations: 0 / 400.4 MB, free: 2.395 MB / 318.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.0004945/0.006345, allocations: 349.4 kB / 400.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.006381, allocations: 12.03 kB / 400.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.006425, allocations: 8.891 kB / 400.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.006684, allocations: 133.7 kB / 400.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.006703, allocations: 8.375 kB / 400.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.00672, allocations: 4.375 kB / 400.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.007151, allocations: 216.9 kB / 401.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.007161, allocations: 192 / 401.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.007178, allocations: 8.375 kB / 401.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.0072, allocations: 4.312 kB / 401.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.007321, allocations: 87.27 kB / 401.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.007675, allocations: 229.4 kB / 401.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.007948, allocations: 132.5 kB / 401.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.008067, allocations: 93.19 kB / 401.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.00814, allocations: 4 kB / 401.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.008177, allocations: 50.48 kB / 401.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.008179, allocations: 3.938 kB / 401.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004564/0.008635, allocations: 283.8 kB / 402 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.008724, allocations: 132.5 kB / 402.2 MB, free: 404 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.008845, allocations: 121.8 kB / 402.3 MB, free: 272 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.008877, allocations: 33.7 kB / 402.3 MB, free: 232 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.008941, allocations: 92.08 kB / 402.4 MB, free: 136 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.008966, allocations: 11.89 kB / 402.4 MB, free: 124 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.009011, allocations: 17.72 kB / 402.4 MB, free: 100 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.009178, allocations: 318.8 kB / 402.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/0.009242, allocations: 63.44 kB / 402.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.009323, allocations: 81.11 kB / 402.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.009447, allocations: 132.8 kB / 403 MB, free: 15.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009449, allocations: 0 / 403 MB, free: 15.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002224/0.009671, allocations: 188.4 kB / 403.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.009723, allocations: 63.34 kB / 403.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.009728, allocations: 0 / 403.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.009741, allocations: 0 / 403.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.069e-05/0.009772, allocations: 4 kB / 403.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.009778, allocations: 4.047 kB / 403.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.009815, allocations: 8 kB / 403.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.009823, allocations: 0 / 403.3 MB, free: 15.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 1 * 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.000132/0.009955, allocations: 181.8 kB / 403.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.01007, allocations: 69.58 kB / 403.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.0101, allocations: 12.12 kB / 403.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.0101, allocations: 0 / 403.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.01011, allocations: 4 kB / 403.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01012, allocations: 3.984 kB / 403.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.01027, allocations: 113.3 kB / 403.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01027, allocations: 0 / 403.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.01031, allocations: 12.31 kB / 403.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01031, allocations: 0 / 403.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.01033, allocations: 19.92 kB / 403.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01033, allocations: 0 / 403.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01033, allocations: 3.938 kB / 403.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.01066, allocations: 319.1 kB / 404 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.01068, allocations: 4 kB / 404 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.0107, allocations: 11.86 kB / 404 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.01077, allocations: 8 kB / 404 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.0108, allocations: 4 kB / 404 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01081, allocations: 0 / 404 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.103e-05/0.01088, allocations: 99.27 kB / 404.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01088, allocations: 0 / 404.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.01114, allocations: 23.94 kB / 404.2 MB, free: 14.17 MB / 334.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.0006661/0.01181, allocations: 256 kB / 404.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.01208, allocations: 261.5 kB / 404.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01209, allocations: 4 kB / 404.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.01221, allocations: 174.2 kB / 404.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.01251, allocations: 39.89 kB / 404.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.01294, allocations: 237.2 kB / 405.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.358e-05/0.01303, allocations: 83.19 kB / 405.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.01308, allocations: 15.73 kB / 405.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.0131, allocations: 8.5 kB / 405.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.0131, allocations: 0 / 405.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of Templates: time 0.004558/0.01766, allocations: 1.274 MB / 406.5 MB, free: 11.77 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.973228357732296] Failed to read output from testmodel.py, exit status != 0: 0.026252806186676025 0.041966485000000005 0.032785564 Calling exit ...