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.02112/0.02112, allocations: 1.8 MB / 21.15 MB, free: 3.242 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.001722/0.001722, allocations: 80.52 kB / 24.88 MB, free: 6.828 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.00202/0.00202, allocations: 166.5 kB / 28.74 MB, free: 3.66 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 1.457/1.457, allocations: 177.2 MB / 209.6 MB, free: 2.379 MB / 186.7 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.075/1.075, allocations: 102.5 MB / 369.1 MB, free: 0.8555 MB / 330.8 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 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_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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 469.1 MB, free: 12.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/3.936e-05, allocations: 7.516 kB / 469.1 MB, free: 12.96 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003873/0.003912, allocations: 2.312 MB / 471.5 MB, free: 10.64 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.005197, allocations: 0.5143 MB / 472 MB, free: 10.12 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.005261, allocations: 0 / 472 MB, free: 10.12 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.679e-05/0.005328, allocations: 7.875 kB / 472 MB, free: 10.11 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.005415, allocations: 19.8 kB / 472 MB, free: 10.09 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.00572, allocations: 47.88 kB / 472 MB, free: 10.04 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.005899, allocations: 83.7 kB / 472.1 MB, free: 9.961 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.006015, allocations: 15.98 kB / 472.1 MB, free: 9.945 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.006225, allocations: 55.81 kB / 472.2 MB, free: 9.891 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.006297, allocations: 27.91 kB / 472.2 MB, free: 9.863 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.006334, allocations: 8 kB / 472.2 MB, free: 9.855 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.006392, allocations: 12 kB / 472.2 MB, free: 9.844 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.00645, allocations: 15.97 kB / 472.3 MB, free: 9.828 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.006496, allocations: 23.92 kB / 472.3 MB, free: 9.805 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.006694, allocations: 87.69 kB / 472.4 MB, free: 9.719 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.006698, allocations: 4 kB / 472.4 MB, free: 9.715 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0067, allocations: 0 / 472.4 MB, free: 9.715 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.006705, allocations: 0 / 472.4 MB, free: 9.715 MB / 442.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.0007845/0.00749, allocations: 431.9 kB / 472.8 MB, free: 9.258 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.007538, allocations: 8.031 kB / 472.8 MB, free: 9.25 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.007703, allocations: 16.89 kB / 472.8 MB, free: 9.234 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.00794, allocations: 144.4 kB / 473 MB, free: 9.066 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.007966, allocations: 8.375 kB / 473 MB, free: 9.059 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.007993, allocations: 12.31 kB / 473 MB, free: 9.047 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.008266, allocations: 82.2 kB / 473.1 MB, free: 8.961 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.008276, allocations: 192 / 473.1 MB, free: 8.961 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.008289, allocations: 4.375 kB / 473.1 MB, free: 8.957 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.008297, allocations: 3.938 kB / 473.1 MB, free: 8.953 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.008515, allocations: 55.97 kB / 473.1 MB, free: 8.898 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.009096, allocations: 319.6 kB / 473.4 MB, free: 8.551 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006664/0.009762, allocations: 139 kB / 473.6 MB, free: 8.402 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.009914, allocations: 35.67 kB / 473.6 MB, free: 8.363 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.009941, allocations: 8 kB / 473.6 MB, free: 8.355 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.009985, allocations: 37.42 kB / 473.6 MB, free: 8.309 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.009986, allocations: 4 kB / 473.6 MB, free: 8.305 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0006116/0.0106, allocations: 141.6 kB / 473.8 MB, free: 8.16 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.01066, allocations: 55.41 kB / 473.8 MB, free: 8.094 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.01086, allocations: 196.7 kB / 474 MB, free: 7.887 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01088, allocations: 25.7 kB / 474.1 MB, free: 7.855 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.01101, allocations: 154.8 kB / 474.2 MB, free: 7.699 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.01104, allocations: 15.86 kB / 474.2 MB, free: 7.684 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.0111, allocations: 35.36 kB / 474.3 MB, free: 7.641 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003102/0.01142, allocations: 0.4923 MB / 474.8 MB, free: 7.137 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.01156, allocations: 35.98 kB / 474.8 MB, free: 7.102 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.0117, allocations: 47.89 kB / 474.8 MB, free: 7.055 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.01197, allocations: 75.64 kB / 474.9 MB, free: 6.977 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01197, allocations: 0 / 474.9 MB, free: 6.977 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003589/0.01233, allocations: 129.5 kB / 475 MB, free: 6.844 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01235, allocations: 4 kB / 475 MB, free: 6.84 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01236, allocations: 0 / 475 MB, free: 6.84 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01238, allocations: 3.984 kB / 475 MB, free: 6.836 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01249, allocations: 19.98 kB / 475.1 MB, free: 6.816 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.0125, allocations: 0 / 475.1 MB, free: 6.816 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.01299, allocations: 23.86 kB / 475.1 MB, free: 6.793 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.013, allocations: 4 kB / 475.1 MB, free: 6.789 MB / 442.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 0.000156/0.01315, allocations: 160.6 kB / 475.2 MB, free: 6.621 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.0132, allocations: 11.89 kB / 475.3 MB, free: 6.609 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.01325, allocations: 12.47 kB / 475.3 MB, free: 6.602 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01325, allocations: 0 / 475.3 MB, free: 6.602 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.01325, allocations: 0 / 475.3 MB, free: 6.602 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01326, allocations: 0 / 475.3 MB, free: 6.602 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.01348, allocations: 144.5 kB / 475.4 MB, free: 6.426 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01348, allocations: 0 / 475.4 MB, free: 6.426 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.01362, allocations: 23.92 kB / 475.4 MB, free: 6.402 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.01363, allocations: 7.984 kB / 475.4 MB, free: 6.395 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.01364, allocations: 0 / 475.4 MB, free: 6.395 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01364, allocations: 0 / 475.4 MB, free: 6.395 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01364, allocations: 0 / 475.4 MB, free: 6.395 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.01428, allocations: 316 kB / 475.7 MB, free: 6.066 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.0143, allocations: 11.89 kB / 475.8 MB, free: 6.055 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.01432, allocations: 0 / 475.8 MB, free: 6.055 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.01443, allocations: 20.02 kB / 475.8 MB, free: 6.035 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.01451, allocations: 3.984 kB / 475.8 MB, free: 6.031 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01452, allocations: 4 kB / 475.8 MB, free: 6.027 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001169/0.01463, allocations: 147.1 kB / 475.9 MB, free: 5.883 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01463, allocations: 0 / 475.9 MB, free: 5.883 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002393/0.01487, allocations: 12 kB / 475.9 MB, free: 5.871 MB / 442.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 0.0001789/0.01505, allocations: 95.25 kB / 476 MB, free: 5.766 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.01543, allocations: 103.6 kB / 476.1 MB, free: 5.66 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01543, allocations: 0 / 476.1 MB, free: 5.66 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.01559, allocations: 51.66 kB / 476.2 MB, free: 5.605 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.0159, allocations: 11.98 kB / 476.2 MB, free: 5.594 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.01652, allocations: 202.9 kB / 476.4 MB, free: 5.355 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.01664, allocations: 91.23 kB / 476.5 MB, free: 5.246 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.01669, allocations: 4 kB / 476.5 MB, free: 5.242 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.01674, allocations: 12.5 kB / 476.5 MB, free: 5.23 MB / 442.8 MB Notification: Performance of SimCode: time 1.824e-06/0.01674, allocations: 0 / 476.5 MB, free: 5.23 MB / 442.8 MB Notification: Performance of Templates: time 0.004491/0.02123, allocations: 0.8571 MB / 477.4 MB, free: 4.383 MB / 442.8 MB " [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=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins/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.651304891915061]