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.008381/0.008381, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001418/0.001418, allocations: 83.7 kB / 25.4 MB, free: 7 MB / 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.001853/0.001853, allocations: 159.7 kB / 29.33 MB, free: 3.133 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.9474/0.9474, allocations: 177.1 MB / 210.3 MB, free: 3.477 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.5925/0.5925, allocations: 102.4 MB / 369.8 MB, free: 248 kB / 330.7 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 1.0.0 (/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.994e-06/1.994e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.667e-05, allocations: 2.312 kB / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003359/0.003386, allocations: 2.38 MB / 472.8 MB, free: 17.25 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000905/0.004291, allocations: 0.5074 MB / 473.3 MB, free: 16.92 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.004356, allocations: 0 / 473.3 MB, free: 16.92 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.049e-05/0.004407, allocations: 4.5 kB / 473.3 MB, free: 16.92 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.004483, allocations: 22.36 kB / 473.3 MB, free: 16.9 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.004755, allocations: 48.92 kB / 473.4 MB, free: 16.88 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.004891, allocations: 89.92 kB / 473.5 MB, free: 16.83 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.004986, allocations: 11.91 kB / 473.5 MB, free: 16.83 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.005163, allocations: 63.8 kB / 473.6 MB, free: 16.8 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.005225, allocations: 25.16 kB / 473.6 MB, free: 16.79 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.005247, allocations: 5.25 kB / 473.6 MB, free: 16.79 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.708e-05/0.005294, allocations: 14.44 kB / 473.6 MB, free: 16.79 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.005334, allocations: 23.81 kB / 473.6 MB, free: 16.78 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.005361, allocations: 23.19 kB / 473.6 MB, free: 16.77 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.005487, allocations: 61.19 kB / 473.7 MB, free: 16.73 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.005491, allocations: 4 kB / 473.7 MB, free: 16.73 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005492, allocations: 0 / 473.7 MB, free: 16.73 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.005496, allocations: 0 / 473.7 MB, free: 16.73 MB / 410.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.0003969/0.005893, allocations: 424 kB / 474.1 MB, free: 16.34 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.00593, allocations: 11.34 kB / 474.1 MB, free: 16.34 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.006045, allocations: 18.81 kB / 474.1 MB, free: 16.33 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.006165, allocations: 143.8 kB / 474.3 MB, free: 16.18 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.006181, allocations: 10.94 kB / 474.3 MB, free: 16.18 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.006199, allocations: 6.906 kB / 474.3 MB, free: 16.18 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.006352, allocations: 86.38 kB / 474.4 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.00636, allocations: 192 / 474.4 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.006369, allocations: 4.375 kB / 474.4 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.006376, allocations: 6.562 kB / 474.4 MB, free: 16.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.006414, allocations: 11.16 kB / 474.4 MB, free: 16.11 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.006728, allocations: 284.6 kB / 474.7 MB, free: 15.86 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.006961, allocations: 79.08 kB / 474.8 MB, free: 15.82 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.00699, allocations: 15.56 kB / 474.8 MB, free: 15.8 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.007009, allocations: 3.938 kB / 474.8 MB, free: 15.8 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.00703, allocations: 36.02 kB / 474.8 MB, free: 15.76 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.007031, allocations: 0 / 474.8 MB, free: 15.76 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001694/0.007201, allocations: 71.83 kB / 474.9 MB, free: 15.71 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.007221, allocations: 54.03 kB / 474.9 MB, free: 15.65 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.007588, allocations: 189 kB / 475.1 MB, free: 31.48 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.007597, allocations: 25.7 kB / 475.2 MB, free: 31.45 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.007658, allocations: 144.8 kB / 475.3 MB, free: 31.3 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.00768, allocations: 19.73 kB / 475.3 MB, free: 31.29 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.007719, allocations: 32.17 kB / 475.3 MB, free: 31.26 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.007856, allocations: 0.4901 MB / 475.8 MB, free: 30.76 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.007882, allocations: 8.188 kB / 475.8 MB, free: 30.76 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.007905, allocations: 8.703 kB / 475.9 MB, free: 30.76 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.007953, allocations: 24.34 kB / 475.9 MB, free: 30.75 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007955, allocations: 0 / 475.9 MB, free: 30.75 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.468e-05/0.00805, allocations: 76.69 kB / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.008063, allocations: 5.594 kB / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008067, allocations: 0 / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.008079, allocations: 1.25 kB / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.008167, allocations: 18.08 kB / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.008169, allocations: 0 / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.008213, allocations: 17.55 kB / 476 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.00822, allocations: 3.234 kB / 476 MB, free: 30.69 MB / 426.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 7.108e-05/0.008291, allocations: 155.3 kB / 476.1 MB, free: 30.53 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.008316, allocations: 20.52 kB / 476.2 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.00834, allocations: 8.469 kB / 476.2 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008343, allocations: 9.234 kB / 476.2 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008345, allocations: 256 / 476.2 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008347, allocations: 0 / 476.2 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.008465, allocations: 122.1 kB / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008467, allocations: 0 / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.008539, allocations: 19.7 kB / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.00854, allocations: 2.156 kB / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008549, allocations: 7.938 kB / 476.3 MB, free: 30.37 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008551, allocations: 2.938 kB / 476.3 MB, free: 30.37 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008552, allocations: 0 / 476.3 MB, free: 30.37 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.008721, allocations: 215.1 kB / 476.5 MB, free: 30.18 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.008731, allocations: 10.61 kB / 476.6 MB, free: 30.17 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.008746, allocations: 8.062 kB / 476.6 MB, free: 30.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.008818, allocations: 10.22 kB / 476.6 MB, free: 30.16 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.008856, allocations: 12.84 kB / 476.6 MB, free: 30.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.008861, allocations: 4.031 kB / 476.6 MB, free: 30.16 MB / 426.8 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.008917, allocations: 135.9 kB / 476.7 MB, free: 30.04 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.008917, allocations: 3 kB / 476.7 MB, free: 30.04 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002037/0.00912, allocations: 11.44 kB / 476.7 MB, free: 30.04 MB / 426.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 9.214e-05/0.009212, allocations: 100.4 kB / 476.8 MB, free: 29.95 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 9.089e-05/0.009303, allocations: 34.03 kB / 476.9 MB, free: 29.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009305, allocations: 0.6562 kB / 476.9 MB, free: 29.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.009338, allocations: 25.59 kB / 476.9 MB, free: 29.91 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.009573, allocations: 11.75 kB / 476.9 MB, free: 29.91 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01004, allocations: 199.7 kB / 477.1 MB, free: 29.74 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.01007, allocations: 68.81 kB / 477.2 MB, free: 29.67 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.01011, allocations: 8.156 kB / 477.2 MB, free: 29.67 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.01017, allocations: 73.45 kB / 477.3 MB, free: 29.6 MB / 426.8 MB Notification: Performance of SimCode: time 7.31e-07/0.01017, allocations: 0 / 477.3 MB, free: 29.6 MB / 426.8 MB Notification: Performance of Templates: time 0.002414/0.01258, allocations: 0.9305 MB / 478.2 MB, free: 29.52 MB / 426.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=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 240] 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","",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 filterSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff.mat", vars={"timeExtrema.ymin"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] filterSimulationResults("/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.ref.mat", vars={"timeExtrema.ymin"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.453175767324865]