Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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 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) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.00157, allocations: 172.9 kB / 16.12 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.3 MB / 240.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 98.72 kB / 291.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9668/0.9668, allocations: 122.9 MB / 465.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.1187/0.1187, allocations: 20.31 MB / 0.549 GB, free: 19.35 MB / 378.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005502/0.0005502, allocations: 24 kB / 0.6406 GB, free: 5.82 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5188, allocations: 81.83 MB / 0.7205 GB, free: 40.23 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.6871, allocations: 118.7 MB / 0.8365 GB, free: 7.035 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.6875, allocations: 92.42 kB / 0.8366 GB, free: 6.945 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01874/0.7063, allocations: 6.451 MB / 0.8429 GB, free: 0.4961 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7063, allocations: 0 / 0.8429 GB, free: 0.4961 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.7063, allocations: 3.984 kB / 0.8429 GB, free: 0.4922 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007484/0.7071, allocations: 435.1 kB / 0.8433 GB, free: 16 kB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.7071, allocations: 8.031 kB / 0.8433 GB, free: 8 kB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.7072, allocations: 16.91 kB / 0.8433 GB, free: 15.99 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.7075, allocations: 198.5 kB / 0.8435 GB, free: 15.76 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.7076, allocations: 34.27 kB / 0.8435 GB, free: 15.72 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.7077, allocations: 8.375 kB / 0.8435 GB, free: 15.71 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.708, allocations: 114.1 kB / 0.8436 GB, free: 15.59 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.708, allocations: 7.938 kB / 0.8437 GB, free: 15.59 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.708, allocations: 7.938 kB / 0.8437 GB, free: 15.58 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.7081, allocations: 0 / 0.8437 GB, free: 15.58 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.7083, allocations: 97.33 kB / 0.8438 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008235/0.7092, allocations: 404.5 kB / 0.8441 GB, free: 15.04 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.7094, allocations: 126.6 kB / 0.8443 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.7096, allocations: 68.86 kB / 0.8443 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.7097, allocations: 0 / 0.8443 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.7097, allocations: 38.56 kB / 0.8444 GB, free: 14.79 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.7097, allocations: 0 / 0.8444 GB, free: 14.79 MB / 0.5574 GB Notification: Performance of matching and sorting (n=12): time 0.0005826/0.7103, allocations: 220.2 kB / 0.8446 GB, free: 14.57 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.7104, allocations: 59.41 kB / 0.8446 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.7105, allocations: 128.5 kB / 0.8447 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.7105, allocations: 29.7 kB / 0.8448 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.7106, allocations: 100.3 kB / 0.8449 GB, free: 14.23 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.7107, allocations: 35.59 kB / 0.8449 GB, free: 14.19 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.7107, allocations: 5.125 kB / 0.8449 GB, free: 14.19 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7108, allocations: 326.8 kB / 0.8452 GB, free: 13.86 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.711, allocations: 59.89 kB / 0.8453 GB, free: 13.8 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.7111, allocations: 59.97 kB / 0.8453 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.7114, allocations: 136.7 kB / 0.8455 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7114, allocations: 0 / 0.8455 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003616/0.7118, allocations: 191.1 kB / 0.8457 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.7118, allocations: 4.625 kB / 0.8457 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.7118, allocations: 0 / 0.8457 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.7119, allocations: 0 / 0.8457 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.7123, allocations: 83.94 kB / 0.8457 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.7123, allocations: 0 / 0.8457 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.7124, allocations: 25.14 kB / 0.8458 GB, free: 13.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.7124, allocations: 4 kB / 0.8458 GB, free: 13.3 MB / 0.5574 GB 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.7126, allocations: 130.4 kB / 0.8459 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.7126, allocations: 11.81 kB / 0.8459 GB, free: 13.15 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.7131, allocations: 194.2 kB / 0.8461 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.7131, allocations: 0 / 0.8461 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7131, allocations: 11.94 kB / 0.8461 GB, free: 12.94 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7131, allocations: 0 / 0.8461 GB, free: 12.94 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007004/0.7138, allocations: 0.4951 MB / 0.8466 GB, free: 12.39 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.7138, allocations: 0 / 0.8466 GB, free: 12.39 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.7143, allocations: 87.91 kB / 0.8467 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.7143, allocations: 11.92 kB / 0.8467 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.7143, allocations: 4 kB / 0.8467 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7143, allocations: 1.312 kB / 0.8467 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7144, allocations: 7.938 kB / 0.8467 GB, free: 12.28 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.715, allocations: 362 kB / 0.847 GB, free: 11.91 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.715, allocations: 88.95 kB / 0.8471 GB, free: 11.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.7151, allocations: 8 kB / 0.8471 GB, free: 11.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7152, allocations: 12.03 kB / 0.8471 GB, free: 11.79 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.7152, allocations: 15.92 kB / 0.8472 GB, free: 11.77 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.7153, allocations: 8 kB / 0.8472 GB, free: 11.76 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 6.402e-05/0.7153, allocations: 101.6 kB / 0.8473 GB, free: 11.66 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7153, allocations: 0 / 0.8473 GB, free: 11.66 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003351/0.7157, allocations: 51.84 kB / 0.8473 GB, free: 11.61 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (noise.y_,noise.y,slidingMean.integral) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004899/0.7162, allocations: 182.8 kB / 0.8475 GB, free: 11.45 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.7165, allocations: 147.9 kB / 0.8476 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7166, allocations: 0 / 0.8476 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.7168, allocations: 83.89 kB / 0.8477 GB, free: 11.23 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.717, allocations: 8.719 kB / 0.8477 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.7182, allocations: 480 kB / 0.8482 GB, free: 10.72 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.7186, allocations: 0.7043 MB / 0.8489 GB, free: 9.988 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.7187, allocations: 24.53 kB / 0.8489 GB, free: 9.965 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.7188, allocations: 19.44 kB / 0.8489 GB, free: 9.945 MB / 0.5574 GB Notification: Performance of SimCode: time 2.3e-07/0.7188, allocations: 0 / 0.8489 GB, free: 9.945 MB / 0.5574 GB Notification: Performance of Templates: time 0.004571/0.7234, allocations: 1.471 MB / 0.8503 GB, free: 8.504 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe 2>&1)