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.0102/0.0102, allocations: 1.773 MB / 18.82 MB, free: 4.246 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.00116/0.00116, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001483/0.001483, allocations: 211.2 kB / 25.45 MB, free: 3.258 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.467/1.467, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.075/1.075, allocations: 130.6 MB / 446.3 MB, free: 14.5 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.3768/0.3768, allocations: 46.14 MB / 0.6556 GB, free: 30.8 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.5458, allocations: 89.05 MB / 0.7426 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003547/0.5494, allocations: 2.328 MB / 0.7449 GB, free: 12 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.5503, allocations: 0.5414 MB / 0.7454 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.5504, allocations: 0 / 0.7454 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.5504, allocations: 7.922 kB / 0.7454 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 6.771e-05/0.5505, allocations: 15.81 kB / 0.7454 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.5508, allocations: 47.88 kB / 0.7455 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.5509, allocations: 83.7 kB / 0.7455 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.551, allocations: 23.91 kB / 0.7456 GB, free: 15.29 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.5512, allocations: 39.91 kB / 0.7456 GB, free: 15.25 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.5513, allocations: 35.84 kB / 0.7456 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.5513, allocations: 8 kB / 0.7456 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.5513, allocations: 8 kB / 0.7457 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.5514, allocations: 23.91 kB / 0.7457 GB, free: 15.18 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.5514, allocations: 35.8 kB / 0.7457 GB, free: 15.14 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.5516, allocations: 79.64 kB / 0.7458 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5516, allocations: 0 / 0.7458 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5516, allocations: 0 / 0.7458 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5516, allocations: 3.938 kB / 0.7458 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.0007623/0.5524, allocations: 423 kB / 0.7462 GB, free: 14.6 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5524, allocations: 8.031 kB / 0.7462 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.5526, allocations: 20.88 kB / 0.7462 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.5529, allocations: 186.1 kB / 0.7464 GB, free: 14.35 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.5529, allocations: 384 / 0.7464 GB, free: 14.35 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.5529, allocations: 8.375 kB / 0.7464 GB, free: 14.34 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.5532, allocations: 113.8 kB / 0.7465 GB, free: 14.23 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.5532, allocations: 3.984 kB / 0.7465 GB, free: 14.22 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5533, allocations: 0 / 0.7465 GB, free: 14.22 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5533, allocations: 0 / 0.7465 GB, free: 14.22 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.5536, allocations: 75.92 kB / 0.7466 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.554, allocations: 328.7 kB / 0.7469 GB, free: 13.78 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.5547, allocations: 146.5 kB / 0.747 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.5549, allocations: 52.81 kB / 0.7471 GB, free: 13.57 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.5549, allocations: 0 / 0.7471 GB, free: 13.57 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5549, allocations: 34.55 kB / 0.7471 GB, free: 13.53 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.5549, allocations: 0 / 0.7471 GB, free: 13.53 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5): time 0.0006692/0.5556, allocations: 177.5 kB / 0.7473 GB, free: 13.35 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.5556, allocations: 51.41 kB / 0.7473 GB, free: 13.29 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.5558, allocations: 133.8 kB / 0.7475 GB, free: 13.14 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5558, allocations: 29.7 kB / 0.7475 GB, free: 13.11 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.5559, allocations: 104.1 kB / 0.7476 GB, free: 13 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.5559, allocations: 19.8 kB / 0.7476 GB, free: 12.98 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.5559, allocations: 21.7 kB / 0.7476 GB, free: 12.96 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5561, allocations: 322.8 kB / 0.748 GB, free: 12.63 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.5563, allocations: 47.95 kB / 0.748 GB, free: 12.59 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.5565, allocations: 51.94 kB / 0.748 GB, free: 12.54 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.5568, allocations: 92.78 kB / 0.7481 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5568, allocations: 4 kB / 0.7481 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004202/0.5572, allocations: 141.5 kB / 0.7483 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.5573, allocations: 10.81 kB / 0.7483 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5573, allocations: 0 / 0.7483 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5573, allocations: 0 / 0.7483 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.5574, allocations: 23.97 kB / 0.7483 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5574, allocations: 4 kB / 0.7483 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.974e-05/0.5575, allocations: 19.98 kB / 0.7483 GB, free: 12.24 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5575, allocations: 3.938 kB / 0.7483 GB, free: 12.23 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 9.616e-05/0.5576, allocations: 113.8 kB / 0.7484 GB, free: 12.11 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.5577, allocations: 7.953 kB / 0.7484 GB, free: 12.11 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.5577, allocations: 16.3 kB / 0.7485 GB, free: 12.09 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.5577, allocations: 0 / 0.7485 GB, free: 12.09 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5577, allocations: 0 / 0.7485 GB, free: 12.09 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5577, allocations: 0 / 0.7485 GB, free: 12.09 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.5579, allocations: 193.5 kB / 0.7486 GB, free: 11.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5579, allocations: 7.938 kB / 0.7487 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.5581, allocations: 27.91 kB / 0.7487 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5581, allocations: 0 / 0.7487 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5581, allocations: 256 / 0.7487 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5581, allocations: 0 / 0.7487 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5581, allocations: 4 kB / 0.7487 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006729/0.5588, allocations: 291.3 kB / 0.749 GB, free: 11.51 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.5588, allocations: 81.06 kB / 0.749 GB, free: 11.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.5588, allocations: 0 / 0.749 GB, free: 11.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.559, allocations: 16.02 kB / 0.7491 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.559, allocations: 12.05 kB / 0.7491 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.559, allocations: 7.938 kB / 0.7491 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.5591, allocations: 107.2 kB / 0.7492 GB, free: 11.27 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6e-08/0.5591, allocations: 0 / 0.7492 GB, free: 11.27 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002225/0.5593, allocations: 15.94 kB / 0.7492 GB, free: 11.25 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.0001167/0.5595, allocations: 99.19 kB / 0.7493 GB, free: 11.15 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.5599, allocations: 99.91 kB / 0.7494 GB, free: 11.05 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5599, allocations: 0 / 0.7494 GB, free: 11.05 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.5601, allocations: 55.89 kB / 0.7494 GB, free: 11 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.5603, allocations: 7.984 kB / 0.7494 GB, free: 10.99 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.5608, allocations: 220.5 kB / 0.7497 GB, free: 10.74 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5612, allocations: 0.7 MB / 0.7503 GB, free: 10.02 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 3.993e-05/0.5612, allocations: 0 / 0.7503 GB, free: 10.02 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.5612, allocations: 19.44 kB / 0.7504 GB, free: 9.996 MB / 0.5607 GB Notification: Performance of SimCode: time 2.9e-07/0.5612, allocations: 0 / 0.7504 GB, free: 9.996 MB / 0.5607 GB Notification: Performance of Templates: time 0.003421/0.5647, allocations: 0.8259 MB / 0.7512 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: 5.9450351420091465]