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/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.005853/0.005853, allocations: 1.442 MB / 20.53 MB, free: 4.012 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006638/0.0006638, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000808/0.000808, allocations: 162 kB / 27.86 MB, free: 5.086 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8768/0.8768, allocations: 177.1 MB / 208.6 MB, free: 2.98 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7515/0.7515, allocations: 102.4 MB / 367.9 MB, free: 1.453 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|timeExtrema.ymax|timeExtrema.ymin",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|timeExtrema.ymax|timeExtrema.ymin",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.5367 GB, free: 39.82 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.023e-05, allocations: 5.297 kB / 0.5367 GB, free: 39.82 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002464/0.002494, allocations: 2.304 MB / 0.5389 GB, free: 38.23 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.003146, allocations: 0.5028 MB / 0.5394 GB, free: 37.9 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.003205, allocations: 6.938 kB / 0.5394 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.003248, allocations: 7.266 kB / 0.5394 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 6.144e-05/0.00331, allocations: 9.781 kB / 0.5394 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.003564, allocations: 59.02 kB / 0.5395 GB, free: 37.85 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.003696, allocations: 82.61 kB / 0.5396 GB, free: 37.81 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003796, allocations: 16.59 kB / 0.5396 GB, free: 37.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.003941, allocations: 48.86 kB / 0.5396 GB, free: 37.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.003994, allocations: 30.81 kB / 0.5397 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.004013, allocations: 7.594 kB / 0.5397 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.28e-05/0.004056, allocations: 11.95 kB / 0.5397 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.004099, allocations: 17.64 kB / 0.5397 GB, free: 37.76 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.004127, allocations: 27.72 kB / 0.5397 GB, free: 37.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.004255, allocations: 86.45 kB / 0.5398 GB, free: 37.71 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004257, allocations: 0 / 0.5398 GB, free: 37.71 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.004259, allocations: 1.125 kB / 0.5398 GB, free: 37.71 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.004264, allocations: 0 / 0.5398 GB, free: 37.71 MB / 490.8 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.0004255/0.004689, allocations: 335.5 kB / 0.5401 GB, free: 37.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.004726, allocations: 9.344 kB / 0.5401 GB, free: 37.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/0.004822, allocations: 19.72 kB / 0.5401 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.00497, allocations: 133.6 kB / 0.5403 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.004988, allocations: 4 kB / 0.5403 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.005008, allocations: 3.5 kB / 0.5403 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.005189, allocations: 98.66 kB / 0.5404 GB, free: 37.22 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.005197, allocations: 4.125 kB / 0.5404 GB, free: 37.22 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005208, allocations: 384 / 0.5404 GB, free: 37.22 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005214, allocations: 6.781 kB / 0.5404 GB, free: 37.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.00537, allocations: 80.77 kB / 0.5405 GB, free: 37.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.005657, allocations: 253.9 kB / 0.5407 GB, free: 36.97 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.006004, allocations: 153.4 kB / 0.5409 GB, free: 36.93 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.297e-05/0.006097, allocations: 52.81 kB / 0.5409 GB, free: 36.91 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.006114, allocations: 3.312 kB / 0.5409 GB, free: 36.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.006126, allocations: 35.33 kB / 0.5409 GB, free: 36.87 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.006128, allocations: 0 / 0.5409 GB, free: 36.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=5): time 0.0003619/0.006489, allocations: 177.5 kB / 0.5411 GB, free: 36.8 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.006512, allocations: 52.78 kB / 0.5412 GB, free: 36.74 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.006577, allocations: 136.6 kB / 0.5413 GB, free: 36.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.006585, allocations: 29.7 kB / 0.5413 GB, free: 36.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.006617, allocations: 95.56 kB / 0.5414 GB, free: 36.51 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.006639, allocations: 19.11 kB / 0.5414 GB, free: 36.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.006669, allocations: 20.91 kB / 0.5414 GB, free: 36.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.006705, allocations: 321 kB / 0.5418 GB, free: 36.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/0.006799, allocations: 47.19 kB / 0.5418 GB, free: 36.15 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.505e-05/0.006894, allocations: 51.23 kB / 0.5418 GB, free: 36.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.007068, allocations: 99.05 kB / 0.5419 GB, free: 36.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.007071, allocations: 3.938 kB / 0.5419 GB, free: 36.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002179/0.007289, allocations: 141.7 kB / 0.5421 GB, free: 36.05 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.007303, allocations: 5.406 kB / 0.5421 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007307, allocations: 0.5 kB / 0.5421 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.00732, allocations: 1.594 kB / 0.5421 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.007396, allocations: 31.33 kB / 0.5421 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.007401, allocations: 1.375 kB / 0.5421 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.007448, allocations: 20.94 kB / 0.5421 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.007456, allocations: 2.125 kB / 0.5421 GB, free: 36.05 MB / 490.8 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 4.625e-05/0.007502, allocations: 117.6 kB / 0.5423 GB, free: 35.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.007519, allocations: 7.672 kB / 0.5423 GB, free: 35.92 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.00754, allocations: 14.06 kB / 0.5423 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007542, allocations: 1.531 kB / 0.5423 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.007546, allocations: 1.031 kB / 0.5423 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.007549, allocations: 0 / 0.5423 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.943e-05/0.007638, allocations: 136.9 kB / 0.5424 GB, free: 35.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007639, allocations: 6.781 kB / 0.5424 GB, free: 35.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.007725, allocations: 22.48 kB / 0.5424 GB, free: 35.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007726, allocations: 0 / 0.5424 GB, free: 35.77 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.007738, allocations: 5.109 kB / 0.5424 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.00774, allocations: 1.094 kB / 0.5424 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007742, allocations: 4.812 kB / 0.5424 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.008092, allocations: 285.6 kB / 0.5427 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.008102, allocations: 14.52 kB / 0.5427 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.008115, allocations: 8.297 kB / 0.5427 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.00818, allocations: 13.36 kB / 0.5428 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.008222, allocations: 5.938 kB / 0.5428 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.008227, allocations: 5.656 kB / 0.5428 GB, free: 35.58 MB / 490.8 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.008263, allocations: 104.9 kB / 0.5429 GB, free: 35.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.008263, allocations: 0 / 0.5429 GB, free: 35.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001503/0.008414, allocations: 12.12 kB / 0.5429 GB, free: 35.5 MB / 490.8 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 6.065e-05/0.008474, allocations: 99.75 kB / 0.543 GB, free: 35.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.00871, allocations: 106.3 kB / 0.5431 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008711, allocations: 1.125 kB / 0.5431 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.008807, allocations: 49.62 kB / 0.5431 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.008983, allocations: 11.53 kB / 0.5431 GB, free: 35.37 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.009313, allocations: 205 kB / 0.5433 GB, free: 35.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.009361, allocations: 81.86 kB / 0.5434 GB, free: 35.13 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.009391, allocations: 2.375 kB / 0.5434 GB, free: 35.13 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.009422, allocations: 16.31 kB / 0.5434 GB, free: 35.12 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.009422, allocations: 4 kB / 0.5434 GB, free: 35.12 MB / 490.8 MB Notification: Performance of Templates: time 0.002368/0.01179, allocations: 0.8204 MB / 0.5442 GB, free: 35.03 MB / 490.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.makefile [Timeout 800] (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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] "" Variables in the reference:Time,timeExtrema.ymax,timeExtrema.ymin Variables in the result:T.k1,T.k2,ramp.duration,ramp.height,ramp.offset,ramp.startTime,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time,timeExtrema.initOption,timeExtrema.samplingTime,timeExtrema.startTime,timeExtrema.y_start[1],timeExtrema.y_start[2],timeExtrema.ymax,timeExtrema.ymin [Calling sys.exit(0), Time elapsed: 3.878922825679183]