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.00149/0.00149, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.002178/0.002178, allocations: 202.8 kB / 23.77 MB, free: 4.508 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.505/1.505, allocations: 230.6 MB / 257.6 MB, free: 7.742 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.06201/0.06201, allocations: 12.23 MB / 326.2 MB, free: 7.109 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.002105/0.002105, allocations: 63.91 kB / 454.5 MB, free: 8.336 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.137, allocations: 56.39 MB / 0.4989 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.004514/0.1415, allocations: 2.351 MB / 0.5012 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003646/0.1419, allocations: 155.5 kB / 0.5014 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.1419, allocations: 3.938 kB / 0.5014 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1421, allocations: 15.86 kB / 0.5014 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1422, allocations: 19.86 kB / 0.5014 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1425, allocations: 46.77 kB / 0.5015 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1427, allocations: 67.78 kB / 0.5015 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1428, allocations: 15.98 kB / 0.5016 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.1428, allocations: 27.91 kB / 0.5016 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.1429, allocations: 23.86 kB / 0.5016 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1429, allocations: 15.94 kB / 0.5016 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.143, allocations: 27.98 kB / 0.5016 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.143, allocations: 15.92 kB / 0.5017 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.1431, allocations: 27.86 kB / 0.5017 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1433, allocations: 87.59 kB / 0.5018 GB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1433, allocations: 0 / 0.5018 GB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1433, allocations: 4 kB / 0.5018 GB, free: 12.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1433, allocations: 0 / 0.5018 GB, free: 12.95 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.0004989/0.1438, allocations: 357.4 kB / 0.5021 GB, free: 12.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1439, allocations: 8.031 kB / 0.5021 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.1439, allocations: 8.891 kB / 0.5021 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1442, allocations: 150.3 kB / 0.5023 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1442, allocations: 4.375 kB / 0.5023 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1443, allocations: 8.375 kB / 0.5023 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.1447, allocations: 212.9 kB / 0.5025 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1447, allocations: 4.188 kB / 0.5025 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1447, allocations: 3.938 kB / 0.5025 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.1447, allocations: 4 kB / 0.5025 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1448, allocations: 91.33 kB / 0.5026 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1452, allocations: 221.4 kB / 0.5028 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1454, allocations: 144.5 kB / 0.5029 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1455, allocations: 93.19 kB / 0.503 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-05/0.1456, allocations: 8 kB / 0.503 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1457, allocations: 30.56 kB / 0.5031 GB, free: 11.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1457, allocations: 0 / 0.5031 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004241/0.1461, allocations: 283.8 kB / 0.5033 GB, free: 11.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.1462, allocations: 140.8 kB / 0.5035 GB, free: 10.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1463, allocations: 125.8 kB / 0.5036 GB, free: 10.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1463, allocations: 25.7 kB / 0.5036 GB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.1464, allocations: 96.08 kB / 0.5037 GB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.1464, allocations: 7.953 kB / 0.5037 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.1464, allocations: 21.72 kB / 0.5037 GB, free: 10.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1466, allocations: 322.8 kB / 0.504 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.1467, allocations: 67.39 kB / 0.5041 GB, free: 10.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1468, allocations: 121.4 kB / 0.5042 GB, free: 10.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.147, allocations: 184.7 kB / 0.5044 GB, free: 9.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.147, allocations: 4 kB / 0.5044 GB, free: 9.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002527/0.1472, allocations: 216.2 kB / 0.5046 GB, free: 9.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.1473, allocations: 59.41 kB / 0.5047 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.1473, allocations: 0 / 0.5047 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1473, allocations: 4.219 kB / 0.5047 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.1473, allocations: 19.92 kB / 0.5047 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1473, allocations: 7.938 kB / 0.5047 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.1474, allocations: 7.938 kB / 0.5047 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1474, allocations: 4 kB / 0.5047 GB, free: 9.5 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.0001453/0.1475, allocations: 185.1 kB / 0.5049 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1476, allocations: 61.64 kB / 0.5049 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.1477, allocations: 12.06 kB / 0.5049 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1477, allocations: 0 / 0.5049 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1477, allocations: 0 / 0.5049 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1477, allocations: 4.094 kB / 0.505 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1478, allocations: 133.2 kB / 0.5051 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1478, allocations: 3.938 kB / 0.5051 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.1479, allocations: 11.94 kB / 0.5051 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1479, allocations: 0 / 0.5051 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1479, allocations: 4 kB / 0.5051 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1479, allocations: 0 / 0.5051 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1479, allocations: 0 / 0.5051 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.1482, allocations: 323.1 kB / 0.5054 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.1482, allocations: 11.88 kB / 0.5054 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1483, allocations: 0 / 0.5054 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.1483, allocations: 4 kB / 0.5054 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.1483, allocations: 8 kB / 0.5054 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1484, allocations: 12.05 kB / 0.5054 GB, free: 8.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.1484, allocations: 95.22 kB / 0.5055 GB, free: 8.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1484, allocations: 0 / 0.5055 GB, free: 8.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1487, allocations: 27.94 kB / 0.5056 GB, free: 8.512 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.0007186/0.1494, allocations: 259.8 kB / 0.5058 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.1498, allocations: 281.5 kB / 0.5061 GB, free: 8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1498, allocations: 0 / 0.5061 GB, free: 8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.15, allocations: 178.6 kB / 0.5062 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1503, allocations: 39.91 kB / 0.5063 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.1509, allocations: 264.2 kB / 0.5065 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.151, allocations: 79.19 kB / 0.5066 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1511, allocations: 11.44 kB / 0.5066 GB, free: 7.332 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1511, allocations: 0 / 0.5066 GB, free: 7.332 MB / 382.1 MB Notification: Performance of Templates: time 0.005149/0.1562, allocations: 1.496 MB / 0.5081 GB, free: 5.836 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.662558492273092] Failed to read output from testmodel.py, exit status != 0: 0.16568669583648443 0.365973047 0.22019818400000002 Calling exit ...