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.01418/0.01418, allocations: 1.754 MB / 20.61 MB, free: 1.004 MB / 14.72 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.001527/0.001527, allocations: 102.5 kB / 24.18 MB, free: 2.438 MB / 14.72 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.001617/0.001617, allocations: 213.6 kB / 27.9 MB, free: 3.742 MB / 19.63 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 1.419/1.419, allocations: 230.6 MB / 262.1 MB, free: 5.84 MB / 206.1 MB " [Timeout remaining time 178] 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 1.053/1.053, allocations: 130.7 MB / 449.6 MB, free: 6.41 MB / 350.1 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 0.3.1 (/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: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06411/0.06411, allocations: 20.98 MB / 0.6363 GB, free: 4.254 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.2327, allocations: 81.91 MB / 0.7163 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003679/0.2364, allocations: 2.299 MB / 0.7186 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009826/0.2374, allocations: 0.491 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.2375, allocations: 3.938 kB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.39e-05/0.2375, allocations: 7.922 kB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.2376, allocations: 15.88 kB / 0.7191 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.2378, allocations: 51.88 kB / 0.7191 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.238, allocations: 87.7 kB / 0.7192 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.2381, allocations: 7.984 kB / 0.7192 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.2382, allocations: 43.84 kB / 0.7192 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.2383, allocations: 39.78 kB / 0.7193 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.2383, allocations: 4 kB / 0.7193 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-05/0.2384, allocations: 15.98 kB / 0.7193 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.2384, allocations: 19.92 kB / 0.7193 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.2385, allocations: 23.88 kB / 0.7193 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.2386, allocations: 79.7 kB / 0.7194 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2386, allocations: 0 / 0.7194 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2386, allocations: 0 / 0.7194 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.2387, allocations: 3.938 kB / 0.7194 GB, free: 15.03 MB / 0.545 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.0006604/0.2393, allocations: 341.9 kB / 0.7197 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2393, allocations: 12.03 kB / 0.7198 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.2395, allocations: 20.81 kB / 0.7198 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.2397, allocations: 138.4 kB / 0.7199 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.2398, allocations: 4.375 kB / 0.7199 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2398, allocations: 4.375 kB / 0.7199 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.2401, allocations: 93.94 kB / 0.72 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2401, allocations: 4 kB / 0.72 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2401, allocations: 4 kB / 0.72 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2401, allocations: 4 kB / 0.72 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.2404, allocations: 71.86 kB / 0.7201 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.2409, allocations: 252.4 kB / 0.7203 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.2415, allocations: 150.5 kB / 0.7205 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.2417, allocations: 52.81 kB / 0.7205 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2417, allocations: 0 / 0.7205 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2417, allocations: 34.56 kB / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.2417, allocations: 4 kB / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0006371/0.2423, allocations: 177.4 kB / 0.7207 GB, free: 13.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2424, allocations: 55.41 kB / 0.7208 GB, free: 13.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2425, allocations: 127.9 kB / 0.7209 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.2425, allocations: 33.7 kB / 0.7209 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.2426, allocations: 96.12 kB / 0.721 GB, free: 13.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2426, allocations: 19.8 kB / 0.721 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.2427, allocations: 21.7 kB / 0.7211 GB, free: 13.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2429, allocations: 322.8 kB / 0.7214 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.2431, allocations: 43.95 kB / 0.7214 GB, free: 12.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.2432, allocations: 55.94 kB / 0.7215 GB, free: 12.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.2436, allocations: 96.77 kB / 0.7216 GB, free: 12.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2436, allocations: 0 / 0.7216 GB, free: 12.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004079/0.244, allocations: 141.7 kB / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.244, allocations: 8 kB / 0.7217 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.244, allocations: 3.984 kB / 0.7217 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.244, allocations: 3.938 kB / 0.7217 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2442, allocations: 23.98 kB / 0.7217 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2442, allocations: 4.312 kB / 0.7217 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.2443, allocations: 23.91 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.2443, allocations: 4 kB / 0.7218 GB, free: 12.46 MB / 0.545 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.0001229/0.2444, allocations: 121.8 kB / 0.7219 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.2444, allocations: 7.953 kB / 0.7219 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.2445, allocations: 16.39 kB / 0.7219 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.2445, allocations: 3.984 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2445, allocations: 0 / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2445, allocations: 0 / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2447, allocations: 125.2 kB / 0.722 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2447, allocations: 0 / 0.722 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2448, allocations: 23.98 kB / 0.722 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2448, allocations: 7.938 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2448, allocations: 7.984 kB / 0.7221 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2448, allocations: 0 / 0.7221 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2448, allocations: 0 / 0.7221 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.2455, allocations: 287.2 kB / 0.7223 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.2455, allocations: 11.92 kB / 0.7223 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2455, allocations: 4 kB / 0.7224 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2457, allocations: 15.98 kB / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.2457, allocations: 3.984 kB / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2457, allocations: 4 kB / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.79e-05/0.2458, allocations: 101 kB / 0.7225 GB, free: 11.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2458, allocations: 0 / 0.7225 GB, free: 11.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002189/0.246, allocations: 12 kB / 0.7225 GB, free: 11.66 MB / 0.545 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.0001166/0.2462, allocations: 107.2 kB / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.2466, allocations: 99.91 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2466, allocations: 0 / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.2468, allocations: 55.95 kB / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.247, allocations: 3.938 kB / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.2475, allocations: 225 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.837e-05/0.2476, allocations: 82.41 kB / 0.723 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.2477, allocations: 8 kB / 0.723 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.2477, allocations: 11.44 kB / 0.723 GB, free: 11.02 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2477, allocations: 3.938 kB / 0.7231 GB, free: 11.01 MB / 0.545 GB Notification: Performance of Templates: time 0.003787/0.2515, allocations: 0.8903 MB / 0.7239 GB, free: 10.14 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins1/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.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 [Calling sys.exit(0), Time elapsed: 5.682659455109388]