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.008222/0.008222, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007479/0.0007479, allocations: 92.92 kB / 24.91 MB, free: 7.27 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.0009581/0.0009581, allocations: 168.6 kB / 28.62 MB, free: 4.449 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.8786/0.8786, allocations: 177.2 MB / 209.4 MB, free: 2.973 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.7028/0.7028, allocations: 102.5 MB / 368.7 MB, free: 1.488 MB / 330.8 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.5.2 (/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.814e-06/1.814e-06, allocations: 0 / 0.5374 GB, free: 39.82 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.876e-05, allocations: 3.438 kB / 0.5374 GB, free: 39.82 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002271/0.00229, allocations: 2.297 MB / 0.5397 GB, free: 38.24 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006704/0.00296, allocations: 0.5105 MB / 0.5402 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.003018, allocations: 1.125 kB / 0.5402 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.003063, allocations: 10.83 kB / 0.5402 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.003126, allocations: 12.06 kB / 0.5402 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.003431, allocations: 54.34 kB / 0.5402 GB, free: 37.85 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.003562, allocations: 84.77 kB / 0.5403 GB, free: 37.81 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003663, allocations: 15.97 kB / 0.5403 GB, free: 37.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.003804, allocations: 50.86 kB / 0.5404 GB, free: 37.78 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.003865, allocations: 35.78 kB / 0.5404 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.003883, allocations: 5.906 kB / 0.5404 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.376e-05/0.003927, allocations: 11.12 kB / 0.5404 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.003972, allocations: 18.72 kB / 0.5404 GB, free: 37.75 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.004, allocations: 33.64 kB / 0.5405 GB, free: 37.73 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.004124, allocations: 76.8 kB / 0.5405 GB, free: 37.7 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.004126, allocations: 3.219 kB / 0.5405 GB, free: 37.7 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004127, allocations: 0 / 0.5405 GB, free: 37.7 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004132, allocations: 1.25 kB / 0.5405 GB, free: 37.7 MB / 490.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.0004136/0.004545, allocations: 335.7 kB / 0.5409 GB, free: 37.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.004582, allocations: 9.469 kB / 0.5409 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.00468, allocations: 20.16 kB / 0.5409 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.004825, allocations: 130.7 kB / 0.541 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.004845, allocations: 2.844 kB / 0.541 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.004865, allocations: 7.719 kB / 0.541 GB, free: 37.26 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.005047, allocations: 99.44 kB / 0.5411 GB, free: 37.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005055, allocations: 192 / 0.5411 GB, free: 37.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.005065, allocations: 2.125 kB / 0.5411 GB, free: 37.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005071, allocations: 6.25 kB / 0.5411 GB, free: 37.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.005225, allocations: 75.64 kB / 0.5412 GB, free: 37.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.00551, allocations: 257.4 kB / 0.5415 GB, free: 36.96 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.005878, allocations: 152.2 kB / 0.5416 GB, free: 36.92 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.00597, allocations: 52.44 kB / 0.5416 GB, free: 36.91 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.005986, allocations: 3.312 kB / 0.5417 GB, free: 36.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.104e-05/0.005997, allocations: 34.56 kB / 0.5417 GB, free: 36.86 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.005999, allocations: 0 / 0.5417 GB, free: 36.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=5): time 0.0003561/0.006355, allocations: 181.8 kB / 0.5419 GB, free: 36.8 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.006376, allocations: 52.81 kB / 0.5419 GB, free: 36.74 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/0.006444, allocations: 135.3 kB / 0.542 GB, free: 36.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.006451, allocations: 26.95 kB / 0.5421 GB, free: 36.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.006484, allocations: 94.73 kB / 0.5422 GB, free: 36.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.006504, allocations: 23.7 kB / 0.5422 GB, free: 36.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.006535, allocations: 22.47 kB / 0.5422 GB, free: 36.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.66e-05/0.006571, allocations: 320.8 kB / 0.5425 GB, free: 36.15 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.006664, allocations: 49.2 kB / 0.5426 GB, free: 36.14 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.00676, allocations: 50.72 kB / 0.5426 GB, free: 36.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.006934, allocations: 101.7 kB / 0.5427 GB, free: 36.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006936, allocations: 5.094 kB / 0.5427 GB, free: 36.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002139/0.00715, allocations: 136.9 kB / 0.5428 GB, free: 36.05 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.007164, allocations: 5.188 kB / 0.5428 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007169, allocations: 1.312 kB / 0.5428 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.007181, allocations: 4.531 kB / 0.5428 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.007258, allocations: 25.19 kB / 0.5429 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.007263, allocations: 0 / 0.5429 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.007307, allocations: 16.73 kB / 0.5429 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.007317, allocations: 14.3 kB / 0.5429 GB, free: 36.04 MB / 490.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 4.479e-05/0.007361, allocations: 120.8 kB / 0.543 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.007377, allocations: 8.078 kB / 0.543 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.007397, allocations: 10.78 kB / 0.543 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007399, allocations: 0 / 0.543 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007403, allocations: 1.406 kB / 0.543 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007406, allocations: 0 / 0.543 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.007489, allocations: 131.8 kB / 0.5432 GB, free: 35.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.00749, allocations: 5.719 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.007558, allocations: 26.66 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.007559, allocations: 0.6562 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.007568, allocations: 1.719 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.007569, allocations: 1.031 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00757, allocations: 0 / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.007911, allocations: 287.7 kB / 0.5435 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.007921, allocations: 13.98 kB / 0.5435 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.007935, allocations: 4.969 kB / 0.5435 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.007994, allocations: 19.23 kB / 0.5435 GB, free: 35.57 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.008041, allocations: 10.5 kB / 0.5435 GB, free: 35.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.008045, allocations: 1.312 kB / 0.5435 GB, free: 35.57 MB / 490.8 MB Notification: Performance of sorting global known variables: time 3.342e-05/0.008078, allocations: 101.2 kB / 0.5436 GB, free: 35.49 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008078, allocations: 3.188 kB / 0.5436 GB, free: 35.49 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001521/0.00823, allocations: 14.62 kB / 0.5436 GB, free: 35.49 MB / 490.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.936e-05/0.00829, allocations: 93.38 kB / 0.5437 GB, free: 35.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.008514, allocations: 104.1 kB / 0.5438 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008516, allocations: 0 / 0.5438 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.008611, allocations: 56.52 kB / 0.5439 GB, free: 35.37 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.008793, allocations: 15.41 kB / 0.5439 GB, free: 35.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.009127, allocations: 223.5 kB / 0.5441 GB, free: 35.17 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.009181, allocations: 85.98 kB / 0.5442 GB, free: 35.09 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.009217, allocations: 11.22 kB / 0.5442 GB, free: 35.08 MB / 490.8 MB Notification: Performance of SimCode: time 5.71e-07/0.009217, allocations: 0 / 0.5442 GB, free: 35.08 MB / 490.8 MB Notification: Performance of Templates: time 0.002265/0.01148, allocations: 1.164 MB / 0.5453 GB, free: 35.01 MB / 490.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=800 -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/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",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:time,timeExtrema.ymax,timeExtrema.ymin [Calling sys.exit(0), Time elapsed: 5.3608814580366015]