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.02034/0.02034, allocations: 1.794 MB / 21.35 MB, free: 3.191 MB / 18.57 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.004156/0.004156, allocations: 86.92 kB / 25.15 MB, free: 6.316 MB / 18.57 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.000888/0.000888, allocations: 161.6 kB / 29.05 MB, free: 3.352 MB / 18.57 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 0.8806/0.8806, allocations: 177.1 MB / 210 MB, free: 3.59 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6026/0.6026, allocations: 102.5 MB / 369.5 MB, free: 384 kB / 330.7 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 1.0.0 (/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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 470 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.25e-05, allocations: 4.094 kB / 470 MB, free: 19.03 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003018/0.00304, allocations: 2.38 MB / 472.3 MB, free: 17.45 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.003901, allocations: 0.5186 MB / 472.9 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.00396, allocations: 1.406 kB / 472.9 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.568e-05/0.004016, allocations: 3.938 kB / 472.9 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.00409, allocations: 18.52 kB / 472.9 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.00436, allocations: 54.39 kB / 472.9 MB, free: 17.06 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.004498, allocations: 82.55 kB / 473 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.004601, allocations: 19.19 kB / 473 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.004772, allocations: 57.95 kB / 473.1 MB, free: 16.99 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.004834, allocations: 27.05 kB / 473.1 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.004856, allocations: 5.969 kB / 473.1 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.004905, allocations: 14.88 kB / 473.1 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.004948, allocations: 18.08 kB / 473.2 MB, free: 16.97 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.00498, allocations: 23.83 kB / 473.2 MB, free: 16.96 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.005114, allocations: 62.58 kB / 473.2 MB, free: 16.92 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005116, allocations: 4.969 kB / 473.2 MB, free: 16.92 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005116, allocations: 0 / 473.2 MB, free: 16.92 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005121, allocations: 3.422 kB / 473.3 MB, free: 16.92 MB / 410.8 MB 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.0004473/0.005568, allocations: 422.3 kB / 473.7 MB, free: 16.52 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.005606, allocations: 12.78 kB / 473.7 MB, free: 16.52 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.005741, allocations: 19.91 kB / 473.7 MB, free: 16.52 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005889, allocations: 135.9 kB / 473.8 MB, free: 16.38 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.005911, allocations: 4 kB / 473.8 MB, free: 16.38 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.005939, allocations: 7.312 kB / 473.8 MB, free: 16.37 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.006132, allocations: 89.36 kB / 473.9 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.00614, allocations: 192 / 473.9 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.006153, allocations: 7.219 kB / 473.9 MB, free: 16.31 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.006162, allocations: 3.938 kB / 473.9 MB, free: 16.31 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.006222, allocations: 18.73 kB / 474 MB, free: 16.3 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.006596, allocations: 306.9 kB / 474.3 MB, free: 16.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.006907, allocations: 83.77 kB / 474.3 MB, free: 15.98 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.006953, allocations: 16.45 kB / 474.4 MB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.006973, allocations: 2.844 kB / 474.4 MB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.006991, allocations: 37.89 kB / 474.4 MB, free: 15.92 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.006992, allocations: 0 / 474.4 MB, free: 15.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002157/0.007208, allocations: 71.14 kB / 474.5 MB, free: 15.88 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.007227, allocations: 54.34 kB / 474.5 MB, free: 15.81 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.007313, allocations: 194.3 kB / 474.7 MB, free: 15.64 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.007322, allocations: 25.7 kB / 474.7 MB, free: 15.61 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.007361, allocations: 142.3 kB / 474.9 MB, free: 15.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.007391, allocations: 25.94 kB / 474.9 MB, free: 15.45 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.007432, allocations: 25.88 kB / 474.9 MB, free: 15.42 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003013/0.007733, allocations: 0.4905 MB / 475.4 MB, free: 30.92 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.007782, allocations: 10 kB / 475.4 MB, free: 30.92 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.007818, allocations: 12.38 kB / 475.4 MB, free: 30.92 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.113e-05/0.00789, allocations: 32.83 kB / 475.5 MB, free: 30.9 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007892, allocations: 0.875 kB / 475.5 MB, free: 30.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/0.008024, allocations: 71.41 kB / 475.5 MB, free: 30.85 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.008039, allocations: 6.25 kB / 475.5 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.008044, allocations: 0 / 475.5 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.008061, allocations: 0.75 kB / 475.5 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.008177, allocations: 22.17 kB / 475.6 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008183, allocations: 0.8438 kB / 475.6 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.008239, allocations: 16.83 kB / 475.6 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.008249, allocations: 1.969 kB / 475.6 MB, free: 30.85 MB / 426.8 MB 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 8.071e-05/0.00833, allocations: 163.2 kB / 475.7 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.008365, allocations: 8.375 kB / 475.8 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.008392, allocations: 11.89 kB / 475.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.008394, allocations: 2.125 kB / 475.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.008398, allocations: 2.188 kB / 475.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.008401, allocations: 0 / 475.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.008525, allocations: 145.8 kB / 475.9 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.008527, allocations: 0 / 475.9 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.008623, allocations: 22.36 kB / 475.9 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.008625, allocations: 7.344 kB / 475.9 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.008637, allocations: 0 / 475.9 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008638, allocations: 0 / 475.9 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008639, allocations: 3.594 kB / 475.9 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.00886, allocations: 223.7 kB / 476.2 MB, free: 30.3 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.008871, allocations: 18.67 kB / 476.2 MB, free: 30.29 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.008888, allocations: 3.875 kB / 476.2 MB, free: 30.29 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.008982, allocations: 9.938 kB / 476.2 MB, free: 30.29 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.009029, allocations: 10.09 kB / 476.2 MB, free: 30.28 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.009036, allocations: 1.25 kB / 476.2 MB, free: 30.28 MB / 426.8 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.009104, allocations: 140.8 kB / 476.3 MB, free: 30.16 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009105, allocations: 0 / 476.3 MB, free: 30.16 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002112/0.009316, allocations: 11.97 kB / 476.4 MB, free: 30.16 MB / 426.8 MB 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 5.863e-05/0.009374, allocations: 98.38 kB / 476.4 MB, free: 30.07 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 9.984e-05/0.009474, allocations: 42.98 kB / 476.5 MB, free: 30.05 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.009476, allocations: 0 / 476.5 MB, free: 30.05 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.009506, allocations: 25.31 kB / 476.5 MB, free: 30.04 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.009679, allocations: 12.72 kB / 476.5 MB, free: 30.04 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.01012, allocations: 196.8 kB / 476.7 MB, free: 29.87 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.333e-05/0.01014, allocations: 63.22 kB / 476.8 MB, free: 29.8 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.647e-05/0.01017, allocations: 3.844 kB / 476.8 MB, free: 29.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.0102, allocations: 11.81 kB / 476.8 MB, free: 29.79 MB / 426.8 MB Notification: Performance of SimCode: time 5.41e-07/0.0102, allocations: 0 / 476.8 MB, free: 29.79 MB / 426.8 MB Notification: Performance of Templates: time 0.00213/0.01233, allocations: 0.8581 MB / 477.7 MB, free: 29.73 MB / 426.8 MB " [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=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 240] 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","",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 filterSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff.mat", vars={"timeExtrema.ymin"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] filterSimulationResults("/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.ref.mat", vars={"timeExtrema.ymin"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.559507839847356]