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.00761/0.00761, allocations: 1.426 MB / 17.68 MB, free: 4.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1123/0.1123, allocations: 22.37 MB / 41.1 MB, free: 0.543 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 110.7 kB / 48.6 MB, free: 2.145 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 200.2 kB / 56.2 MB, free: 6.172 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.362/1.362, allocations: 222.9 MB / 286.5 MB, free: 1.195 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8752/0.8752, allocations: 127.8 MB / 471.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 124.1 kB / 0.5547 GB, free: 42.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1311, allocations: 82.36 MB / 0.6352 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002992/0.1341, allocations: 2.103 MB / 0.6372 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007561/0.1349, allocations: 426.5 kB / 0.6376 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.135, allocations: 0 / 0.6376 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 8.14e-05/0.135, allocations: 15.86 kB / 0.6376 GB, free: 9.391 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.628e-05/0.1351, allocations: 11.88 kB / 0.6376 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.1356, allocations: 132.3 kB / 0.6378 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1357, allocations: 79.83 kB / 0.6378 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.97e-05/0.1358, allocations: 11.98 kB / 0.6379 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.1358, allocations: 35.84 kB / 0.6379 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.1359, allocations: 43.83 kB / 0.6379 GB, free: 9.082 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1359, allocations: 12 kB / 0.6379 GB, free: 9.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1361, allocations: 79.86 kB / 0.638 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.1362, allocations: 23.91 kB / 0.638 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.1362, allocations: 35.8 kB / 0.6381 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1364, allocations: 127.7 kB / 0.6382 GB, free: 8.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1364, allocations: 0 / 0.6382 GB, free: 8.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1364, allocations: 3.938 kB / 0.6382 GB, free: 8.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1364, allocations: 4 kB / 0.6382 GB, free: 8.801 MB / 462.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.0006195/0.1371, allocations: 419.1 kB / 0.6386 GB, free: 8.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1371, allocations: 8.031 kB / 0.6386 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1371, allocations: 8.844 kB / 0.6386 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.1373, allocations: 195.2 kB / 0.6388 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/0.1374, allocations: 30.27 kB / 0.6388 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.1374, allocations: 8.375 kB / 0.6388 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.1377, allocations: 110.7 kB / 0.6389 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1378, allocations: 3.938 kB / 0.639 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1378, allocations: 0 / 0.639 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1378, allocations: 0 / 0.639 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.1381, allocations: 103.8 kB / 0.639 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.1387, allocations: 368.5 kB / 0.6394 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.139, allocations: 106.4 kB / 0.6395 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.1392, allocations: 68.94 kB / 0.6396 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1392, allocations: 4 kB / 0.6396 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.1393, allocations: 30.56 kB / 0.6396 GB, free: 7.199 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1393, allocations: 0 / 0.6396 GB, free: 7.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006566/0.1399, allocations: 217.7 kB / 0.6398 GB, free: 6.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.14, allocations: 55.41 kB / 0.6399 GB, free: 6.914 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.1401, allocations: 121.9 kB / 0.64 GB, free: 6.785 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1401, allocations: 33.58 kB / 0.64 GB, free: 6.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.1401, allocations: 100 kB / 0.6401 GB, free: 6.645 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1402, allocations: 31.62 kB / 0.6401 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.1402, allocations: 25.72 kB / 0.6402 GB, free: 6.582 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1404, allocations: 326.8 kB / 0.6405 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1405, allocations: 59.94 kB / 0.6405 GB, free: 6.195 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1407, allocations: 55.95 kB / 0.6406 GB, free: 6.141 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.1411, allocations: 132.8 kB / 0.6407 GB, free: 6.008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1411, allocations: 0 / 0.6407 GB, free: 6.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004179/0.1415, allocations: 169.4 kB / 0.6409 GB, free: 5.836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1415, allocations: 4 kB / 0.6409 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1415, allocations: 80 / 0.6409 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1416, allocations: 8 kB / 0.6409 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.142, allocations: 63.92 kB / 0.6409 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.142, allocations: 7.922 kB / 0.641 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.825e-05/0.1421, allocations: 19.89 kB / 0.641 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1421, allocations: 8 kB / 0.641 GB, free: 5.727 MB / 462.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 9.729e-05/0.1422, allocations: 127.5 kB / 0.6411 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1423, allocations: 7.906 kB / 0.6411 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.1423, allocations: 8.375 kB / 0.6411 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1423, allocations: 4.281 kB / 0.6411 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1423, allocations: 0 / 0.6411 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1423, allocations: 0 / 0.6411 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1425, allocations: 205.4 kB / 0.6413 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1426, allocations: 0 / 0.6413 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.143, allocations: 67.92 kB / 0.6414 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.143, allocations: 0 / 0.6414 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.143, allocations: 8 kB / 0.6414 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.143, allocations: 0 / 0.6414 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.143, allocations: 0 / 0.6414 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.1437, allocations: 339.2 kB / 0.6417 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.1437, allocations: 85 kB / 0.6418 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1438, allocations: 4.031 kB / 0.6418 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1439, allocations: 11.98 kB / 0.6418 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.144, allocations: 12.05 kB / 0.6418 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.144, allocations: 4 kB / 0.6418 GB, free: 4.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.606e-05/0.144, allocations: 99.2 kB / 0.6419 GB, free: 4.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.144, allocations: 0 / 0.6419 GB, free: 4.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1443, allocations: 32 kB / 0.6419 GB, free: 4.645 MB / 462.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.0001685/0.1445, allocations: 127.2 kB / 0.6421 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.1449, allocations: 135.8 kB / 0.6422 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1449, allocations: 0 / 0.6422 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.1451, allocations: 71.88 kB / 0.6423 GB, free: 4.305 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.1454, allocations: 10.73 kB / 0.6423 GB, free: 4.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.146, allocations: 231.2 kB / 0.6425 GB, free: 4.047 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1463, allocations: 0.6963 MB / 0.6432 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1464, allocations: 11.98 kB / 0.6432 GB, free: 3.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.1464, allocations: 11.44 kB / 0.6432 GB, free: 3.301 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1464, allocations: 4 kB / 0.6432 GB, free: 3.297 MB / 462.1 MB Notification: Performance of Templates: time 0.004225/0.1507, allocations: 1.388 MB / 0.6446 GB, free: 1.926 MB / 462.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 gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1)