Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.0072/0.0072, allocations: 1.433 MB / 17.68 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1059/0.1059, allocations: 22.37 MB / 41.11 MB, free: 7.531 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 112 kB / 48.6 MB, free: 8 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 188.3 kB / 56.2 MB, free: 9.43 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 286.5 MB, free: 14 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8468/0.8468, allocations: 127.8 MB / 471.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 135.8 kB / 0.5547 GB, free: 16.32 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1566, allocations: 82.34 MB / 0.6351 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002988/0.1596, allocations: 2.118 MB / 0.6372 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.1604, allocations: 422.6 kB / 0.6376 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.1604, allocations: 4 kB / 0.6376 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.1605, allocations: 7.875 kB / 0.6376 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.1606, allocations: 11.88 kB / 0.6376 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.1611, allocations: 131.7 kB / 0.6378 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1613, allocations: 87.69 kB / 0.6378 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.1614, allocations: 19.94 kB / 0.6379 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.742e-05/0.1614, allocations: 31.91 kB / 0.6379 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.1615, allocations: 43.83 kB / 0.6379 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1615, allocations: 8 kB / 0.6379 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1617, allocations: 75.92 kB / 0.638 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.1618, allocations: 23.91 kB / 0.638 GB, free: 11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1618, allocations: 43.72 kB / 0.6381 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.162, allocations: 131.6 kB / 0.6382 GB, free: 10.83 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.162, allocations: 0 / 0.6382 GB, free: 10.83 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.162, allocations: 0 / 0.6382 GB, free: 10.83 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.162, allocations: 0 / 0.6382 GB, free: 10.83 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000633/0.1627, allocations: 415.2 kB / 0.6386 GB, free: 10.38 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1627, allocations: 16.02 kB / 0.6386 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1628, allocations: 8.844 kB / 0.6386 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.1629, allocations: 188.2 kB / 0.6388 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.163, allocations: 34.25 kB / 0.6388 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.163, allocations: 12.31 kB / 0.6389 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1633, allocations: 106.2 kB / 0.639 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1634, allocations: 7.922 kB / 0.639 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1634, allocations: 0 / 0.639 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1634, allocations: 4 kB / 0.639 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.1638, allocations: 103.9 kB / 0.6391 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.1643, allocations: 364.4 kB / 0.6394 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1646, allocations: 102.5 kB / 0.6395 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.1648, allocations: 68.94 kB / 0.6396 GB, free: 9.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1648, allocations: 3.984 kB / 0.6396 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1649, allocations: 34.56 kB / 0.6396 GB, free: 9.223 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1649, allocations: 0 / 0.6396 GB, free: 9.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006623/0.1655, allocations: 221.4 kB / 0.6398 GB, free: 9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1656, allocations: 51.41 kB / 0.6399 GB, free: 8.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1657, allocations: 129.8 kB / 0.64 GB, free: 8.801 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1657, allocations: 29.7 kB / 0.64 GB, free: 8.766 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.1658, allocations: 96.05 kB / 0.6401 GB, free: 8.668 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1658, allocations: 31.55 kB / 0.6401 GB, free: 8.637 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.1659, allocations: 25.7 kB / 0.6402 GB, free: 8.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.166, allocations: 322.8 kB / 0.6405 GB, free: 8.281 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.1662, allocations: 59.94 kB / 0.6405 GB, free: 8.223 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.1664, allocations: 55.95 kB / 0.6406 GB, free: 8.168 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1667, allocations: 132.7 kB / 0.6407 GB, free: 8.035 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1667, allocations: 0 / 0.6407 GB, free: 8.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004295/0.1672, allocations: 177.4 kB / 0.6409 GB, free: 7.855 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1672, allocations: 8 kB / 0.6409 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1672, allocations: 0 / 0.6409 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1672, allocations: 288 / 0.6409 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.1676, allocations: 67.92 kB / 0.641 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1676, allocations: 4 kB / 0.641 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1678, allocations: 23.91 kB / 0.641 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1678, allocations: 0 / 0.641 GB, free: 7.754 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.823e-05/0.1679, allocations: 117.8 kB / 0.6411 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1679, allocations: 7.906 kB / 0.6411 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.168, allocations: 12.38 kB / 0.6411 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.168, allocations: 4 kB / 0.6411 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.168, allocations: 3.984 kB / 0.6411 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.168, allocations: 0 / 0.6411 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1682, allocations: 205.5 kB / 0.6413 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1682, allocations: 112 / 0.6413 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.1687, allocations: 71.8 kB / 0.6414 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1687, allocations: 0 / 0.6414 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1687, allocations: 8 kB / 0.6414 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1687, allocations: 0 / 0.6414 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1687, allocations: 4 kB / 0.6414 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.1694, allocations: 331.2 kB / 0.6417 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.1694, allocations: 85.05 kB / 0.6418 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1695, allocations: 0 / 0.6418 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1696, allocations: 11.98 kB / 0.6418 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1696, allocations: 11.98 kB / 0.6418 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1697, allocations: 4 kB / 0.6418 GB, free: 6.805 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.1697, allocations: 102.6 kB / 0.6419 GB, free: 6.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1697, allocations: 0 / 0.6419 GB, free: 6.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.17, allocations: 36.05 kB / 0.642 GB, free: 6.672 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001813/0.1702, allocations: 123.2 kB / 0.6421 GB, free: 6.539 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.1706, allocations: 132.3 kB / 0.6422 GB, free: 6.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1707, allocations: 0 / 0.6422 GB, free: 6.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.1709, allocations: 71.89 kB / 0.6423 GB, free: 6.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1711, allocations: 10.02 kB / 0.6423 GB, free: 6.332 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.1716, allocations: 227.2 kB / 0.6425 GB, free: 6.082 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1719, allocations: 0.6924 MB / 0.6432 GB, free: 5.363 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.1719, allocations: 19.98 kB / 0.6432 GB, free: 5.344 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.172, allocations: 15.42 kB / 0.6432 GB, free: 5.332 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.172, allocations: 0 / 0.6432 GB, free: 5.332 MB / 478.1 MB Notification: Performance of Templates: time 0.003728/0.1757, allocations: 1.382 MB / 0.6446 GB, free: 3.961 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1)