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.01039/0.01039, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.0012/0.0012, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001477/0.001477, allocations: 210 kB / 24.75 MB, free: 3.691 MB / 14.72 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.545/1.545, allocations: 230.6 MB / 258.5 MB, free: 13.09 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.105/1.105, allocations: 130.5 MB / 445.5 MB, free: 14.46 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. Notification: TILMedia 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. 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.4391/0.4391, allocations: 46.14 MB / 0.6549 GB, free: 30.73 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.6126, allocations: 89.05 MB / 0.7419 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003923/0.6165, allocations: 2.328 MB / 0.7442 GB, free: 16 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.6176, allocations: 0.5376 MB / 0.7447 GB, free: 15.47 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.6177, allocations: 4 kB / 0.7447 GB, free: 15.47 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.6178, allocations: 11.86 kB / 0.7447 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.6179, allocations: 7.875 kB / 0.7447 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.6182, allocations: 51.88 kB / 0.7448 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.6184, allocations: 87.7 kB / 0.7449 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.6185, allocations: 19.91 kB / 0.7449 GB, free: 15.29 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.6187, allocations: 35.86 kB / 0.7449 GB, free: 15.26 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.6188, allocations: 43.83 kB / 0.745 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.6188, allocations: 4 kB / 0.745 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.6189, allocations: 12 kB / 0.745 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.619, allocations: 19.91 kB / 0.745 GB, free: 15.18 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.619, allocations: 35.8 kB / 0.745 GB, free: 15.14 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.6192, allocations: 79.64 kB / 0.7451 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6192, allocations: 4 kB / 0.7451 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6192, allocations: 0 / 0.7451 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.6192, allocations: 0 / 0.7451 GB, free: 15.06 MB / 0.5607 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.000737/0.62, allocations: 419 kB / 0.7455 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.62, allocations: 12.03 kB / 0.7455 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.6201, allocations: 16.83 kB / 0.7455 GB, free: 14.58 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.6204, allocations: 196.2 kB / 0.7457 GB, free: 14.35 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.6204, allocations: 4.375 kB / 0.7457 GB, free: 14.34 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.6204, allocations: 8.375 kB / 0.7457 GB, free: 14.34 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.6208, allocations: 93.94 kB / 0.7458 GB, free: 14.24 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.6208, allocations: 0 / 0.7458 GB, free: 14.24 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.6208, allocations: 0 / 0.7458 GB, free: 14.24 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.6208, allocations: 4 kB / 0.7458 GB, free: 14.23 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.6211, allocations: 79.92 kB / 0.7459 GB, free: 14.16 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.6217, allocations: 320.7 kB / 0.7462 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.6223, allocations: 142.5 kB / 0.7463 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.6225, allocations: 56.84 kB / 0.7464 GB, free: 13.59 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.6225, allocations: 7.984 kB / 0.7464 GB, free: 13.58 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.6226, allocations: 34.56 kB / 0.7464 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.6226, allocations: 0 / 0.7464 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5): time 0.0007065/0.6233, allocations: 177.5 kB / 0.7466 GB, free: 13.36 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.6233, allocations: 51.41 kB / 0.7467 GB, free: 13.29 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.6235, allocations: 140 kB / 0.7468 GB, free: 13.15 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.6235, allocations: 25.7 kB / 0.7468 GB, free: 13.12 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.6236, allocations: 100.1 kB / 0.7469 GB, free: 13.02 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.6236, allocations: 19.8 kB / 0.7469 GB, free: 13 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.6236, allocations: 25.7 kB / 0.747 GB, free: 12.96 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6238, allocations: 318.8 kB / 0.7473 GB, free: 12.64 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.624, allocations: 55.89 kB / 0.7473 GB, free: 12.59 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.6242, allocations: 47.95 kB / 0.7474 GB, free: 12.54 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.6246, allocations: 100.8 kB / 0.7475 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6246, allocations: 0 / 0.7475 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004438/0.625, allocations: 133.6 kB / 0.7476 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6251, allocations: 4 kB / 0.7476 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6251, allocations: 3.984 kB / 0.7476 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6251, allocations: 4 kB / 0.7476 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.6252, allocations: 27.92 kB / 0.7476 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6252, allocations: 0 / 0.7476 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.6253, allocations: 15.97 kB / 0.7476 GB, free: 12.25 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.6254, allocations: 7.938 kB / 0.7476 GB, free: 12.24 MB / 0.5607 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.6255, allocations: 109.8 kB / 0.7477 GB, free: 12.12 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.6255, allocations: 15.88 kB / 0.7478 GB, free: 12.11 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.6256, allocations: 24.3 kB / 0.7478 GB, free: 12.08 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6256, allocations: 0 / 0.7478 GB, free: 12.08 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.6256, allocations: 0 / 0.7478 GB, free: 12.08 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6256, allocations: 0 / 0.7478 GB, free: 12.08 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.6258, allocations: 193.5 kB / 0.748 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6258, allocations: 0 / 0.748 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.626, allocations: 23.97 kB / 0.748 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.626, allocations: 0 / 0.748 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.626, allocations: 0 / 0.748 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.626, allocations: 256 / 0.748 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.626, allocations: 4 kB / 0.748 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.6267, allocations: 299.2 kB / 0.7483 GB, free: 11.51 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.6267, allocations: 81.06 kB / 0.7484 GB, free: 11.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.6268, allocations: 4.031 kB / 0.7484 GB, free: 11.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.6269, allocations: 11.98 kB / 0.7484 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.627, allocations: 11.98 kB / 0.7484 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.627, allocations: 3.938 kB / 0.7484 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 7.469e-05/0.627, allocations: 102.3 kB / 0.7485 GB, free: 11.28 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/0.627, allocations: 0 / 0.7485 GB, free: 11.28 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002408/0.6273, allocations: 19.94 kB / 0.7485 GB, free: 11.26 MB / 0.5607 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.0001264/0.6274, allocations: 103.3 kB / 0.7486 GB, free: 11.15 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0004517/0.6279, allocations: 103.8 kB / 0.7487 GB, free: 11.05 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6279, allocations: 0 / 0.7487 GB, free: 11.05 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.6281, allocations: 51.95 kB / 0.7488 GB, free: 11 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.6283, allocations: 8 kB / 0.7488 GB, free: 10.99 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.6289, allocations: 216.5 kB / 0.749 GB, free: 10.75 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.6292, allocations: 0.7 MB / 0.7497 GB, free: 10.02 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.6293, allocations: 8 kB / 0.7497 GB, free: 10.02 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.6293, allocations: 15.38 kB / 0.7497 GB, free: 10 MB / 0.5607 GB Notification: Performance of SimCode: time 5.51e-07/0.6293, allocations: 0 / 0.7497 GB, free: 10 MB / 0.5607 GB Notification: Performance of Templates: time 0.003783/0.6331, allocations: 0.8268 MB / 0.7505 GB, free: 9.18 MB / 0.5607 GB " [Timeout remaining time 799] 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: 6.394045281995204]