Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.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.TestMinMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001613, allocations: 173.1 kB / 16.11 MB, free: 5.695 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.523/1.523, allocations: 223.3 MB / 240.1 MB, free: 11.69 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.0008099/0.0008101, allocations: 103.3 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.008/1.008, allocations: 122.9 MB / 465.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.1391/0.1391, allocations: 20.3 MB / 0.549 GB, free: 19.38 MB / 378.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006178/0.0006181, allocations: 16 kB / 0.6406 GB, free: 5.824 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6336/0.6343, allocations: 81.84 MB / 0.7205 GB, free: 39.93 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.8284, allocations: 118.1 MB / 0.8358 GB, free: 7.688 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.8288, allocations: 95.91 kB / 0.8359 GB, free: 7.594 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.004944/0.8337, allocations: 1.525 MB / 0.8374 GB, free: 6.082 MB / 0.5418 GB Notification: Performance of FrontEnd: time 3.907e-06/0.8338, allocations: 0 / 0.8374 GB, free: 6.082 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.8338, allocations: 0 / 0.8374 GB, free: 6.082 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006633/0.8345, allocations: 407.2 kB / 0.8378 GB, free: 5.633 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.8345, allocations: 12.03 kB / 0.8378 GB, free: 5.621 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.8346, allocations: 8.844 kB / 0.8378 GB, free: 5.613 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.8348, allocations: 194.7 kB / 0.838 GB, free: 5.387 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.8349, allocations: 8.312 kB / 0.838 GB, free: 5.379 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.8349, allocations: 4.375 kB / 0.838 GB, free: 5.375 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.8353, allocations: 106.2 kB / 0.8381 GB, free: 5.266 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.8353, allocations: 192 / 0.8381 GB, free: 5.266 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.8353, allocations: 7.938 kB / 0.8381 GB, free: 5.258 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.8353, allocations: 7.938 kB / 0.8381 GB, free: 5.25 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.8357, allocations: 95.92 kB / 0.8382 GB, free: 5.156 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/0.8364, allocations: 344.6 kB / 0.8386 GB, free: 4.77 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.837, allocations: 202.5 kB / 0.8388 GB, free: 4.562 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.8372, allocations: 60.81 kB / 0.8388 GB, free: 4.5 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.8373, allocations: 8.031 kB / 0.8388 GB, free: 4.492 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.8373, allocations: 38.56 kB / 0.8389 GB, free: 4.445 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.8373, allocations: 0 / 0.8389 GB, free: 4.445 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0006664/0.838, allocations: 213.5 kB / 0.8391 GB, free: 4.23 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.838, allocations: 51.41 kB / 0.8391 GB, free: 4.168 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.8382, allocations: 134.1 kB / 0.8392 GB, free: 4.023 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.8382, allocations: 25.7 kB / 0.8393 GB, free: 3.992 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.8383, allocations: 100 kB / 0.8394 GB, free: 3.891 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.8383, allocations: 19.75 kB / 0.8394 GB, free: 3.871 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.8384, allocations: 0 / 0.8394 GB, free: 3.871 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8385, allocations: 328.5 kB / 0.8397 GB, free: 3.543 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.8387, allocations: 59.95 kB / 0.8398 GB, free: 3.484 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.8389, allocations: 67.89 kB / 0.8398 GB, free: 3.418 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.8393, allocations: 124.8 kB / 0.8399 GB, free: 3.293 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8393, allocations: 0 / 0.8399 GB, free: 3.293 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004185/0.8397, allocations: 169.5 kB / 0.8401 GB, free: 3.121 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8397, allocations: 4 kB / 0.8401 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.8397, allocations: 0 / 0.8401 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8398, allocations: 4 kB / 0.8401 GB, free: 3.113 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.8399, allocations: 31.95 kB / 0.8401 GB, free: 3.082 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.8399, allocations: 11.94 kB / 0.8401 GB, free: 3.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.84, allocations: 19.89 kB / 0.8402 GB, free: 3.051 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.8401, allocations: 7.984 kB / 0.8402 GB, free: 3.043 MB / 0.5418 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 (7): * Single equations (assignments): 7 * 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.0001057/0.8402, allocations: 117.8 kB / 0.8403 GB, free: 2.918 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.8402, allocations: 7.906 kB / 0.8403 GB, free: 2.91 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.8402, allocations: 8.312 kB / 0.8403 GB, free: 2.902 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8403, allocations: 4 kB / 0.8403 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8403, allocations: 0 / 0.8403 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8403, allocations: 5.312 kB / 0.8403 GB, free: 2.895 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.8405, allocations: 189.6 kB / 0.8405 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.8405, allocations: 0 / 0.8405 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.8407, allocations: 35.91 kB / 0.8405 GB, free: 2.625 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8407, allocations: 0 / 0.8405 GB, free: 2.625 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.8407, allocations: 4 kB / 0.8405 GB, free: 2.621 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8407, allocations: 0 / 0.8405 GB, free: 2.621 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8408, allocations: 3.984 kB / 0.8405 GB, free: 2.617 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.8414, allocations: 331.2 kB / 0.8409 GB, free: 2.277 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.8415, allocations: 81.02 kB / 0.8409 GB, free: 2.18 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.8416, allocations: 8.328 kB / 0.8409 GB, free: 2.172 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.8417, allocations: 15.98 kB / 0.841 GB, free: 2.156 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.8418, allocations: 16.05 kB / 0.841 GB, free: 2.141 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.8418, allocations: 0 / 0.841 GB, free: 2.141 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.859e-05/0.8419, allocations: 108.5 kB / 0.8411 GB, free: 2.039 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8419, allocations: 4 kB / 0.8411 GB, free: 2.035 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002316/0.8421, allocations: 12 kB / 0.8411 GB, free: 2.023 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * 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 (5): * Single equations (assignments): 5 * 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.0001655/0.8423, allocations: 95.25 kB / 0.8412 GB, free: 1.922 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.8427, allocations: 143.8 kB / 0.8413 GB, free: 1.781 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8427, allocations: 0 / 0.8413 GB, free: 1.781 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.8429, allocations: 63.95 kB / 0.8414 GB, free: 1.719 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.8432, allocations: 4 kB / 0.8414 GB, free: 1.715 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.8438, allocations: 249.4 kB / 0.8416 GB, free: 1.441 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.8441, allocations: 0.6965 MB / 0.8423 GB, free: 0.7188 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 5.413e-05/0.8442, allocations: 0 / 0.8423 GB, free: 0.7188 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.8442, allocations: 11.44 kB / 0.8423 GB, free: 0.707 MB / 0.5418 GB Notification: Performance of SimCode: time 1.873e-06/0.8443, allocations: 0 / 0.8423 GB, free: 0.707 MB / 0.5418 GB Notification: Performance of Templates: time 0.003128/0.8474, allocations: 0.6738 MB / 0.843 GB, free: 52 kB / 0.5418 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1)