Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.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.testTableGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002219/0.00222, allocations: 172.1 kB / 16.11 MB, free: 5.578 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.591/1.591, allocations: 223.3 MB / 240.1 MB, free: 9.941 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.0008371/0.0008376, allocations: 102.9 kB / 291.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9937/0.9937, allocations: 122.9 MB / 465.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.1077/0.1077, allocations: 20.29 MB / 0.549 GB, free: 19.25 MB / 378.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0007672/0.0007672, allocations: 31.94 kB / 0.6406 GB, free: 5.812 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5103, allocations: 81.84 MB / 0.7205 GB, free: 40.02 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.7028, allocations: 120.4 MB / 0.8381 GB, free: 5.32 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.7032, allocations: 91.92 kB / 0.8382 GB, free: 5.23 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01064/0.7138, allocations: 4.02 MB / 0.8422 GB, free: 1.223 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7139, allocations: 2.531 kB / 0.8422 GB, free: 1.223 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.7139, allocations: 0 / 0.8422 GB, free: 1.223 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007445/0.7147, allocations: 478.6 kB / 0.8426 GB, free: 0.7031 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.7147, allocations: 12.59 kB / 0.8426 GB, free: 0.6914 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.7148, allocations: 17.44 kB / 0.8426 GB, free: 0.6758 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.7151, allocations: 256.9 kB / 0.8429 GB, free: 392 kB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.7152, allocations: 6.812 kB / 0.8429 GB, free: 388 kB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.7152, allocations: 4.375 kB / 0.8429 GB, free: 384 kB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.7155, allocations: 99.73 kB / 0.843 GB, free: 280 kB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7155, allocations: 4.656 kB / 0.843 GB, free: 280 kB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.7155, allocations: 7.938 kB / 0.843 GB, free: 272 kB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.7155, allocations: 7.938 kB / 0.843 GB, free: 264 kB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.7157, allocations: 87.92 kB / 0.8431 GB, free: 176 kB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.7164, allocations: 396.4 kB / 0.8435 GB, free: 15.74 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.7167, allocations: 106.5 kB / 0.8436 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.7168, allocations: 52.95 kB / 0.8436 GB, free: 15.57 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.7169, allocations: 7.984 kB / 0.8436 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.7169, allocations: 30.56 kB / 0.8437 GB, free: 15.52 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.7169, allocations: 0 / 0.8437 GB, free: 15.52 MB / 0.5574 GB Notification: Performance of matching and sorting (n=6): time 0.0005372/0.7174, allocations: 221.3 kB / 0.8439 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7175, allocations: 51.41 kB / 0.8439 GB, free: 15.24 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.7178, allocations: 269.8 kB / 0.8442 GB, free: 14.97 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.7178, allocations: 25.7 kB / 0.8442 GB, free: 14.94 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.7179, allocations: 124.1 kB / 0.8443 GB, free: 14.81 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.7179, allocations: 23.7 kB / 0.8443 GB, free: 14.79 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.7179, allocations: 0 / 0.8443 GB, free: 14.79 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7181, allocations: 330.8 kB / 0.8447 GB, free: 14.46 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.7182, allocations: 43.97 kB / 0.8447 GB, free: 14.41 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.7183, allocations: 59.95 kB / 0.8448 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.7186, allocations: 108.7 kB / 0.8449 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7186, allocations: 0 / 0.8449 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003022/0.7189, allocations: 154.8 kB / 0.845 GB, free: 14.09 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7189, allocations: 8 kB / 0.845 GB, free: 14.08 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7189, allocations: 0 / 0.845 GB, free: 14.08 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.719, allocations: 0 / 0.845 GB, free: 14.08 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.7191, allocations: 23.98 kB / 0.845 GB, free: 14.06 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7191, allocations: 112 / 0.845 GB, free: 14.06 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.7191, allocations: 12.36 kB / 0.8451 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.7192, allocations: 4 kB / 0.8451 GB, free: 14.04 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: 1 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001236/0.7193, allocations: 138.4 kB / 0.8452 GB, free: 13.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.7194, allocations: 23.81 kB / 0.8452 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.7197, allocations: 183.2 kB / 0.8454 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.7198, allocations: 0 / 0.8454 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7198, allocations: 0 / 0.8454 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7198, allocations: 4 kB / 0.8454 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.72, allocations: 241.3 kB / 0.8456 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.7201, allocations: 2.531 kB / 0.8456 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/0.7201, allocations: 19.98 kB / 0.8456 GB, free: 13.38 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7201, allocations: 0 / 0.8456 GB, free: 13.38 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.7202, allocations: 8 kB / 0.8456 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7202, allocations: 0 / 0.8456 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7202, allocations: 0 / 0.8456 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.7206, allocations: 271.2 kB / 0.8459 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.7207, allocations: 96.92 kB / 0.846 GB, free: 12.97 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.7207, allocations: 3.984 kB / 0.846 GB, free: 12.97 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.7208, allocations: 8 kB / 0.846 GB, free: 12.96 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.7209, allocations: 7.969 kB / 0.846 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.7209, allocations: 4 kB / 0.846 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001924/0.7211, allocations: 196.5 kB / 0.8462 GB, free: 12.76 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7211, allocations: 4 kB / 0.8462 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002565/0.7214, allocations: 28 kB / 0.8462 GB, free: 12.73 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001039/0.7224, allocations: 396.1 kB / 0.8466 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.7227, allocations: 107.8 kB / 0.8467 GB, free: 12.41 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.7227, allocations: 4 kB / 0.8467 GB, free: 12.41 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.7229, allocations: 51.97 kB / 0.8468 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.7232, allocations: 26.77 kB / 0.8468 GB, free: 12.33 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.7239, allocations: 342.2 kB / 0.8471 GB, free: 11.97 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.7243, allocations: 0.7317 MB / 0.8478 GB, free: 11.21 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.7244, allocations: 32.78 kB / 0.8479 GB, free: 11.17 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.7244, allocations: 15.44 kB / 0.8479 GB, free: 11.16 MB / 0.5574 GB Notification: Performance of SimCode: time 2.31e-07/0.7244, allocations: 3.938 kB / 0.8479 GB, free: 11.15 MB / 0.5574 GB Notification: Performance of Templates: time 0.005253/0.7297, allocations: 1.77 MB / 0.8496 GB, free: 9.406 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1)