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.01376/0.01376, allocations: 1.781 MB / 21.57 MB, free: 2.902 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.0008769/0.0008769, allocations: 85.23 kB / 25.4 MB, free: 7 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.0008852/0.0008852, allocations: 158.9 kB / 29.33 MB, free: 3.137 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.8671/0.8671, allocations: 177.1 MB / 210.3 MB, free: 3.434 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.6021/0.6021, allocations: 102.5 MB / 369.9 MB, free: 244 kB / 330.7 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 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_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.412e-06/1.412e-06, allocations: 0 / 470.5 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.88e-05, allocations: 2.312 kB / 470.5 MB, free: 18.84 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002052/0.002071, allocations: 2.376 MB / 472.8 MB, free: 17.26 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005851/0.002656, allocations: 0.509 MB / 473.3 MB, free: 16.93 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.002712, allocations: 3.938 kB / 473.3 MB, free: 16.92 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.00275, allocations: 6.797 kB / 473.3 MB, free: 16.92 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.002811, allocations: 21.61 kB / 473.4 MB, free: 16.9 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.003011, allocations: 48.69 kB / 473.4 MB, free: 16.88 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.683e-05/0.003108, allocations: 82.83 kB / 473.5 MB, free: 16.84 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.003189, allocations: 16.08 kB / 473.5 MB, free: 16.83 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.003303, allocations: 62.69 kB / 473.6 MB, free: 16.8 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.003345, allocations: 31.75 kB / 473.6 MB, free: 16.79 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.003361, allocations: 8.469 kB / 473.6 MB, free: 16.79 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.892e-05/0.0034, allocations: 7.688 kB / 473.6 MB, free: 16.79 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.003435, allocations: 24.94 kB / 473.6 MB, free: 16.77 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.003454, allocations: 24.41 kB / 473.7 MB, free: 16.76 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.31e-05/0.003547, allocations: 56.25 kB / 473.7 MB, free: 16.73 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003549, allocations: 0.6875 kB / 473.7 MB, free: 16.73 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.52e-07/0.00355, allocations: 0 / 473.7 MB, free: 16.73 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.003553, allocations: 1.062 kB / 473.7 MB, free: 16.73 MB / 410.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.0003162/0.00387, allocations: 432.8 kB / 474.1 MB, free: 16.33 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.003902, allocations: 9.031 kB / 474.2 MB, free: 16.33 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.003989, allocations: 23.06 kB / 474.2 MB, free: 16.33 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.368e-05/0.004083, allocations: 142.3 kB / 474.3 MB, free: 16.18 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.004096, allocations: 6.969 kB / 474.3 MB, free: 16.18 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.00411, allocations: 3.031 kB / 474.3 MB, free: 16.18 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.004219, allocations: 81.94 kB / 474.4 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.004225, allocations: 192 / 474.4 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004233, allocations: 1.078 kB / 474.4 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.004238, allocations: 6.75 kB / 474.4 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.004265, allocations: 18.78 kB / 474.4 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.004489, allocations: 279.8 kB / 474.7 MB, free: 15.86 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.004663, allocations: 84.55 kB / 474.8 MB, free: 15.82 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.004683, allocations: 13.09 kB / 474.8 MB, free: 15.8 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.004697, allocations: 6.656 kB / 474.8 MB, free: 15.8 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.00471, allocations: 36.58 kB / 474.8 MB, free: 15.76 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.004711, allocations: 1.062 kB / 474.8 MB, free: 15.76 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001255/0.004836, allocations: 62.16 kB / 474.9 MB, free: 15.72 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/0.004852, allocations: 58.16 kB / 475 MB, free: 15.65 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.004903, allocations: 190.2 kB / 475.2 MB, free: 15.48 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.00491, allocations: 25.7 kB / 475.2 MB, free: 15.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.005183, allocations: 147.9 kB / 475.3 MB, free: 31.3 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.005202, allocations: 21.03 kB / 475.3 MB, free: 31.29 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.005228, allocations: 28.61 kB / 475.4 MB, free: 31.26 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.005334, allocations: 0.4941 MB / 475.9 MB, free: 30.76 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.005352, allocations: 7.125 kB / 475.9 MB, free: 30.76 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.005369, allocations: 9.219 kB / 475.9 MB, free: 30.76 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/0.005408, allocations: 27.45 kB / 475.9 MB, free: 30.74 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00541, allocations: 0 / 475.9 MB, free: 30.74 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.057e-05/0.00548, allocations: 68.31 kB / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.005492, allocations: 10.3 kB / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.005496, allocations: 0 / 476 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.005505, allocations: 5.281 kB / 476 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.00558, allocations: 17.67 kB / 476 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-06/0.005582, allocations: 0 / 476 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.005614, allocations: 15.84 kB / 476 MB, free: 30.69 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.005619, allocations: 4 kB / 476 MB, free: 30.69 MB / 426.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 5.756e-05/0.005676, allocations: 155.5 kB / 476.2 MB, free: 30.53 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.005694, allocations: 14.83 kB / 476.2 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.005714, allocations: 14.47 kB / 476.2 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005716, allocations: 2.719 kB / 476.2 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005718, allocations: 0 / 476.2 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.00572, allocations: 0 / 476.2 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.849e-05/0.005798, allocations: 118.1 kB / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0058, allocations: 1.719 kB / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.005852, allocations: 16.7 kB / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005854, allocations: 0 / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.005862, allocations: 3.938 kB / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005863, allocations: 3.938 kB / 476.3 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005864, allocations: 3.938 kB / 476.4 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.006004, allocations: 221.5 kB / 476.6 MB, free: 30.18 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.006011, allocations: 11.39 kB / 476.6 MB, free: 30.17 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.006023, allocations: 11.34 kB / 476.6 MB, free: 30.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.006069, allocations: 11.36 kB / 476.6 MB, free: 30.16 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.006098, allocations: 6.312 kB / 476.6 MB, free: 30.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.006101, allocations: 0 / 476.6 MB, free: 30.16 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.006142, allocations: 140.3 kB / 476.7 MB, free: 30.04 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006142, allocations: 0 / 476.7 MB, free: 30.04 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001405/0.006282, allocations: 11.41 kB / 476.8 MB, free: 30.04 MB / 426.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 7.172e-05/0.006354, allocations: 94.88 kB / 476.8 MB, free: 29.95 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 7.736e-05/0.006431, allocations: 47.08 kB / 476.9 MB, free: 29.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006432, allocations: 1 kB / 476.9 MB, free: 29.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.006458, allocations: 21.89 kB / 476.9 MB, free: 29.91 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.006631, allocations: 15.75 kB / 476.9 MB, free: 29.91 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.007024, allocations: 195.7 kB / 477.1 MB, free: 29.74 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.589e-05/0.00705, allocations: 65.64 kB / 477.2 MB, free: 29.67 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.837e-05/0.007079, allocations: 7.75 kB / 477.2 MB, free: 29.67 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.00713, allocations: 79.31 kB / 477.3 MB, free: 29.6 MB / 426.8 MB Notification: Performance of SimCode: time 6.11e-07/0.007131, allocations: 0 / 477.3 MB, free: 29.6 MB / 426.8 MB Notification: Performance of Templates: time 0.002246/0.009377, allocations: 0.9256 MB / 478.2 MB, free: 29.52 MB / 426.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=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 240] 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","",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 filterSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff.mat", vars={"timeExtrema.ymin"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] filterSimulationResults("/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.ref.mat", vars={"timeExtrema.ymin"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.369611300062388]