Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram.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.Visualisation.Check.TestDynamicDiagram,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram") translateModel(ClaRa.Visualisation.Check.TestDynamicDiagram,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 173.8 kB / 16.11 MB, free: 5.699 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.54/1.54, allocations: 223.3 MB / 240.1 MB, free: 9.961 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.000931/0.0009312, allocations: 97.81 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9882/0.9882, allocations: 122.9 MB / 465.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.0877/0.0877, allocations: 20.29 MB / 0.549 GB, free: 19.27 MB / 378.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005651/0.0005653, allocations: 16 kB / 0.6406 GB, free: 5.855 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.536, allocations: 81.84 MB / 0.7205 GB, free: 39.84 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.7252, allocations: 117.5 MB / 0.8352 GB, free: 8.309 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.7255, allocations: 79.95 kB / 0.8353 GB, free: 8.23 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.02703/0.7525, allocations: 7.848 MB / 0.843 GB, free: 404 kB / 0.5418 GB Notification: Performance of FrontEnd: time 4.218e-06/0.7526, allocations: 0 / 0.843 GB, free: 404 kB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.7526, allocations: 12 kB / 0.843 GB, free: 392 kB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004591/0.7572, allocations: 1.5 MB / 0.8445 GB, free: 14.82 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.7573, allocations: 8.031 kB / 0.8445 GB, free: 14.82 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.7574, allocations: 44.47 kB / 0.8445 GB, free: 14.77 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.7586, allocations: 447.5 kB / 0.8449 GB, free: 14.3 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.7587, allocations: 20.64 kB / 0.845 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.7588, allocations: 25.75 kB / 0.845 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.7604, allocations: 0.7941 MB / 0.8458 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.7605, allocations: 8.125 kB / 0.8458 GB, free: 13.44 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.7605, allocations: 15.92 kB / 0.8458 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.01e-05/0.7606, allocations: 64.97 kB / 0.8458 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.762, allocations: 0.5933 MB / 0.8464 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.7634, allocations: 0.9344 MB / 0.8473 GB, free: 11.77 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.7657, allocations: 0.9717 MB / 0.8483 GB, free: 10.79 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.7669, allocations: 493.8 kB / 0.8487 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.7669, allocations: 4.234 kB / 0.8488 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002298/0.7692, allocations: 0.8874 MB / 0.8496 GB, free: 9.383 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=55): time 3.125e-06/0.7693, allocations: 0 / 0.8496 GB, free: 9.383 MB / 0.5574 GB Notification: Performance of matching and sorting (n=55): time 0.00471/0.774, allocations: 1.791 MB / 0.8514 GB, free: 7.59 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.7741, allocations: 135.2 kB / 0.8515 GB, free: 7.434 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.7745, allocations: 331.1 kB / 0.8518 GB, free: 7.098 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.7746, allocations: 59.97 kB / 0.8519 GB, free: 7.035 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.7748, allocations: 243.8 kB / 0.8521 GB, free: 6.793 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.7749, allocations: 134.4 kB / 0.8522 GB, free: 6.66 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.775, allocations: 12 kB / 0.8522 GB, free: 6.648 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.7752, allocations: 358.8 kB / 0.8526 GB, free: 6.289 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.7755, allocations: 149.6 kB / 0.8527 GB, free: 6.145 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/0.7761, allocations: 0.6458 MB / 0.8534 GB, free: 5.25 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.7776, allocations: 1.151 MB / 0.8545 GB, free: 3.852 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.7776, allocations: 8 kB / 0.8545 GB, free: 3.844 MB / 0.5574 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001453/0.7791, allocations: 0.9227 MB / 0.8554 GB, free: 2.914 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.7791, allocations: 12 kB / 0.8554 GB, free: 2.902 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.7792, allocations: 16 kB / 0.8554 GB, free: 2.887 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.925e-05/0.7792, allocations: 27.94 kB / 0.8554 GB, free: 2.859 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.7796, allocations: 144.2 kB / 0.8556 GB, free: 2.719 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.285e-05/0.7796, allocations: 35.86 kB / 0.8556 GB, free: 2.684 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.7802, allocations: 103.3 kB / 0.8557 GB, free: 2.582 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.7803, allocations: 48 kB / 0.8558 GB, free: 2.535 MB / 0.5574 GB Warning: Assuming fixed start value for the following 26 variables: scope.y[26]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[25]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[24]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[23]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[22]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[21]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[20]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[19]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[18]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[17]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[16]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[15]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[14]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[13]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[12]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[11]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[10]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[9]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[8]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[7]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[6]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[5]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[4]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[3]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[2]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] scope.y[1]:DISCRETE(fixed = true protected = true ) "y-positions of line points" type: Real [26] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 78 ($PRE.scope.y[26],scope.y[26],$PRE.scope.y[25],scope.y[25],$PRE.scope.y[24],scope.y[24],$PRE.scope.y[23],scope.y[23],$PRE.scope.y[22],scope.y[22],$PRE.scope.y[21],scope.y[21],$PRE.scope.y[20],scope.y[20],$PRE.scope.y[19],scope.y[19],$PRE.scope.y[18],scope.y[18],$PRE.scope.y[17],scope.y[17],$PRE.scope.y[16],scope.y[16],$PRE.scope.y[15],scope.y[15],$PRE.scope.y[14],scope.y[14],$PRE.scope.y[13],scope.y[13],$PRE.scope.y[12],scope.y[12],$PRE.scope.y[11],scope.y[11],$PRE.scope.y[10],scope.y[10],$PRE.scope.y[9],scope.y[9],$PRE.scope.y[8],scope.y[8],$PRE.scope.y[7],scope.y[7],$PRE.scope.y[6],scope.y[6],$PRE.scope.y[5],scope.y[5],$PRE.scope.y[4],scope.y[4],$PRE.scope.y[3],scope.y[3],$PRE.scope.y[2],scope.y[2],$PRE.scope.y[1],scope.y[1],$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0006561/0.781, allocations: 377.5 kB / 0.8561 GB, free: 2.168 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.7811, allocations: 43.52 kB / 0.8562 GB, free: 2.125 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.7812, allocations: 59.73 kB / 0.8562 GB, free: 2.062 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.7812, allocations: 7.938 kB / 0.8562 GB, free: 2.055 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.7812, allocations: 0 / 0.8562 GB, free: 2.055 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7813, allocations: 4 kB / 0.8562 GB, free: 2.051 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.7817, allocations: 429.5 kB / 0.8566 GB, free: 1.582 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7817, allocations: 0 / 0.8566 GB, free: 1.582 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.7819, allocations: 29.31 kB / 0.8567 GB, free: 1.555 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7819, allocations: 4 kB / 0.8567 GB, free: 1.551 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.782, allocations: 15.98 kB / 0.8567 GB, free: 1.535 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.413e-06/0.782, allocations: 3.938 kB / 0.8567 GB, free: 1.531 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.782, allocations: 4 kB / 0.8567 GB, free: 1.527 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/0.7868, allocations: 1.883 MB / 0.8585 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.7869, allocations: 116.6 kB / 0.8586 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.7869, allocations: 8 kB / 0.8587 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007758/0.7877, allocations: 215.8 kB / 0.8589 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/0.7881, allocations: 148.2 kB / 0.859 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.7881, allocations: 23.98 kB / 0.859 GB, free: 15.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000365/0.7885, allocations: 221.9 kB / 0.8592 GB, free: 14.88 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7885, allocations: 0 / 0.8592 GB, free: 14.88 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007692/0.7893, allocations: 123.8 kB / 0.8594 GB, free: 14.76 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (scope.u_in) * Number of discrete variables: 52 ($whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,scope.y[1],scope.y[2],scope.y[3],scope.y[4],scope.y[5],scope.y[6],scope.y[7],scope.y[8],scope.y[9],scope.y[10],scope.y[11],scope.y[12],scope.y[13],scope.y[14],scope.y[15],scope.y[16],scope.y[17],scope.y[18],scope.y[19],scope.y[20],scope.y[21],scope.y[22],scope.y[23],scope.y[24],scope.y[25],scope.y[26]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * 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.0002362/0.7896, allocations: 132.9 kB / 0.8595 GB, free: 14.62 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002054/0.7916, allocations: 0.9359 MB / 0.8604 GB, free: 13.69 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7916, allocations: 0 / 0.8604 GB, free: 13.69 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.793, allocations: 0.5768 MB / 0.861 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.7934, allocations: 64.33 kB / 0.861 GB, free: 13.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.7957, allocations: 1.05 MB / 0.862 GB, free: 11.98 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.7962, allocations: 0.8425 MB / 0.8629 GB, free: 11.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004781/0.7967, allocations: 164.5 kB / 0.863 GB, free: 10.94 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.7968, allocations: 51.41 kB / 0.8631 GB, free: 10.89 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/0.7968, allocations: 0 / 0.8631 GB, free: 10.89 MB / 0.573 GB Notification: Performance of Templates: time 0.01105/0.8079, allocations: 6.295 MB / 0.8692 GB, free: 4.633 MB / 0.573 GB make -j1 -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram.makefile (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram.sim & ./ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicDiagram.pipe 2>&1)