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.01738/0.01738, allocations: 1.458 MB / 20.81 MB, free: 3.617 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.009972/0.009972, allocations: 72.94 kB / 24.44 MB, free: 7.531 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.002106/0.002106, allocations: 158.1 kB / 28.19 MB, free: 4.672 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.443/1.443, allocations: 177.2 MB / 209 MB, free: 2.805 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.089/1.089, allocations: 102.5 MB / 368.3 MB, free: 1.277 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 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_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 1.924e-06/1.924e-06, allocations: 0 / 468.3 MB, free: 13.51 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.583e-05, allocations: 7.797 kB / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.004283/0.004318, allocations: 2.3 MB / 470.6 MB, free: 11.19 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.005528, allocations: 0.5026 MB / 471.1 MB, free: 10.68 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.00561, allocations: 0 / 471.1 MB, free: 10.68 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.848e-05/0.005679, allocations: 11.86 kB / 471.1 MB, free: 10.67 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 8.266e-05/0.005761, allocations: 19.81 kB / 471.1 MB, free: 10.65 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.006099, allocations: 43.88 kB / 471.2 MB, free: 10.61 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.006298, allocations: 87.7 kB / 471.3 MB, free: 10.52 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.006411, allocations: 15.97 kB / 471.3 MB, free: 10.5 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.006651, allocations: 51.84 kB / 471.3 MB, free: 10.45 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.006734, allocations: 35.88 kB / 471.4 MB, free: 10.42 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.006758, allocations: 8 kB / 471.4 MB, free: 10.41 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.006814, allocations: 8 kB / 471.4 MB, free: 10.4 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.006868, allocations: 19.98 kB / 471.4 MB, free: 10.38 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.006923, allocations: 27.91 kB / 471.4 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.007133, allocations: 83.7 kB / 471.5 MB, free: 10.27 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.007135, allocations: 0 / 471.5 MB, free: 10.27 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007137, allocations: 0 / 471.5 MB, free: 10.27 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.007142, allocations: 0 / 471.5 MB, free: 10.27 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.0007711/0.007913, allocations: 341.8 kB / 471.8 MB, free: 9.91 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.007964, allocations: 12.03 kB / 471.8 MB, free: 9.898 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.008171, allocations: 28.88 kB / 471.9 MB, free: 9.871 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.008459, allocations: 129.6 kB / 472 MB, free: 9.719 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.008486, allocations: 4.375 kB / 472 MB, free: 9.715 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.008517, allocations: 4.375 kB / 472 MB, free: 9.711 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.008843, allocations: 94.12 kB / 472.1 MB, free: 9.613 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.008851, allocations: 192 / 472.1 MB, free: 9.613 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.008868, allocations: 4.375 kB / 472.1 MB, free: 9.609 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.008876, allocations: 7.938 kB / 472.1 MB, free: 9.602 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.009175, allocations: 75.92 kB / 472.2 MB, free: 9.527 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.009717, allocations: 252.4 kB / 472.4 MB, free: 9.25 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.0104, allocations: 150.4 kB / 472.6 MB, free: 9.094 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.01059, allocations: 48.81 kB / 472.6 MB, free: 9.043 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.01061, allocations: 4 kB / 472.6 MB, free: 9.039 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.01064, allocations: 30.56 kB / 472.7 MB, free: 9 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.01064, allocations: 4.094 kB / 472.7 MB, free: 8.996 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0007032/0.01135, allocations: 177.5 kB / 472.8 MB, free: 8.816 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.0114, allocations: 55.41 kB / 472.9 MB, free: 8.75 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.01155, allocations: 132.2 kB / 473 MB, free: 8.613 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.01158, allocations: 29.7 kB / 473.1 MB, free: 8.578 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.01167, allocations: 100 kB / 473.2 MB, free: 8.477 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.01171, allocations: 23.84 kB / 473.2 MB, free: 8.453 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.01176, allocations: 17.72 kB / 473.2 MB, free: 8.43 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.01197, allocations: 322.8 kB / 473.5 MB, free: 8.105 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.01217, allocations: 43.95 kB / 473.5 MB, free: 8.062 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.01236, allocations: 47.94 kB / 473.6 MB, free: 8.016 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.01272, allocations: 104.7 kB / 473.7 MB, free: 7.91 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.01273, allocations: 3.938 kB / 473.7 MB, free: 7.906 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004402/0.01317, allocations: 145.6 kB / 473.8 MB, free: 7.758 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.01318, allocations: 4 kB / 473.8 MB, free: 7.754 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01319, allocations: 0 / 473.8 MB, free: 7.754 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/0.01322, allocations: 3.984 kB / 473.9 MB, free: 7.75 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.01337, allocations: 23.97 kB / 473.9 MB, free: 7.727 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.01338, allocations: 4 kB / 473.9 MB, free: 7.723 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.01348, allocations: 19.91 kB / 473.9 MB, free: 7.703 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.01349, allocations: 0 / 473.9 MB, free: 7.703 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.0001279/0.01362, allocations: 125.7 kB / 474 MB, free: 7.57 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.01367, allocations: 11.95 kB / 474 MB, free: 7.559 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.0137, allocations: 12.47 kB / 474 MB, free: 7.551 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.01371, allocations: 3.984 kB / 474 MB, free: 7.547 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.01371, allocations: 0 / 474 MB, free: 7.547 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01371, allocations: 0 / 474 MB, free: 7.547 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.01392, allocations: 129.5 kB / 474.2 MB, free: 7.391 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.01392, allocations: 7.938 kB / 474.2 MB, free: 7.383 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.01408, allocations: 23.97 kB / 474.2 MB, free: 7.359 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01408, allocations: 4 kB / 474.2 MB, free: 7.355 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.0141, allocations: 3.984 kB / 474.2 MB, free: 7.352 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0141, allocations: 0 / 474.2 MB, free: 7.352 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.0141, allocations: 0 / 474.2 MB, free: 7.352 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.01484, allocations: 291.3 kB / 474.5 MB, free: 7.051 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.01486, allocations: 7.969 kB / 474.5 MB, free: 7.043 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01488, allocations: 3.984 kB / 474.5 MB, free: 7.039 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.01502, allocations: 11.98 kB / 474.5 MB, free: 7.027 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.01509, allocations: 11.98 kB / 474.5 MB, free: 7.016 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.0151, allocations: 0 / 474.5 MB, free: 7.016 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001002/0.0152, allocations: 110.3 kB / 474.6 MB, free: 6.91 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0152, allocations: 0 / 474.6 MB, free: 6.91 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002419/0.01544, allocations: 15.95 kB / 474.7 MB, free: 6.895 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.0001446/0.01559, allocations: 99.3 kB / 474.8 MB, free: 6.785 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.01602, allocations: 103.9 kB / 474.9 MB, free: 6.684 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01602, allocations: 3.938 kB / 474.9 MB, free: 6.68 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.01623, allocations: 47.95 kB / 474.9 MB, free: 6.633 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.0165, allocations: 19.94 kB / 474.9 MB, free: 6.613 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/0.0171, allocations: 197.3 kB / 475.1 MB, free: 6.383 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.93e-05/0.0172, allocations: 83.25 kB / 475.2 MB, free: 6.281 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 5.575e-05/0.01725, allocations: 8 kB / 475.2 MB, free: 6.273 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.01731, allocations: 16.5 kB / 475.2 MB, free: 6.258 MB / 442.8 MB Notification: Performance of SimCode: time 5.62e-07/0.01731, allocations: 0 / 475.2 MB, free: 6.258 MB / 442.8 MB Notification: Performance of Templates: time 0.004245/0.02155, allocations: 0.8593 MB / 476.1 MB, free: 5.414 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=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/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.713172682910226]