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 0.3.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.3.1-main/package.mo): time 0.01027/0.01027, allocations: 1.765 MB / 20.59 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 100.1 kB / 24.19 MB, free: 2.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 195.5 kB / 27.9 MB, free: 4.016 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 257.1 MB, free: 10.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.053/1.053, allocations: 129.2 MB / 441.9 MB, free: 14.3 MB / 350.1 MB " [Timeout remaining time 179] 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 SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.3.1-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: Skipped loading package TILMedia (1.8.2 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02879/0.02879, allocations: 20.57 MB / 0.6257 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1975, allocations: 80.48 MB / 0.7043 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003467/0.201, allocations: 2.31 MB / 0.7065 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008511/0.2018, allocations: 486.7 kB / 0.707 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.2019, allocations: 4 kB / 0.707 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.2019, allocations: 7.922 kB / 0.707 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.888e-05/0.202, allocations: 7.875 kB / 0.707 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2022, allocations: 35.91 kB / 0.7071 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.2024, allocations: 87.69 kB / 0.7071 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.2025, allocations: 11.98 kB / 0.7072 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.911e-05/0.2026, allocations: 31.92 kB / 0.7072 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.2026, allocations: 43.83 kB / 0.7072 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.2027, allocations: 8 kB / 0.7072 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.2027, allocations: 4 kB / 0.7072 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.2027, allocations: 23.86 kB / 0.7073 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.2028, allocations: 39.73 kB / 0.7073 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.2029, allocations: 75.64 kB / 0.7074 GB, free: 10 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2029, allocations: 0 / 0.7074 GB, free: 10 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2029, allocations: 0 / 0.7074 GB, free: 10 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2029, allocations: 0 / 0.7074 GB, free: 10 MB / 0.5294 GB 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.0006522/0.2036, allocations: 338 kB / 0.7077 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2036, allocations: 12.62 kB / 0.7077 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.2037, allocations: 8.891 kB / 0.7077 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.2039, allocations: 131.9 kB / 0.7078 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2039, allocations: 384 / 0.7078 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.2039, allocations: 8.375 kB / 0.7078 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.2042, allocations: 101.9 kB / 0.7079 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2042, allocations: 0 / 0.7079 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2043, allocations: 7.984 kB / 0.708 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2043, allocations: 0 / 0.708 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.2046, allocations: 71.92 kB / 0.708 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.2051, allocations: 303.7 kB / 0.7083 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.2057, allocations: 150.5 kB / 0.7085 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.2059, allocations: 48.81 kB / 0.7085 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.2059, allocations: 0 / 0.7085 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.206, allocations: 34.56 kB / 0.7085 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.206, allocations: 0 / 0.7085 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0006951/0.2067, allocations: 173.5 kB / 0.7087 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2067, allocations: 55.41 kB / 0.7088 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.2068, allocations: 132.6 kB / 0.7089 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.2069, allocations: 29.7 kB / 0.7089 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.2069, allocations: 100 kB / 0.709 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.207, allocations: 19.8 kB / 0.709 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.207, allocations: 25.7 kB / 0.709 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2072, allocations: 326.7 kB / 0.7094 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2073, allocations: 47.95 kB / 0.7094 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2075, allocations: 51.95 kB / 0.7095 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.2079, allocations: 96.72 kB / 0.7095 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2079, allocations: 0 / 0.7095 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004407/0.2083, allocations: 141.5 kB / 0.7097 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2083, allocations: 7.938 kB / 0.7097 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2084, allocations: 0 / 0.7097 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2084, allocations: 0 / 0.7097 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.2085, allocations: 27.97 kB / 0.7097 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2085, allocations: 0 / 0.7097 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2086, allocations: 15.98 kB / 0.7097 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2086, allocations: 0 / 0.7097 GB, free: 7.398 MB / 0.5294 GB 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 9.689e-05/0.2087, allocations: 125.7 kB / 0.7099 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.2088, allocations: 7.953 kB / 0.7099 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.2088, allocations: 16.41 kB / 0.7099 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2088, allocations: 0 / 0.7099 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2088, allocations: 0 / 0.7099 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2088, allocations: 0 / 0.7099 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.209, allocations: 164.9 kB / 0.71 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.209, allocations: 4 kB / 0.71 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.2092, allocations: 27.97 kB / 0.7101 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2092, allocations: 0 / 0.7101 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2092, allocations: 0 / 0.7101 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2092, allocations: 0 / 0.7101 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2092, allocations: 0 / 0.7101 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/0.2099, allocations: 295.2 kB / 0.7103 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.2099, allocations: 3.938 kB / 0.7103 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2099, allocations: 4.031 kB / 0.7104 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.21, allocations: 15.97 kB / 0.7104 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2101, allocations: 8.062 kB / 0.7104 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2101, allocations: 7.984 kB / 0.7104 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.2102, allocations: 95.27 kB / 0.7105 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2102, allocations: 0 / 0.7105 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002354/0.2104, allocations: 27.83 kB / 0.7105 GB, free: 6.535 MB / 0.5294 GB 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.0001115/0.2105, allocations: 91.25 kB / 0.7106 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.211, allocations: 107.8 kB / 0.7107 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.211, allocations: 0 / 0.7107 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.2112, allocations: 59.88 kB / 0.7107 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2115, allocations: 3.938 kB / 0.7107 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.212, allocations: 220.8 kB / 0.711 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.2123, allocations: 0.6924 MB / 0.7116 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.2124, allocations: 0 / 0.7116 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.2124, allocations: 15.44 kB / 0.7117 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.2124, allocations: 0 / 0.7117 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of Templates: time 0.003596/0.216, allocations: 0.8493 MB / 0.7125 GB, free: 4.449 MB / 0.5294 GB " [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.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: 6.123084079474211]