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/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.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/SMArtIInt 0.2.2-main/package.mo): time 0.007296/0.007296, allocations: 1.433 MB / 17.7 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1086/0.1086, allocations: 22.38 MB / 41.12 MB, free: 7.816 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 100 kB / 48.6 MB, free: 308 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 197.7 kB / 56.2 MB, free: 3.543 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 286.6 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.8593/0.8593, allocations: 127.8 MB / 471.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 124.8 kB / 0.5547 GB, free: 42.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1421, allocations: 82.36 MB / 0.6352 GB, free: 12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003526/0.1457, allocations: 2.284 MB / 0.6374 GB, free: 9.699 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.1465, allocations: 470.8 kB / 0.6378 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.1465, allocations: 0 / 0.6378 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.391e-05/0.1466, allocations: 3.938 kB / 0.6378 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.1467, allocations: 15.86 kB / 0.6379 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1469, allocations: 35.89 kB / 0.6379 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.147, allocations: 83.7 kB / 0.638 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.1471, allocations: 27.92 kB / 0.638 GB, free: 9.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.1472, allocations: 39.84 kB / 0.638 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.1473, allocations: 35.83 kB / 0.6381 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1473, allocations: 8 kB / 0.6381 GB, free: 8.988 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.1474, allocations: 11.94 kB / 0.6381 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.1474, allocations: 11.98 kB / 0.6381 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.1475, allocations: 35.8 kB / 0.6381 GB, free: 8.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1476, allocations: 71.7 kB / 0.6382 GB, free: 8.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1476, allocations: 11.94 kB / 0.6382 GB, free: 8.848 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1476, allocations: 0 / 0.6382 GB, free: 8.848 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1476, allocations: 0 / 0.6382 GB, free: 8.848 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005859/0.1482, allocations: 399.2 kB / 0.6386 GB, free: 8.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1482, allocations: 12.03 kB / 0.6386 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.1483, allocations: 12.84 kB / 0.6386 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.1484, allocations: 180.2 kB / 0.6388 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1485, allocations: 16.38 kB / 0.6388 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1485, allocations: 8.281 kB / 0.6388 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1488, allocations: 97.88 kB / 0.6389 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1488, allocations: 0 / 0.6389 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1488, allocations: 8 kB / 0.6389 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1488, allocations: 0 / 0.6389 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.1491, allocations: 71.92 kB / 0.639 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.1495, allocations: 320.7 kB / 0.6393 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.1501, allocations: 154.5 kB / 0.6394 GB, free: 7.445 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1503, allocations: 52.81 kB / 0.6395 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.1503, allocations: 0 / 0.6395 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1503, allocations: 34.56 kB / 0.6395 GB, free: 7.348 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 2.264e-06/0.1503, allocations: 0 / 0.6395 GB, free: 7.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005674/0.1509, allocations: 181.4 kB / 0.6397 GB, free: 7.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1509, allocations: 55.41 kB / 0.6398 GB, free: 7.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.151, allocations: 126.1 kB / 0.6399 GB, free: 6.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1511, allocations: 29.7 kB / 0.6399 GB, free: 6.926 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.1511, allocations: 100 kB / 0.64 GB, free: 6.824 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1511, allocations: 15.75 kB / 0.64 GB, free: 6.809 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.1512, allocations: 21.7 kB / 0.64 GB, free: 6.781 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1513, allocations: 322.8 kB / 0.6403 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1515, allocations: 51.94 kB / 0.6404 GB, free: 6.406 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.1517, allocations: 47.95 kB / 0.6404 GB, free: 6.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.152, allocations: 96.78 kB / 0.6405 GB, free: 6.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.152, allocations: 0 / 0.6405 GB, free: 6.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003623/0.1523, allocations: 149.4 kB / 0.6407 GB, free: 6.109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1524, allocations: 6.812 kB / 0.6407 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1524, allocations: 0 / 0.6407 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1524, allocations: 4 kB / 0.6407 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1525, allocations: 31.97 kB / 0.6407 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1525, allocations: 0 / 0.6407 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.1526, allocations: 15.89 kB / 0.6407 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1527, allocations: 4 kB / 0.6407 GB, free: 6.051 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 (7): * Single equations (assignments): 7 * 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 0.0001031/0.1528, allocations: 117.8 kB / 0.6408 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1528, allocations: 7.984 kB / 0.6408 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.1528, allocations: 8.312 kB / 0.6409 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1529, allocations: 4 kB / 0.6409 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1529, allocations: 0 / 0.6409 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1529, allocations: 4 kB / 0.6409 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.1531, allocations: 189.5 kB / 0.641 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1532, allocations: 0 / 0.641 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1533, allocations: 27.91 kB / 0.6411 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1533, allocations: 3.984 kB / 0.6411 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1533, allocations: 256 / 0.6411 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1533, allocations: 8 kB / 0.6411 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1534, allocations: 0 / 0.6411 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.1539, allocations: 287.2 kB / 0.6414 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.154, allocations: 81.2 kB / 0.6414 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.154, allocations: 4 kB / 0.6414 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1541, allocations: 19.92 kB / 0.6415 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.1542, allocations: 7.984 kB / 0.6415 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1542, allocations: 0 / 0.6415 GB, free: 5.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.21e-05/0.1543, allocations: 113.3 kB / 0.6416 GB, free: 5.098 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.1543, allocations: 0 / 0.6416 GB, free: 5.098 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1545, allocations: 23.78 kB / 0.6416 GB, free: 5.074 MB / 462.1 MB 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 (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.0001158/0.1546, allocations: 99.25 kB / 0.6417 GB, free: 4.969 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.155, allocations: 99.91 kB / 0.6418 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.155, allocations: 0 / 0.6418 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1552, allocations: 59.89 kB / 0.6418 GB, free: 4.812 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1555, allocations: 4 kB / 0.6418 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.1559, allocations: 216.7 kB / 0.6421 GB, free: 4.566 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1562, allocations: 0.6924 MB / 0.6427 GB, free: 3.848 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.1562, allocations: 8 kB / 0.6427 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.1563, allocations: 11.44 kB / 0.6427 GB, free: 3.828 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1563, allocations: 0 / 0.6427 GB, free: 3.828 MB / 462.1 MB Notification: Performance of Templates: time 0.002937/0.1592, allocations: 0.8147 MB / 0.6435 GB, free: 3.02 MB / 462.1 MB 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 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1)