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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 103 kB / 18.95 MB, free: 3.523 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 192.4 kB / 22.1 MB, free: 384 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 250.7 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06042/0.06042, allocations: 12.18 MB / 318 MB, free: 13.34 MB / 254.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.91 kB / 443.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1034, allocations: 55.16 MB / 498.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003898/0.1073, allocations: 2.28 MB / 0.489 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.1076, allocations: 147.5 kB / 0.4891 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.1077, allocations: 3.938 kB / 0.4891 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1078, allocations: 19.86 kB / 0.4892 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1079, allocations: 19.8 kB / 0.4892 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1082, allocations: 55.39 kB / 0.4892 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1083, allocations: 67.77 kB / 0.4893 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1084, allocations: 19.98 kB / 0.4893 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.1085, allocations: 19.92 kB / 0.4893 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1085, allocations: 27.86 kB / 0.4894 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1086, allocations: 8 kB / 0.4894 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.1087, allocations: 31.97 kB / 0.4894 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.1087, allocations: 11.94 kB / 0.4894 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1087, allocations: 31.8 kB / 0.4894 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1089, allocations: 99.52 kB / 0.4895 GB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1089, allocations: 4 kB / 0.4895 GB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.109, allocations: 0 / 0.4895 GB, free: 11.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.109, allocations: 0 / 0.4895 GB, free: 11.32 MB / 366.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.0004856/0.1094, allocations: 430.5 kB / 0.4899 GB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1095, allocations: 8.031 kB / 0.49 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1095, allocations: 16.84 kB / 0.49 GB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1098, allocations: 188.2 kB / 0.4901 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1098, allocations: 16.3 kB / 0.4902 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1098, allocations: 8.375 kB / 0.4902 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1102, allocations: 168.2 kB / 0.4903 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1102, allocations: 4.125 kB / 0.4903 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1102, allocations: 7.938 kB / 0.4903 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.1102, allocations: 0 / 0.4903 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.1103, allocations: 31.92 kB / 0.4904 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1106, allocations: 285.7 kB / 0.4906 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.1109, allocations: 158.2 kB / 0.4908 GB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.111, allocations: 33.78 kB / 0.4908 GB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.1111, allocations: 89.09 kB / 0.4909 GB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1111, allocations: 42.5 kB / 0.491 GB, free: 9.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1111, allocations: 0 / 0.491 GB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003368/0.1115, allocations: 169 kB / 0.4911 GB, free: 9.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.1115, allocations: 136.5 kB / 0.4912 GB, free: 9.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1117, allocations: 125.7 kB / 0.4914 GB, free: 9.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1117, allocations: 25.7 kB / 0.4914 GB, free: 9.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1117, allocations: 100.2 kB / 0.4915 GB, free: 9.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1118, allocations: 15.91 kB / 0.4915 GB, free: 8.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.1118, allocations: 21.72 kB / 0.4915 GB, free: 8.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1119, allocations: 318.8 kB / 0.4918 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.112, allocations: 12 kB / 0.4918 GB, free: 8.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1121, allocations: 61.94 kB / 0.4919 GB, free: 8.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1122, allocations: 180.7 kB / 0.4921 GB, free: 8.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1122, allocations: 8 kB / 0.4921 GB, free: 8.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002189/0.1124, allocations: 156.9 kB / 0.4922 GB, free: 8.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.1125, allocations: 63.39 kB / 0.4923 GB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1125, allocations: 4 kB / 0.4923 GB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1125, allocations: 0 / 0.4923 GB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.1126, allocations: 12 kB / 0.4923 GB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1126, allocations: 0 / 0.4923 GB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.1126, allocations: 11.89 kB / 0.4923 GB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1126, allocations: 8.219 kB / 0.4923 GB, free: 8.043 MB / 366.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.0001409/0.1128, allocations: 189 kB / 0.4925 GB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1129, allocations: 65.64 kB / 0.4926 GB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.1129, allocations: 7.969 kB / 0.4926 GB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1129, allocations: 4.141 kB / 0.4926 GB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1129, allocations: 4.297 kB / 0.4926 GB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1129, allocations: 3.984 kB / 0.4926 GB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1131, allocations: 177.6 kB / 0.4928 GB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1131, allocations: 4 kB / 0.4928 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.1132, allocations: 16.09 kB / 0.4928 GB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1132, allocations: 3.938 kB / 0.4928 GB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1132, allocations: 4 kB / 0.4928 GB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1132, allocations: 7.875 kB / 0.4928 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1132, allocations: 3.984 kB / 0.4928 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1135, allocations: 267.7 kB / 0.493 GB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1135, allocations: 85.06 kB / 0.4931 GB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1135, allocations: 4 kB / 0.4931 GB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.1136, allocations: 4 kB / 0.4931 GB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.1136, allocations: 8 kB / 0.4931 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1136, allocations: 3.984 kB / 0.4931 GB, free: 7.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.1137, allocations: 91.28 kB / 0.4932 GB, free: 6.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1137, allocations: 0 / 0.4932 GB, free: 6.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1139, allocations: 27.92 kB / 0.4933 GB, free: 6.953 MB / 366.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.0006313/0.1146, allocations: 241 kB / 0.4935 GB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1148, allocations: 178.8 kB / 0.4937 GB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1148, allocations: 0 / 0.4937 GB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.1149, allocations: 118.8 kB / 0.4938 GB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1152, allocations: 35.94 kB / 0.4938 GB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.1156, allocations: 204.7 kB / 0.494 GB, free: 6.156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1159, allocations: 0.6966 MB / 0.4947 GB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.1159, allocations: 15.44 kB / 0.4947 GB, free: 5.418 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1159, allocations: 0 / 0.4947 GB, free: 5.418 MB / 366.1 MB Notification: Performance of Templates: time 0.003399/0.1193, allocations: 1.488 MB / 0.4962 GB, free: 3.926 MB / 366.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]