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.01291/0.01291, allocations: 1.781 MB / 22.36 MB, free: 2.113 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.001219/0.001219, allocations: 80.73 kB / 26.19 MB, free: 5.828 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.00128/0.00128, allocations: 170.8 kB / 30.12 MB, free: 2.023 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.9062/0.9062, allocations: 177.1 MB / 211.1 MB, free: 3.402 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.673/0.673, allocations: 102.4 MB / 370.6 MB, free: 196 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.302e-06/1.302e-06, allocations: 0 / 471.2 MB, free: 18.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.747e-05, allocations: 2.859 kB / 471.2 MB, free: 18.78 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003419/0.003446, allocations: 2.366 MB / 473.6 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.004373, allocations: 0.5158 MB / 474.1 MB, free: 16.87 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.004447, allocations: 3.938 kB / 474.1 MB, free: 16.87 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.333e-05/0.0045, allocations: 3.938 kB / 474.1 MB, free: 16.86 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.348e-05/0.004584, allocations: 14.83 kB / 474.1 MB, free: 16.85 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.004892, allocations: 48.14 kB / 474.2 MB, free: 16.83 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.005052, allocations: 86.56 kB / 474.3 MB, free: 16.79 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.005154, allocations: 15.62 kB / 474.3 MB, free: 16.78 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.005361, allocations: 62.72 kB / 474.3 MB, free: 16.75 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.00543, allocations: 26.97 kB / 474.4 MB, free: 16.74 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.005453, allocations: 9.594 kB / 474.4 MB, free: 16.74 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.005504, allocations: 12.66 kB / 474.4 MB, free: 16.74 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.00555, allocations: 22 kB / 474.4 MB, free: 16.72 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.005579, allocations: 20.75 kB / 474.4 MB, free: 16.71 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.005719, allocations: 65.28 kB / 474.5 MB, free: 16.68 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005723, allocations: 0 / 474.5 MB, free: 16.68 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005724, allocations: 1.188 kB / 474.5 MB, free: 16.68 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005728, allocations: 0 / 474.5 MB, free: 16.68 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.0004824/0.00621, allocations: 430.6 kB / 474.9 MB, free: 16.29 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.006258, allocations: 8.75 kB / 474.9 MB, free: 16.29 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.00642, allocations: 20.03 kB / 474.9 MB, free: 16.28 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.006564, allocations: 140.3 kB / 475.1 MB, free: 16.13 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.006585, allocations: 3.25 kB / 475.1 MB, free: 16.13 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.006604, allocations: 7.25 kB / 475.1 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.00677, allocations: 87.2 kB / 475.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006779, allocations: 192 / 475.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.006788, allocations: 384 / 475.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.006795, allocations: 6.688 kB / 475.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.969e-05/0.006835, allocations: 16.55 kB / 475.2 MB, free: 16.07 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.00716, allocations: 283.7 kB / 475.5 MB, free: 15.81 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.007414, allocations: 76.62 kB / 475.6 MB, free: 15.77 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.007447, allocations: 20.34 kB / 475.6 MB, free: 15.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.007463, allocations: 6.5 kB / 475.6 MB, free: 15.75 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.007483, allocations: 36.08 kB / 475.6 MB, free: 15.71 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.007485, allocations: 0 / 475.6 MB, free: 15.71 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001888/0.007673, allocations: 65.28 kB / 475.7 MB, free: 15.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.007701, allocations: 61.59 kB / 475.7 MB, free: 15.6 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.007778, allocations: 186.8 kB / 475.9 MB, free: 15.42 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.007786, allocations: 25.7 kB / 475.9 MB, free: 15.39 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.008127, allocations: 141.7 kB / 476.1 MB, free: 31.25 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.008155, allocations: 23.73 kB / 476.1 MB, free: 31.23 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.008197, allocations: 32.55 kB / 476.1 MB, free: 31.2 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.008331, allocations: 0.4905 MB / 476.6 MB, free: 30.71 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.008361, allocations: 6.656 kB / 476.6 MB, free: 30.71 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.008385, allocations: 8.906 kB / 476.6 MB, free: 30.71 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.008439, allocations: 27.33 kB / 476.7 MB, free: 30.69 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008441, allocations: 1.031 kB / 476.7 MB, free: 30.69 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001107/0.008551, allocations: 81.23 kB / 476.8 MB, free: 30.63 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.008567, allocations: 7.5 kB / 476.8 MB, free: 30.63 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.008571, allocations: 0 / 476.8 MB, free: 30.63 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.008583, allocations: 0 / 476.8 MB, free: 30.63 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.008677, allocations: 20.91 kB / 476.8 MB, free: 30.63 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00868, allocations: 0 / 476.8 MB, free: 30.63 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.008733, allocations: 11.78 kB / 476.8 MB, free: 30.63 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.008741, allocations: 0 / 476.8 MB, free: 30.63 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.913e-05/0.00882, allocations: 165.6 kB / 477 MB, free: 30.47 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.00885, allocations: 12.83 kB / 477 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.008876, allocations: 8.469 kB / 477 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.008878, allocations: 2.844 kB / 477 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.00888, allocations: 0 / 477 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.008885, allocations: 1.734 kB / 477 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.009009, allocations: 118.5 kB / 477.1 MB, free: 30.33 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009011, allocations: 0 / 477.1 MB, free: 30.33 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.009105, allocations: 19.14 kB / 477.1 MB, free: 30.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009107, allocations: 0 / 477.1 MB, free: 30.33 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.00912, allocations: 11.06 kB / 477.1 MB, free: 30.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.009122, allocations: 3.094 kB / 477.1 MB, free: 30.32 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009123, allocations: 0 / 477.1 MB, free: 30.32 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.009331, allocations: 215.8 kB / 477.3 MB, free: 30.12 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.009345, allocations: 14.5 kB / 477.4 MB, free: 30.11 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.009361, allocations: 4.812 kB / 477.4 MB, free: 30.11 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.009442, allocations: 14.75 kB / 477.4 MB, free: 30.11 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.009486, allocations: 10.53 kB / 477.4 MB, free: 30.1 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.009491, allocations: 0 / 477.4 MB, free: 30.1 MB / 426.8 MB Notification: Performance of sorting global known variables: time 5.562e-05/0.009547, allocations: 139.5 kB / 477.5 MB, free: 29.98 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009547, allocations: 0 / 477.5 MB, free: 29.98 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002113/0.009759, allocations: 15.62 kB / 477.5 MB, free: 29.98 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 0.0001222/0.009881, allocations: 97.62 kB / 477.6 MB, free: 29.89 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.009996, allocations: 38.89 kB / 477.7 MB, free: 29.88 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.009998, allocations: 4.875 kB / 477.7 MB, free: 29.87 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.01004, allocations: 21.61 kB / 477.7 MB, free: 29.86 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01029, allocations: 11.52 kB / 477.7 MB, free: 29.86 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.01082, allocations: 200.4 kB / 477.9 MB, free: 29.69 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.01086, allocations: 62.52 kB / 478 MB, free: 29.62 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.0109, allocations: 8.469 kB / 478 MB, free: 29.61 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.01097, allocations: 78.69 kB / 478 MB, free: 29.54 MB / 426.8 MB Notification: Performance of SimCode: time 7.41e-07/0.01097, allocations: 0 / 478 MB, free: 29.54 MB / 426.8 MB Notification: Performance of Templates: time 0.003229/0.0142, allocations: 0.9445 MB / 479 MB, free: 29.46 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.578062281012535]