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.001237/0.001237, allocations: 109 kB / 20.5 MB, free: 1.453 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.001343/0.001343, allocations: 209.9 kB / 23.8 MB, free: 4.672 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.382/1.382, allocations: 230.6 MB / 257.6 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] 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.08588/0.08588, allocations: 12.22 MB / 326.2 MB, free: 7.219 MB / 254.1 MB " [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.001991/0.001991, allocations: 63.91 kB / 454.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1069, allocations: 56.39 MB / 0.499 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.004045/0.111, allocations: 2.375 MB / 0.5014 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.1113, allocations: 151.5 kB / 0.5015 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.1114, allocations: 0 / 0.5015 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1115, allocations: 23.8 kB / 0.5015 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1116, allocations: 11.92 kB / 0.5015 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1119, allocations: 55.81 kB / 0.5016 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.112, allocations: 63.78 kB / 0.5016 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1121, allocations: 23.97 kB / 0.5017 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.1122, allocations: 15.94 kB / 0.5017 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.1123, allocations: 39.78 kB / 0.5017 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1123, allocations: 8 kB / 0.5017 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.1124, allocations: 31.98 kB / 0.5018 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.1124, allocations: 11.92 kB / 0.5018 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.1125, allocations: 31.81 kB / 0.5018 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1126, allocations: 95.56 kB / 0.5019 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1127, allocations: 0 / 0.5019 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1127, allocations: 0 / 0.5019 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1127, allocations: 0 / 0.5019 GB, free: 13.05 MB / 382.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.0004872/0.1131, allocations: 353.5 kB / 0.5022 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1132, allocations: 16.03 kB / 0.5022 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.1132, allocations: 8.891 kB / 0.5023 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1135, allocations: 134.3 kB / 0.5024 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1135, allocations: 4.375 kB / 0.5024 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1135, allocations: 8.375 kB / 0.5024 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1138, allocations: 161.5 kB / 0.5025 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1138, allocations: 192 / 0.5025 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1139, allocations: 11.94 kB / 0.5026 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.1139, allocations: 3.984 kB / 0.5026 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.1139, allocations: 27.98 kB / 0.5026 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.1143, allocations: 268.7 kB / 0.5028 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1145, allocations: 77.2 kB / 0.5029 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.1146, allocations: 37.78 kB / 0.503 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.657e-05/0.1147, allocations: 7.984 kB / 0.503 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1147, allocations: 38.5 kB / 0.503 GB, free: 11.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1147, allocations: 0 / 0.503 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003496/0.115, allocations: 181 kB / 0.5032 GB, free: 11.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.1151, allocations: 140.5 kB / 0.5033 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1152, allocations: 117.8 kB / 0.5034 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1153, allocations: 29.64 kB / 0.5034 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.1153, allocations: 96.08 kB / 0.5035 GB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.1153, allocations: 7.953 kB / 0.5035 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.1154, allocations: 25.7 kB / 0.5036 GB, free: 11.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1155, allocations: 322.9 kB / 0.5039 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.1156, allocations: 15.98 kB / 0.5039 GB, free: 10.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.1156, allocations: 54 kB / 0.5039 GB, free: 10.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.1158, allocations: 192.6 kB / 0.5041 GB, free: 10.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1158, allocations: 0 / 0.5041 GB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002109/0.116, allocations: 156.9 kB / 0.5043 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.1161, allocations: 63.62 kB / 0.5043 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1161, allocations: 4 kB / 0.5043 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1161, allocations: 4 kB / 0.5043 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.887e-05/0.1161, allocations: 11.94 kB / 0.5044 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1162, allocations: 7.984 kB / 0.5044 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.1162, allocations: 7.938 kB / 0.5044 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1162, allocations: 4 kB / 0.5044 GB, free: 10.16 MB / 382.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.0001321/0.1163, allocations: 181.1 kB / 0.5046 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1164, allocations: 65.58 kB / 0.5046 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.1165, allocations: 20.05 kB / 0.5046 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1165, allocations: 0 / 0.5046 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.1165, allocations: 0 / 0.5046 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1165, allocations: 4 kB / 0.5046 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1167, allocations: 152.6 kB / 0.5048 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1167, allocations: 4 kB / 0.5048 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1167, allocations: 11.98 kB / 0.5048 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1167, allocations: 4 kB / 0.5048 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1167, allocations: 0 / 0.5048 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1167, allocations: 4 kB / 0.5048 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1167, allocations: 0 / 0.5048 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.117, allocations: 272 kB / 0.5051 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.117, allocations: 8.078 kB / 0.5051 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.117, allocations: 4 kB / 0.5051 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.366e-05/0.1171, allocations: 7.984 kB / 0.5051 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.1171, allocations: 7.984 kB / 0.5051 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.1171, allocations: 4 kB / 0.5051 GB, free: 9.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.07e-05/0.1172, allocations: 91.27 kB / 0.5052 GB, free: 9.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1172, allocations: 8 kB / 0.5052 GB, free: 9.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1175, allocations: 27.98 kB / 0.5052 GB, free: 9.191 MB / 382.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.0006186/0.1181, allocations: 242.5 kB / 0.5054 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1183, allocations: 166.7 kB / 0.5056 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1183, allocations: 0 / 0.5056 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.1184, allocations: 122.8 kB / 0.5057 GB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1187, allocations: 32.45 kB / 0.5058 GB, free: 8.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.1191, allocations: 208.8 kB / 0.506 GB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1194, allocations: 0.7002 MB / 0.5066 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.1194, allocations: 11.44 kB / 0.5066 GB, free: 7.668 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1194, allocations: 0 / 0.5066 GB, free: 7.668 MB / 382.1 MB Notification: Performance of Templates: time 0.003359/0.1228, allocations: 1.497 MB / 0.5081 GB, free: 6.176 MB / 382.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: 8.209407051093876] Failed to read output from testmodel.py, exit status != 0: 0.13105121813714504 0.30620470999999994 0.19106108199999994 Calling exit ...