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.001586/0.001586, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001844/0.001844, allocations: 220.2 kB / 23.03 MB, free: 5.016 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.05943/0.05943, allocations: 12.22 MB / 325.4 MB, free: 7.098 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.001979/0.001979, allocations: 67.91 kB / 453.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.112, allocations: 56.39 MB / 0.4982 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003884/0.1159, allocations: 2.353 MB / 0.5005 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.1163, allocations: 147.5 kB / 0.5006 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.1163, allocations: 3.938 kB / 0.5007 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1165, allocations: 19.86 kB / 0.5007 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1166, allocations: 15.86 kB / 0.5007 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1168, allocations: 47.89 kB / 0.5007 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.117, allocations: 63.84 kB / 0.5008 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1171, allocations: 19.97 kB / 0.5008 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.1172, allocations: 31.86 kB / 0.5008 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.1172, allocations: 23.86 kB / 0.5009 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1172, allocations: 8 kB / 0.5009 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.1173, allocations: 31.97 kB / 0.5009 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.1174, allocations: 11.94 kB / 0.5009 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.1174, allocations: 31.8 kB / 0.5009 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1176, allocations: 83.66 kB / 0.501 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1176, allocations: 0 / 0.501 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1176, allocations: 3.938 kB / 0.501 GB, free: 13.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1176, allocations: 4 kB / 0.501 GB, free: 13.01 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.0004642/0.1181, allocations: 357.4 kB / 0.5014 GB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1181, allocations: 12.03 kB / 0.5014 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.1181, allocations: 8.891 kB / 0.5014 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.1184, allocations: 146.3 kB / 0.5015 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1184, allocations: 4.375 kB / 0.5015 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1184, allocations: 4.375 kB / 0.5015 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.1188, allocations: 213 kB / 0.5017 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1188, allocations: 4.188 kB / 0.5017 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1188, allocations: 7.938 kB / 0.5018 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.1188, allocations: 0 / 0.5018 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.119, allocations: 91.33 kB / 0.5018 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.1193, allocations: 221.4 kB / 0.5021 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.1195, allocations: 144.5 kB / 0.5022 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.1196, allocations: 89.19 kB / 0.5023 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.464e-05/0.1197, allocations: 12 kB / 0.5023 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1197, allocations: 30.56 kB / 0.5023 GB, free: 11.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1197, allocations: 0 / 0.5023 GB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004028/0.1201, allocations: 287.8 kB / 0.5026 GB, free: 11.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.1202, allocations: 140.5 kB / 0.5027 GB, free: 11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1203, allocations: 117.8 kB / 0.5028 GB, free: 10.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1203, allocations: 29.7 kB / 0.5029 GB, free: 10.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.1204, allocations: 88.09 kB / 0.503 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.1204, allocations: 19.88 kB / 0.503 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.1205, allocations: 21.72 kB / 0.503 GB, free: 10.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1206, allocations: 322.8 kB / 0.5033 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.1207, allocations: 67.39 kB / 0.5034 GB, free: 10.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.1208, allocations: 113.7 kB / 0.5035 GB, free: 10.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.121, allocations: 184.8 kB / 0.5036 GB, free: 9.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.121, allocations: 11.94 kB / 0.5037 GB, free: 9.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002481/0.1212, allocations: 212.2 kB / 0.5039 GB, free: 9.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.1213, allocations: 63.62 kB / 0.5039 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1213, allocations: 4 kB / 0.5039 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1213, allocations: 4.094 kB / 0.5039 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.1214, allocations: 15.92 kB / 0.5039 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.1214, allocations: 4 kB / 0.5039 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.1214, allocations: 3.938 kB / 0.504 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1214, allocations: 12.02 kB / 0.504 GB, free: 9.559 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.0001594/0.1216, allocations: 181.1 kB / 0.5041 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1217, allocations: 65.62 kB / 0.5042 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.1218, allocations: 16.05 kB / 0.5042 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1218, allocations: 0 / 0.5042 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1218, allocations: 4 kB / 0.5042 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1218, allocations: 0 / 0.5042 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1219, allocations: 125.2 kB / 0.5043 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1219, allocations: 3.938 kB / 0.5043 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1219, allocations: 15.94 kB / 0.5044 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1219, allocations: 0 / 0.5044 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.122, allocations: 4 kB / 0.5044 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.122, allocations: 0 / 0.5044 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.122, allocations: 0 / 0.5044 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1223, allocations: 319.1 kB / 0.5047 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.1223, allocations: 15.88 kB / 0.5047 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1223, allocations: 4 kB / 0.5047 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.1224, allocations: 7.938 kB / 0.5047 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.1224, allocations: 4 kB / 0.5047 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.1224, allocations: 4.141 kB / 0.5047 GB, free: 8.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.1225, allocations: 95.27 kB / 0.5048 GB, free: 8.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1225, allocations: 0 / 0.5048 GB, free: 8.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1228, allocations: 31.88 kB / 0.5048 GB, free: 8.57 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.0006728/0.1234, allocations: 264.9 kB / 0.5051 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.1238, allocations: 281.9 kB / 0.5053 GB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1238, allocations: 4.062 kB / 0.5053 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1239, allocations: 178.2 kB / 0.5055 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1242, allocations: 34.53 kB / 0.5055 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.1246, allocations: 234.5 kB / 0.5058 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.684e-05/0.1247, allocations: 83.17 kB / 0.5059 GB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.1248, allocations: 11.98 kB / 0.5059 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.1248, allocations: 11.5 kB / 0.5059 GB, free: 7.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1248, allocations: 0 / 0.5059 GB, free: 7.41 MB / 382.1 MB Notification: Performance of Templates: time 0.00418/0.129, allocations: 1.352 MB / 0.5072 GB, free: 6.074 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: 5.731806691735983] Failed to read output from testmodel.py, exit status != 0: 0.13720965385437012 0.342807855 0.22275045000000002 Calling exit ...