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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01641/0.01641, allocations: 1.337 MB / 21.02 MB, free: 0.6094 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.001776/0.001776, allocations: 88.81 kB / 24.58 MB, free: 1.879 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.00237/0.00237, allocations: 164.5 kB / 28.25 MB, free: 3.145 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.427/1.427, allocations: 177.2 MB / 209 MB, free: 7.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.021/1.021, allocations: 102.5 MB / 368.4 MB, free: 4.16 MB / 334.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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: 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.06913/0.06913, allocations: 20.96 MB / 0.5569 GB, free: 4.938 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.2311, allocations: 81.88 MB / 0.6369 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003468/0.2346, allocations: 2.296 MB / 0.6391 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.2355, allocations: 0.5026 MB / 0.6396 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.2356, allocations: 0 / 0.6396 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.2356, allocations: 11.92 kB / 0.6396 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.2357, allocations: 15.8 kB / 0.6396 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.236, allocations: 51.83 kB / 0.6397 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.2362, allocations: 87.69 kB / 0.6398 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.2363, allocations: 15.94 kB / 0.6398 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.2364, allocations: 39.91 kB / 0.6398 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.2365, allocations: 35.83 kB / 0.6398 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2365, allocations: 4 kB / 0.6399 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.2366, allocations: 16 kB / 0.6399 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.2366, allocations: 15.92 kB / 0.6399 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.2366, allocations: 31.8 kB / 0.6399 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.2368, allocations: 83.62 kB / 0.64 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2368, allocations: 0 / 0.64 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2368, allocations: 4 kB / 0.64 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2368, allocations: 0 / 0.64 GB, free: 15.7 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.0006662/0.2375, allocations: 341.9 kB / 0.6403 GB, free: 15.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2375, allocations: 8.031 kB / 0.6403 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2377, allocations: 16.88 kB / 0.6403 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.2379, allocations: 138.4 kB / 0.6405 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2379, allocations: 384 / 0.6405 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.2379, allocations: 12.31 kB / 0.6405 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.2382, allocations: 105.9 kB / 0.6406 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2382, allocations: 0 / 0.6406 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2383, allocations: 0 / 0.6406 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2383, allocations: 0 / 0.6406 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.2386, allocations: 75.92 kB / 0.6407 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.239, allocations: 256.4 kB / 0.6409 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.2396, allocations: 142.4 kB / 0.641 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.2398, allocations: 56.88 kB / 0.6411 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2398, allocations: 0 / 0.6411 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2399, allocations: 38.56 kB / 0.6411 GB, free: 14.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.2399, allocations: 0 / 0.6411 GB, free: 14.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0006665/0.2405, allocations: 177.5 kB / 0.6413 GB, free: 14.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.2406, allocations: 55.41 kB / 0.6414 GB, free: 14.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2407, allocations: 132.5 kB / 0.6415 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2407, allocations: 25.7 kB / 0.6415 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.2408, allocations: 92.14 kB / 0.6416 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.2408, allocations: 27.78 kB / 0.6416 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.2409, allocations: 21.66 kB / 0.6416 GB, free: 13.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.241, allocations: 326.8 kB / 0.642 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.2412, allocations: 51.95 kB / 0.642 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2414, allocations: 43.95 kB / 0.642 GB, free: 13.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.2418, allocations: 100.7 kB / 0.6421 GB, free: 13.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2418, allocations: 4 kB / 0.6421 GB, free: 13.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004214/0.2422, allocations: 137.5 kB / 0.6423 GB, free: 13.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2422, allocations: 8 kB / 0.6423 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2422, allocations: 0 / 0.6423 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2422, allocations: 0 / 0.6423 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2424, allocations: 28.22 kB / 0.6423 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2424, allocations: 0 / 0.6423 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2425, allocations: 23.97 kB / 0.6423 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2425, allocations: 0 / 0.6423 GB, free: 13.13 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.0001056/0.2426, allocations: 121.7 kB / 0.6424 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.2426, allocations: 11.95 kB / 0.6425 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.2427, allocations: 12.47 kB / 0.6425 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2427, allocations: 0 / 0.6425 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.2427, allocations: 7.922 kB / 0.6425 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2427, allocations: 0 / 0.6425 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2428, allocations: 125.2 kB / 0.6426 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2428, allocations: 0 / 0.6426 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.243, allocations: 23.97 kB / 0.6426 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.243, allocations: 0 / 0.6426 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.243, allocations: 4 kB / 0.6426 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.243, allocations: 3.984 kB / 0.6426 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.243, allocations: 0 / 0.6426 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.2437, allocations: 291.3 kB / 0.6429 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.2437, allocations: 7.891 kB / 0.6429 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2438, allocations: 7.922 kB / 0.6429 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2439, allocations: 15.98 kB / 0.6429 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.2439, allocations: 7.984 kB / 0.6429 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.2439, allocations: 4.062 kB / 0.6429 GB, free: 12.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.116e-05/0.244, allocations: 103.3 kB / 0.643 GB, free: 12.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.244, allocations: 0 / 0.643 GB, free: 12.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002343/0.2443, allocations: 12 kB / 0.6431 GB, free: 12.32 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.0001067/0.2444, allocations: 91.25 kB / 0.6431 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.2448, allocations: 107.9 kB / 0.6432 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2448, allocations: 0 / 0.6432 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.245, allocations: 55.89 kB / 0.6433 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2453, allocations: 11.88 kB / 0.6433 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.2458, allocations: 213.1 kB / 0.6435 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.2458, allocations: 87.75 kB / 0.6436 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.2459, allocations: 3.984 kB / 0.6436 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.2459, allocations: 16.5 kB / 0.6436 GB, free: 11.68 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2459, allocations: 0 / 0.6436 GB, free: 11.68 MB / 0.545 GB Notification: Performance of Templates: time 0.003573/0.2495, allocations: 0.8363 MB / 0.6444 GB, free: 10.86 MB / 0.545 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 ida -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.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.819011612096801]