Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo): time 0.01042/0.01042, allocations: 1.423 MB / 20.25 MB, free: 1.617 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.001571/0.001571, allocations: 107.8 kB / 23.77 MB, free: 3.277 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.001714/0.001714, allocations: 198.8 kB / 27.4 MB, free: 4.715 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.424/1.424, allocations: 225.6 MB / 256.5 MB, free: 11.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo): time 1.063/1.063, allocations: 129.1 MB / 441.2 MB, free: 14.68 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/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 SMArtIInt with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/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_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_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") [Timeout 800] "Warning: Requested package SMArtIInt of version 0.2.2, but this package was already loaded with version 0.1.1. There are no conversion annotations for this version but 0.2.2 is newer than 0.1.1. There is a possibility that 0.1.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. 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.02993/0.02993, allocations: 20.82 MB / 0.625 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.2111, allocations: 80.4 MB / 0.7035 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003619/0.2147, allocations: 2.314 MB / 0.7058 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.2156, allocations: 486.6 kB / 0.7062 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.2156, allocations: 4 kB / 0.7062 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.2157, allocations: 3.938 kB / 0.7062 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.2157, allocations: 7.875 kB / 0.7062 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.216, allocations: 43.89 kB / 0.7063 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.2161, allocations: 83.7 kB / 0.7064 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.2162, allocations: 11.98 kB / 0.7064 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2163, allocations: 27.92 kB / 0.7064 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.2164, allocations: 47.81 kB / 0.7064 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2165, allocations: 8 kB / 0.7065 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.2165, allocations: 4 kB / 0.7065 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.2165, allocations: 19.92 kB / 0.7065 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.2166, allocations: 35.8 kB / 0.7065 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.2167, allocations: 79.59 kB / 0.7066 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2167, allocations: 0 / 0.7066 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2167, allocations: 0 / 0.7066 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2167, allocations: 0 / 0.7066 GB, free: 10.36 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.0006592/0.2174, allocations: 337.9 kB / 0.7069 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2174, allocations: 12.03 kB / 0.7069 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.2175, allocations: 8.891 kB / 0.7069 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.2176, allocations: 134.4 kB / 0.7071 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2177, allocations: 384 / 0.7071 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.2177, allocations: 8.375 kB / 0.7071 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.218, allocations: 97.88 kB / 0.7072 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.218, allocations: 0 / 0.7072 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.218, allocations: 4 kB / 0.7072 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.218, allocations: 0 / 0.7072 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.2183, allocations: 75.92 kB / 0.7072 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.2188, allocations: 295.7 kB / 0.7075 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.2194, allocations: 146.5 kB / 0.7077 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2195, allocations: 48.81 kB / 0.7077 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2196, allocations: 8 kB / 0.7077 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.2196, allocations: 38.5 kB / 0.7077 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2196, allocations: 0 / 0.7077 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0006086/0.2202, allocations: 177.5 kB / 0.7079 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.2202, allocations: 55.41 kB / 0.708 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2204, allocations: 133.2 kB / 0.7081 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2204, allocations: 25.7 kB / 0.7081 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.2205, allocations: 96.08 kB / 0.7082 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.2205, allocations: 19.84 kB / 0.7082 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.2205, allocations: 21.72 kB / 0.7083 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2207, allocations: 322.8 kB / 0.7086 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.2209, allocations: 55.95 kB / 0.7086 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.221, allocations: 43.95 kB / 0.7087 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.2213, allocations: 104.7 kB / 0.7088 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2214, allocations: 3.938 kB / 0.7088 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003828/0.2217, allocations: 137.6 kB / 0.7089 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2217, allocations: 4 kB / 0.7089 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.2218, allocations: 0 / 0.7089 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2218, allocations: 0 / 0.7089 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.2219, allocations: 35.95 kB / 0.7089 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2219, allocations: 0 / 0.7089 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.222, allocations: 11.98 kB / 0.7089 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.222, allocations: 4.234 kB / 0.7089 GB, free: 7.754 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.741e-05/0.2221, allocations: 117.8 kB / 0.7091 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.2221, allocations: 7.953 kB / 0.7091 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.2222, allocations: 20.34 kB / 0.7091 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2222, allocations: 0 / 0.7091 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2222, allocations: 4 kB / 0.7091 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2222, allocations: 0 / 0.7091 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2224, allocations: 172.6 kB / 0.7093 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2224, allocations: 0 / 0.7093 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2226, allocations: 23.97 kB / 0.7093 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2226, allocations: 0 / 0.7093 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2226, allocations: 0 / 0.7093 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2226, allocations: 0 / 0.7093 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2226, allocations: 4 kB / 0.7093 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006388/0.2232, allocations: 291.2 kB / 0.7096 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.2232, allocations: 4.062 kB / 0.7096 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2232, allocations: 4.031 kB / 0.7096 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2234, allocations: 15.97 kB / 0.7096 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.2234, allocations: 7.922 kB / 0.7096 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2234, allocations: 8 kB / 0.7096 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.933e-05/0.2235, allocations: 95.27 kB / 0.7097 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2235, allocations: 3.938 kB / 0.7097 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002389/0.2237, allocations: 23.89 kB / 0.7097 GB, free: 6.891 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.0001133/0.2238, allocations: 95.25 kB / 0.7098 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.2243, allocations: 103.9 kB / 0.7099 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2243, allocations: 0 / 0.7099 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.2244, allocations: 55.89 kB / 0.71 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.2247, allocations: 12.23 kB / 0.71 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.2252, allocations: 220.7 kB / 0.7102 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.2256, allocations: 0.6924 MB / 0.7109 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.2256, allocations: 7.984 kB / 0.7109 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.2256, allocations: 11.44 kB / 0.7109 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2256, allocations: 0 / 0.7109 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of Templates: time 0.003482/0.2291, allocations: 0.8426 MB / 0.7117 GB, free: 4.805 MB / 0.5294 GB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_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_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: 5.917705664411187]