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/TILMedia 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1295/0.1295, allocations: 23.17 MB / 39.52 MB, free: 1.605 MB / 26.18 MB " [Timeout remaining time 180] 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.01177/0.01177, allocations: 1.436 MB / 50.31 MB, free: 11.59 MB / 46.55 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.001533/0.001533, allocations: 110.2 kB / 60.1 MB, free: 1.789 MB / 46.55 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.001687/0.001687, allocations: 196.6 kB / 70.01 MB, free: 12.56 MB / 46.55 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.576/1.576, allocations: 225.6 MB / 305.4 MB, free: 1.863 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 0.9354/0.9354, allocations: 129 MB / 496.2 MB, free: 4.031 MB / 366.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 SMArtIInt with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-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 660] "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: Performance of FrontEnd - loaded program: time 0.003707/0.003707, allocations: 131.8 kB / 0.6709 GB, free: 8.73 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1756, allocations: 86.83 MB / 0.7556 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003463/0.1791, allocations: 2.304 MB / 0.7579 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0008353/0.1799, allocations: 478.8 kB / 0.7584 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.18, allocations: 0 / 0.7584 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.18, allocations: 7.875 kB / 0.7584 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.1801, allocations: 19.84 kB / 0.7584 GB, free: 14.94 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1803, allocations: 31.91 kB / 0.7584 GB, free: 14.91 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1805, allocations: 83.7 kB / 0.7585 GB, free: 14.82 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.1805, allocations: 8 kB / 0.7585 GB, free: 14.82 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 9.431e-05/0.1806, allocations: 39.89 kB / 0.7585 GB, free: 14.78 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.1807, allocations: 43.83 kB / 0.7586 GB, free: 14.73 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1807, allocations: 4 kB / 0.7586 GB, free: 14.73 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.1808, allocations: 8 kB / 0.7586 GB, free: 14.72 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.1808, allocations: 19.92 kB / 0.7586 GB, free: 14.7 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.1809, allocations: 39.78 kB / 0.7586 GB, free: 14.66 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.181, allocations: 71.61 kB / 0.7587 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.181, allocations: 0 / 0.7587 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of FrontEnd: time 3.326e-06/0.181, allocations: 3.984 kB / 0.7587 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.181, allocations: 0 / 0.7587 GB, free: 14.59 MB / 0.5607 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.0006786/0.1817, allocations: 411.1 kB / 0.7591 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1817, allocations: 8.031 kB / 0.7591 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1818, allocations: 8.891 kB / 0.7591 GB, free: 14.12 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.182, allocations: 188.2 kB / 0.7593 GB, free: 13.9 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.182, allocations: 384 / 0.7593 GB, free: 13.9 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.182, allocations: 12.36 kB / 0.7593 GB, free: 13.89 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.1823, allocations: 105.9 kB / 0.7594 GB, free: 13.78 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1823, allocations: 0 / 0.7594 GB, free: 13.78 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1823, allocations: 0 / 0.7594 GB, free: 13.78 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1823, allocations: 0 / 0.7594 GB, free: 13.78 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.1826, allocations: 75.92 kB / 0.7595 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.1831, allocations: 320.7 kB / 0.7598 GB, free: 13.34 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.1837, allocations: 150.5 kB / 0.7599 GB, free: 13.19 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.1839, allocations: 48.81 kB / 0.76 GB, free: 13.14 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1839, allocations: 4 kB / 0.76 GB, free: 13.13 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1839, allocations: 30.56 kB / 0.76 GB, free: 13.09 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1839, allocations: 0 / 0.76 GB, free: 13.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5): time 0.0006219/0.1846, allocations: 177.5 kB / 0.7602 GB, free: 12.91 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1846, allocations: 51.41 kB / 0.7602 GB, free: 12.85 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1847, allocations: 132.9 kB / 0.7604 GB, free: 12.71 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1847, allocations: 29.7 kB / 0.7604 GB, free: 12.68 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.1848, allocations: 104 kB / 0.7605 GB, free: 12.57 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.1848, allocations: 23.8 kB / 0.7605 GB, free: 12.55 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.1849, allocations: 21.7 kB / 0.7605 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.185, allocations: 318.8 kB / 0.7608 GB, free: 12.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.1852, allocations: 51.94 kB / 0.7609 GB, free: 12.15 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.1854, allocations: 51.95 kB / 0.7609 GB, free: 12.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.1857, allocations: 96.77 kB / 0.761 GB, free: 12 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1857, allocations: 7.875 kB / 0.761 GB, free: 11.99 MB / 0.5607 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003932/0.1861, allocations: 141.5 kB / 0.7612 GB, free: 11.85 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1861, allocations: 4 kB / 0.7612 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1861, allocations: 0 / 0.7612 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1862, allocations: 7.984 kB / 0.7612 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1863, allocations: 23.97 kB / 0.7612 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1863, allocations: 0 / 0.7612 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.1864, allocations: 15.98 kB / 0.7612 GB, free: 11.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1864, allocations: 4 kB / 0.7612 GB, free: 11.79 MB / 0.5607 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.62e-05/0.1865, allocations: 118.3 kB / 0.7613 GB, free: 11.67 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1865, allocations: 3.953 kB / 0.7613 GB, free: 11.66 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.1866, allocations: 20.23 kB / 0.7614 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1866, allocations: 256 / 0.7614 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1866, allocations: 0 / 0.7614 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1866, allocations: 4 kB / 0.7614 GB, free: 11.63 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.1868, allocations: 197.6 kB / 0.7616 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1868, allocations: 0 / 0.7616 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.187, allocations: 23.97 kB / 0.7616 GB, free: 11.37 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.187, allocations: 0 / 0.7616 GB, free: 11.37 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.187, allocations: 0 / 0.7616 GB, free: 11.37 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.187, allocations: 0 / 0.7616 GB, free: 11.37 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.187, allocations: 4 kB / 0.7616 GB, free: 11.36 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.1877, allocations: 287.3 kB / 0.7619 GB, free: 11.07 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.1878, allocations: 85 kB / 0.7619 GB, free: 10.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1878, allocations: 4.031 kB / 0.7619 GB, free: 10.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1879, allocations: 16.05 kB / 0.762 GB, free: 10.95 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.188, allocations: 15.92 kB / 0.762 GB, free: 10.93 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.188, allocations: 0 / 0.762 GB, free: 10.93 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 7.717e-05/0.1881, allocations: 95.27 kB / 0.7621 GB, free: 10.84 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/0.1881, allocations: 0 / 0.7621 GB, free: 10.84 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002321/0.1883, allocations: 19.94 kB / 0.7621 GB, free: 10.82 MB / 0.5607 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.0001125/0.1884, allocations: 99.23 kB / 0.7622 GB, free: 10.71 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.1888, allocations: 103.9 kB / 0.7623 GB, free: 10.61 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1889, allocations: 0 / 0.7623 GB, free: 10.61 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.189, allocations: 51.89 kB / 0.7623 GB, free: 10.56 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1893, allocations: 10.12 kB / 0.7623 GB, free: 10.55 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.1898, allocations: 232.1 kB / 0.7626 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1902, allocations: 0.6994 MB / 0.7632 GB, free: 9.57 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 4.661e-05/0.1902, allocations: 4 kB / 0.7632 GB, free: 9.566 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.1902, allocations: 11.44 kB / 0.7633 GB, free: 9.555 MB / 0.5607 GB Notification: Performance of SimCode: time 3.1e-07/0.1902, allocations: 0 / 0.7633 GB, free: 9.555 MB / 0.5607 GB Notification: Performance of Templates: time 0.003398/0.1936, allocations: 0.8212 MB / 0.7641 GB, free: 8.742 MB / 0.5607 GB " [Timeout remaining time 660] make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.makefile [Timeout 660] (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=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 50] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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.470357912126929]