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.01132/0.01132, allocations: 1.435 MB / 17.69 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.122/0.122, allocations: 22.38 MB / 41.12 MB, free: 7.578 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.001075/0.001075, allocations: 115.9 kB / 48.61 MB, free: 52 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.001258/0.001258, allocations: 196.3 kB / 56.21 MB, free: 9.438 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 286.6 MB, free: 13.99 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8291/0.8291, allocations: 127.8 MB / 471.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 119.8 kB / 0.5547 GB, free: 16.35 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1362, allocations: 82.36 MB / 0.6352 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003367/0.1396, allocations: 2.29 MB / 0.6374 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.1405, allocations: 470.8 kB / 0.6378 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.1406, allocations: 4 kB / 0.6378 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.694e-05/0.1407, allocations: 11.92 kB / 0.6379 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.1407, allocations: 11.81 kB / 0.6379 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.141, allocations: 47.88 kB / 0.6379 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1411, allocations: 71.78 kB / 0.638 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1413, allocations: 23.97 kB / 0.638 GB, free: 11.06 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1414, allocations: 39.84 kB / 0.638 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.1414, allocations: 35.83 kB / 0.6381 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1415, allocations: 8 kB / 0.6381 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.1415, allocations: 8 kB / 0.6381 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1416, allocations: 19.92 kB / 0.6381 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1416, allocations: 35.8 kB / 0.6381 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1417, allocations: 75.7 kB / 0.6382 GB, free: 10.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1418, allocations: 3.938 kB / 0.6382 GB, free: 10.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1418, allocations: 0 / 0.6382 GB, free: 10.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1418, allocations: 0 / 0.6382 GB, free: 10.84 MB / 478.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.0006413/0.1424, allocations: 403.2 kB / 0.6386 GB, free: 10.4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1425, allocations: 12.03 kB / 0.6386 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.1425, allocations: 12.83 kB / 0.6386 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1427, allocations: 188.1 kB / 0.6388 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1427, allocations: 384 / 0.6388 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1427, allocations: 8.375 kB / 0.6388 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.143, allocations: 101.9 kB / 0.6389 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1431, allocations: 4 kB / 0.6389 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1431, allocations: 0 / 0.6389 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.1431, allocations: 0 / 0.6389 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.1434, allocations: 75.86 kB / 0.639 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.1439, allocations: 340.5 kB / 0.6393 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.1444, allocations: 142.5 kB / 0.6395 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.1447, allocations: 56.81 kB / 0.6395 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.1447, allocations: 0 / 0.6395 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1447, allocations: 34.56 kB / 0.6395 GB, free: 9.328 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1447, allocations: 0 / 0.6395 GB, free: 9.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005954/0.1453, allocations: 177.6 kB / 0.6397 GB, free: 9.148 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.1454, allocations: 51.41 kB / 0.6398 GB, free: 9.086 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.1455, allocations: 130.1 kB / 0.6399 GB, free: 8.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1455, allocations: 29.7 kB / 0.6399 GB, free: 8.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1456, allocations: 96.05 kB / 0.64 GB, free: 8.812 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1456, allocations: 27.64 kB / 0.64 GB, free: 8.785 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.1456, allocations: 17.72 kB / 0.64 GB, free: 8.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1458, allocations: 326.8 kB / 0.6404 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.146, allocations: 43.95 kB / 0.6404 GB, free: 8.391 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1461, allocations: 47.95 kB / 0.6404 GB, free: 8.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.1464, allocations: 96.77 kB / 0.6405 GB, free: 8.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1465, allocations: 0 / 0.6405 GB, free: 8.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003765/0.1468, allocations: 145.7 kB / 0.6407 GB, free: 8.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1469, allocations: 8 kB / 0.6407 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1469, allocations: 80 / 0.6407 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1469, allocations: 0 / 0.6407 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.147, allocations: 23.97 kB / 0.6407 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.147, allocations: 3.984 kB / 0.6407 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.1471, allocations: 23.89 kB / 0.6407 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1472, allocations: 3.984 kB / 0.6407 GB, free: 8.035 MB / 478.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.0001401/0.1473, allocations: 117.8 kB / 0.6409 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.1473, allocations: 7.906 kB / 0.6409 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.1474, allocations: 8.312 kB / 0.6409 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1474, allocations: 0 / 0.6409 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1474, allocations: 4 kB / 0.6409 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1474, allocations: 0 / 0.6409 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.1476, allocations: 185.6 kB / 0.641 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1476, allocations: 4 kB / 0.6411 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1478, allocations: 31.91 kB / 0.6411 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1478, allocations: 3.938 kB / 0.6411 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1478, allocations: 4 kB / 0.6411 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1478, allocations: 0 / 0.6411 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1478, allocations: 3.984 kB / 0.6411 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.1484, allocations: 279.6 kB / 0.6414 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.1484, allocations: 89.05 kB / 0.6414 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1485, allocations: 7.984 kB / 0.6415 GB, free: 7.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1486, allocations: 15.98 kB / 0.6415 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.1487, allocations: 11.98 kB / 0.6415 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1487, allocations: 0 / 0.6415 GB, free: 7.188 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.515e-05/0.1487, allocations: 102.8 kB / 0.6416 GB, free: 7.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.502e-06/0.1487, allocations: 0 / 0.6416 GB, free: 7.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.149, allocations: 23.81 kB / 0.6416 GB, free: 7.066 MB / 478.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.0001149/0.1491, allocations: 106.4 kB / 0.6417 GB, free: 6.957 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.1495, allocations: 107.9 kB / 0.6418 GB, free: 6.852 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1495, allocations: 0 / 0.6418 GB, free: 6.852 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.1497, allocations: 55.89 kB / 0.6419 GB, free: 6.797 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.1499, allocations: 0 / 0.6419 GB, free: 6.797 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.1504, allocations: 220.7 kB / 0.6421 GB, free: 6.547 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1506, allocations: 0.6924 MB / 0.6427 GB, free: 5.828 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.155e-05/0.1507, allocations: 0 / 0.6427 GB, free: 5.828 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.1507, allocations: 19.42 kB / 0.6428 GB, free: 5.812 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1507, allocations: 0 / 0.6428 GB, free: 5.812 MB / 478.1 MB Notification: Performance of Templates: time 0.002835/0.1536, allocations: 0.8049 MB / 0.6435 GB, free: 5.012 MB / 478.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 gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1)