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.001213/0.001213, allocations: 75.91 kB / 20.56 MB, free: 1.242 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.001335/0.001335, allocations: 170.4 kB / 23.81 MB, free: 4.426 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.337/1.337, allocations: 177.2 MB / 204.2 MB, free: 8.957 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.05578/0.05578, allocations: 9.165 MB / 269.7 MB, free: 7.863 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 0.001944/0.001944, allocations: 59.91 kB / 398 MB, free: 6.543 MB / 366.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.104, allocations: 56.34 MB / 454.4 MB, free: 14.1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003785/0.1077, allocations: 2.373 MB / 456.7 MB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003114/0.1081, allocations: 131.5 kB / 456.9 MB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1081, allocations: 4 kB / 456.9 MB, free: 11.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1083, allocations: 31.78 kB / 456.9 MB, free: 11.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.3e-05/0.1083, allocations: 7.938 kB / 456.9 MB, free: 11.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.1086, allocations: 47.89 kB / 457 MB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1087, allocations: 75.75 kB / 457 MB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.1088, allocations: 12 kB / 457.1 MB, free: 11.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.1089, allocations: 27.86 kB / 457.1 MB, free: 11.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.1089, allocations: 31.78 kB / 457.1 MB, free: 11.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.109, allocations: 4 kB / 457.1 MB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.109, allocations: 35.98 kB / 457.1 MB, free: 11.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.1091, allocations: 11.94 kB / 457.2 MB, free: 11.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.1091, allocations: 23.86 kB / 457.2 MB, free: 11.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1093, allocations: 95.69 kB / 457.3 MB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1093, allocations: 0 / 457.3 MB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1093, allocations: 0 / 457.3 MB, free: 11.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1093, allocations: 0 / 457.3 MB, free: 11.18 MB / 430.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.0004373/0.1097, allocations: 357.3 kB / 457.6 MB, free: 10.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1098, allocations: 8.031 kB / 457.6 MB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1098, allocations: 8.891 kB / 457.6 MB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.11, allocations: 138.4 kB / 457.8 MB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1101, allocations: 12.38 kB / 457.8 MB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1101, allocations: 8.312 kB / 457.8 MB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.1104, allocations: 212.1 kB / 458 MB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1104, allocations: 4.125 kB / 458 MB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1104, allocations: 3.938 kB / 458 MB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.1105, allocations: 7.984 kB / 458 MB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1106, allocations: 83.39 kB / 458.1 MB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.1109, allocations: 225.4 kB / 458.3 MB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1111, allocations: 140.5 kB / 458.5 MB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1112, allocations: 93.19 kB / 458.5 MB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.197e-05/0.1113, allocations: 7.984 kB / 458.6 MB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1113, allocations: 34.56 kB / 458.6 MB, free: 9.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1113, allocations: 3.938 kB / 458.6 MB, free: 9.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003886/0.1117, allocations: 279.8 kB / 458.9 MB, free: 9.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/0.1118, allocations: 136.5 kB / 459 MB, free: 9.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1119, allocations: 117.8 kB / 459.1 MB, free: 9.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1119, allocations: 29.7 kB / 459.1 MB, free: 9.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.112, allocations: 104.1 kB / 459.2 MB, free: 8.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.112, allocations: 7.891 kB / 459.3 MB, free: 8.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.1121, allocations: 33.7 kB / 459.3 MB, free: 8.863 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1122, allocations: 310.8 kB / 459.6 MB, free: 8.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/0.1123, allocations: 71.64 kB / 459.7 MB, free: 8.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.1124, allocations: 117.3 kB / 459.8 MB, free: 8.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1126, allocations: 196.7 kB / 460 MB, free: 8.082 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1126, allocations: 0 / 460 MB, free: 8.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002416/0.1128, allocations: 216.2 kB / 460.2 MB, free: 7.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.1128, allocations: 65.89 kB / 460.2 MB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1129, allocations: 0 / 460.2 MB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1129, allocations: 4 kB / 460.2 MB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.1129, allocations: 8 kB / 460.3 MB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1129, allocations: 8.156 kB / 460.3 MB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.113, allocations: 16.05 kB / 460.3 MB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.113, allocations: 7.938 kB / 460.3 MB, free: 7.723 MB / 430.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.0001363/0.1131, allocations: 185.1 kB / 460.5 MB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1132, allocations: 69.64 kB / 460.5 MB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.1132, allocations: 4.125 kB / 460.5 MB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1132, allocations: 3.938 kB / 460.5 MB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1133, allocations: 4 kB / 460.5 MB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1133, allocations: 0 / 460.5 MB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1134, allocations: 117.3 kB / 460.7 MB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1134, allocations: 3.938 kB / 460.7 MB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.1134, allocations: 12 kB / 460.7 MB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1134, allocations: 0 / 460.7 MB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1134, allocations: 4 kB / 460.7 MB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1134, allocations: 0 / 460.7 MB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1135, allocations: 0 / 460.7 MB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1138, allocations: 319.3 kB / 461 MB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.1138, allocations: 19.81 kB / 461 MB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1138, allocations: 7.938 kB / 461 MB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.1139, allocations: 4 kB / 461 MB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.1139, allocations: 7.984 kB / 461 MB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.1139, allocations: 4.062 kB / 461 MB, free: 6.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.03e-05/0.114, allocations: 95.27 kB / 461.1 MB, free: 6.773 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.114, allocations: 0 / 461.1 MB, free: 6.773 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1142, allocations: 23.94 kB / 461.2 MB, free: 6.75 MB / 430.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.0006273/0.1148, allocations: 258.6 kB / 461.4 MB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1152, allocations: 281.5 kB / 461.7 MB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1152, allocations: 0 / 461.7 MB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1153, allocations: 174.2 kB / 461.9 MB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1156, allocations: 42.88 kB / 461.9 MB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.116, allocations: 250.3 kB / 462.1 MB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.06e-05/0.1161, allocations: 79.33 kB / 462.2 MB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.1161, allocations: 11.98 kB / 462.2 MB, free: 5.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.1162, allocations: 12.5 kB / 462.2 MB, free: 5.578 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1162, allocations: 0 / 462.2 MB, free: 5.578 MB / 430.1 MB Notification: Performance of Templates: time 0.00415/0.1203, allocations: 1.319 MB / 463.6 MB, free: 4.273 MB / 430.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 -s ida -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.208338879980147] Failed to read output from testmodel.py, exit status != 0: 0.12847636197693646 0.14193477099999996 0.029833735000000004 Calling exit ...