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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 113.3 kB / 17.85 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 186.1 kB / 20.79 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 249.2 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05825/0.05825, allocations: 12.17 MB / 316.2 MB, free: 272 kB / 238.1 MB " [Timeout remaining time 180] 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=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.001887/0.001887, allocations: 63.91 kB / 440.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2399, allocations: 55.17 MB / 495.9 MB, free: 24.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.00311/0.243, allocations: 2.25 MB / 498.1 MB, free: 22.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.2432, allocations: 148.3 kB / 498.2 MB, free: 22.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.2433, allocations: 1.438 kB / 498.2 MB, free: 22.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.2435, allocations: 27.64 kB / 498.3 MB, free: 22.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2436, allocations: 9.266 kB / 498.3 MB, free: 22.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.2438, allocations: 51.64 kB / 498.3 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.2439, allocations: 70.17 kB / 498.4 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.244, allocations: 17.92 kB / 498.4 MB, free: 22.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.2441, allocations: 21.39 kB / 498.4 MB, free: 22.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.2441, allocations: 41.53 kB / 498.5 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.2442, allocations: 4.594 kB / 498.5 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.2442, allocations: 30.52 kB / 498.5 MB, free: 22.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.2443, allocations: 15.33 kB / 498.5 MB, free: 22.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.2443, allocations: 25.59 kB / 498.6 MB, free: 22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.2445, allocations: 94.77 kB / 498.6 MB, free: 21.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2445, allocations: 0 / 498.6 MB, free: 21.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2445, allocations: 1.125 kB / 498.7 MB, free: 21.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2445, allocations: 0 / 498.7 MB, free: 21.94 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.0003545/0.2449, allocations: 441.4 kB / 499.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2449, allocations: 9.812 kB / 499.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.2449, allocations: 13.09 kB / 499.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.2451, allocations: 191.5 kB / 499.3 MB, free: 21.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2452, allocations: 7.25 kB / 499.3 MB, free: 21.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2452, allocations: 4.75 kB / 499.3 MB, free: 21.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2454, allocations: 170 kB / 499.5 MB, free: 21.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2455, allocations: 192 / 499.5 MB, free: 21.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2455, allocations: 5.281 kB / 499.5 MB, free: 21.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.2455, allocations: 6.094 kB / 499.5 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.2456, allocations: 27.48 kB / 499.5 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.2458, allocations: 283.8 kB / 499.8 MB, free: 20.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.246, allocations: 155.2 kB / 499.9 MB, free: 20.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.2461, allocations: 39.23 kB / 500 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.617e-05/0.2462, allocations: 89.5 kB / 0.4883 GB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2462, allocations: 31.56 kB / 0.4884 GB, free: 20.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2462, allocations: 4 kB / 0.4884 GB, free: 20.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002929/0.2465, allocations: 173.4 kB / 0.4885 GB, free: 20.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.2465, allocations: 140 kB / 0.4887 GB, free: 20.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.2466, allocations: 119.9 kB / 0.4888 GB, free: 20.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2466, allocations: 27.86 kB / 0.4888 GB, free: 19.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.2466, allocations: 93.91 kB / 0.4889 GB, free: 19.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.2467, allocations: 19.5 kB / 0.4889 GB, free: 19.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.2467, allocations: 25.39 kB / 0.4889 GB, free: 19.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.2467, allocations: 320.8 kB / 0.4893 GB, free: 19.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.2468, allocations: 15.89 kB / 0.4893 GB, free: 19.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.2468, allocations: 53.45 kB / 0.4893 GB, free: 19.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.871e-05/0.2469, allocations: 190.4 kB / 0.4895 GB, free: 19.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2469, allocations: 0 / 0.4895 GB, free: 19.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001778/0.2471, allocations: 158 kB / 0.4897 GB, free: 19.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.2471, allocations: 61.94 kB / 0.4897 GB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.2471, allocations: 1.562 kB / 0.4897 GB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2471, allocations: 3.125 kB / 0.4897 GB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.2472, allocations: 8.281 kB / 0.4897 GB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2472, allocations: 6.156 kB / 0.4897 GB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.2472, allocations: 12.41 kB / 0.4897 GB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2472, allocations: 4.906 kB / 0.4897 GB, free: 19.05 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 6.98e-05/0.2473, allocations: 180.8 kB / 0.4899 GB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.2474, allocations: 64.8 kB / 0.49 GB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.2474, allocations: 17.83 kB / 0.49 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2474, allocations: 0 / 0.49 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2474, allocations: 1.844 kB / 0.49 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2474, allocations: 3.938 kB / 0.49 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2476, allocations: 184.3 kB / 0.4902 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2476, allocations: 1.906 kB / 0.4902 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.2476, allocations: 11.09 kB / 0.4902 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2476, allocations: 3.984 kB / 0.4902 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2476, allocations: 3.625 kB / 0.4902 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2476, allocations: 0 / 0.4902 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2476, allocations: 0 / 0.4902 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.2478, allocations: 268.6 kB / 0.4905 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.2478, allocations: 83.28 kB / 0.4905 GB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2478, allocations: 3.188 kB / 0.4905 GB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.2479, allocations: 5.031 kB / 0.4905 GB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.2479, allocations: 11.14 kB / 0.4906 GB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2479, allocations: 3.156 kB / 0.4906 GB, free: 18.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.248, allocations: 105.4 kB / 0.4907 GB, free: 18.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.248, allocations: 0 / 0.4907 GB, free: 18.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.2482, allocations: 24.34 kB / 0.4907 GB, free: 18.11 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.0005589/0.2488, allocations: 242.3 kB / 0.4909 GB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.249, allocations: 167.1 kB / 0.4911 GB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.249, allocations: 0 / 0.4911 GB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.249, allocations: 116.6 kB / 0.4912 GB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.2493, allocations: 41.03 kB / 0.4912 GB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.2496, allocations: 216.8 kB / 0.4914 GB, free: 17.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.2498, allocations: 0.6914 MB / 0.4921 GB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.2498, allocations: 10.5 kB / 0.4921 GB, free: 16.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2498, allocations: 0 / 0.4921 GB, free: 16.75 MB / 366.1 MB Notification: Performance of Templates: time 0.002881/0.2527, allocations: 1.496 MB / 0.4936 GB, free: 15.97 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] [Calling sys.exit(0), Time elapsed: 7.768486111192033] Failed to read output from testmodel.py, exit status != 0: 0.260097875026986 0.26983538100000004 0.023118368 Calling exit ...