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/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.01029/0.01029, allocations: 1.767 MB / 21.24 MB, free: 0.668 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.001279/0.001279, allocations: 101 kB / 24.8 MB, free: 2.262 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.001499/0.001499, allocations: 194.3 kB / 28.5 MB, free: 3.59 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.389/1.389, allocations: 225.6 MB / 257.6 MB, free: 11.02 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.084/1.084, allocations: 129.1 MB / 442.4 MB, free: 14.32 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_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] "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.02914/0.02914, allocations: 20.96 MB / 0.6263 GB, free: 13.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.195, allocations: 80.49 MB / 0.7049 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003742/0.1987, allocations: 2.302 MB / 0.7072 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000877/0.1996, allocations: 486.7 kB / 0.7077 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.1997, allocations: 0 / 0.7077 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.365e-05/0.1997, allocations: 7.875 kB / 0.7077 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.1998, allocations: 11.88 kB / 0.7077 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2, allocations: 47.81 kB / 0.7077 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.2002, allocations: 83.7 kB / 0.7078 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.2003, allocations: 11.94 kB / 0.7078 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.2004, allocations: 39.89 kB / 0.7078 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.2005, allocations: 39.78 kB / 0.7079 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.2005, allocations: 8 kB / 0.7079 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.2005, allocations: 8 kB / 0.7079 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.2006, allocations: 15.98 kB / 0.7079 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2006, allocations: 31.8 kB / 0.7079 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.2008, allocations: 75.66 kB / 0.708 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2008, allocations: 3.984 kB / 0.708 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2008, allocations: 4 kB / 0.708 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2008, allocations: 0 / 0.708 GB, free: 9.676 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.0006827/0.2015, allocations: 330 kB / 0.7083 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2015, allocations: 8.625 kB / 0.7083 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.2015, allocations: 8.891 kB / 0.7084 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2017, allocations: 140 kB / 0.7085 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2017, allocations: 4.375 kB / 0.7085 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.2018, allocations: 12.38 kB / 0.7085 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.2021, allocations: 97.94 kB / 0.7086 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2021, allocations: 0 / 0.7086 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2021, allocations: 0 / 0.7086 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2021, allocations: 3.984 kB / 0.7086 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.2024, allocations: 79.88 kB / 0.7087 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.2029, allocations: 295.7 kB / 0.709 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.2036, allocations: 150.5 kB / 0.7091 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.2038, allocations: 48.81 kB / 0.7091 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2038, allocations: 4 kB / 0.7092 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2038, allocations: 34.56 kB / 0.7092 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2038, allocations: 0 / 0.7092 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0006828/0.2045, allocations: 173.5 kB / 0.7094 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.2045, allocations: 59.34 kB / 0.7094 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2047, allocations: 134 kB / 0.7095 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.2047, allocations: 25.7 kB / 0.7096 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.2048, allocations: 92.14 kB / 0.7096 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.2048, allocations: 23.78 kB / 0.7097 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.2048, allocations: 25.66 kB / 0.7097 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.205, allocations: 322.8 kB / 0.71 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.2052, allocations: 51.95 kB / 0.7101 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2054, allocations: 47.95 kB / 0.7101 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.2057, allocations: 100.8 kB / 0.7102 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2057, allocations: 0 / 0.7102 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004366/0.2062, allocations: 141.5 kB / 0.7103 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2062, allocations: 6.188 kB / 0.7103 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2062, allocations: 0 / 0.7103 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2062, allocations: 0 / 0.7103 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.2064, allocations: 31.97 kB / 0.7104 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2064, allocations: 0 / 0.7104 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2065, allocations: 15.97 kB / 0.7104 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2065, allocations: 4 kB / 0.7104 GB, free: 7.07 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 0.0001033/0.2066, allocations: 117.8 kB / 0.7105 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.2066, allocations: 3.953 kB / 0.7105 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.2067, allocations: 12.41 kB / 0.7105 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2067, allocations: 4 kB / 0.7105 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2067, allocations: 0 / 0.7105 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2067, allocations: 3.984 kB / 0.7105 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.2069, allocations: 160.7 kB / 0.7107 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2069, allocations: 0 / 0.7107 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.207, allocations: 23.97 kB / 0.7107 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.207, allocations: 0 / 0.7107 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2071, allocations: 4.234 kB / 0.7107 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2071, allocations: 7.938 kB / 0.7107 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2071, allocations: 7.984 kB / 0.7107 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.2077, allocations: 287.5 kB / 0.711 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.2078, allocations: 4.031 kB / 0.711 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.2078, allocations: 8.047 kB / 0.711 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2079, allocations: 11.98 kB / 0.711 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.208, allocations: 11.98 kB / 0.711 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.208, allocations: 3.938 kB / 0.711 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.208, allocations: 97.94 kB / 0.7111 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.208, allocations: 0 / 0.7111 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002315/0.2083, allocations: 23.89 kB / 0.7111 GB, free: 6.219 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.0001379/0.2084, allocations: 99.19 kB / 0.7112 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.2089, allocations: 111.8 kB / 0.7113 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2089, allocations: 0 / 0.7113 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.2091, allocations: 55.95 kB / 0.7114 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2094, allocations: 7.844 kB / 0.7114 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.2099, allocations: 220.7 kB / 0.7116 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2102, allocations: 0.6924 MB / 0.7123 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.862e-05/0.2103, allocations: 11.98 kB / 0.7123 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.2103, allocations: 7.438 kB / 0.7123 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.2103, allocations: 0 / 0.7123 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of Templates: time 0.003445/0.2138, allocations: 0.8363 MB / 0.7131 GB, free: 4.129 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins1/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.750028597074561]