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.01379/0.01379, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.0009638/0.0009638, allocations: 81.56 kB / 26.19 MB, free: 6.07 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.001031/0.001031, allocations: 173.2 kB / 30.12 MB, free: 2.176 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.9122/0.9122, allocations: 177.2 MB / 211.1 MB, free: 3.418 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.5832/0.5832, allocations: 102.4 MB / 370.6 MB, free: 172 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.323e-06/1.323e-06, allocations: 0 / 471.2 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.091e-05, allocations: 7.859 kB / 471.2 MB, free: 18.81 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002128/0.002149, allocations: 2.378 MB / 473.6 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005863/0.002735, allocations: 0.5095 MB / 474.1 MB, free: 16.89 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.002787, allocations: 0 / 474.1 MB, free: 16.89 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.002832, allocations: 7.219 kB / 474.1 MB, free: 16.89 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.00289, allocations: 16.06 kB / 474.2 MB, free: 16.88 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.003095, allocations: 49.66 kB / 474.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003204, allocations: 83.3 kB / 474.3 MB, free: 16.81 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.003286, allocations: 20.3 kB / 474.3 MB, free: 16.8 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.003407, allocations: 57.84 kB / 474.4 MB, free: 16.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.003455, allocations: 34.89 kB / 474.4 MB, free: 16.76 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.003471, allocations: 5.25 kB / 474.4 MB, free: 16.76 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/0.003509, allocations: 11.84 kB / 474.4 MB, free: 16.76 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.003545, allocations: 14.92 kB / 474.4 MB, free: 16.75 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.003564, allocations: 24.08 kB / 474.4 MB, free: 16.74 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.00367, allocations: 67.28 kB / 474.5 MB, free: 16.71 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003672, allocations: 0 / 474.5 MB, free: 16.71 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003673, allocations: 0 / 474.5 MB, free: 16.71 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.003677, allocations: 0 / 474.5 MB, free: 16.71 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.0003436/0.00402, allocations: 432.5 kB / 474.9 MB, free: 16.3 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.004051, allocations: 9 kB / 474.9 MB, free: 16.3 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/0.004144, allocations: 24.69 kB / 475 MB, free: 16.3 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.00425, allocations: 133.6 kB / 475.1 MB, free: 16.15 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.004265, allocations: 3 kB / 475.1 MB, free: 16.15 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.004282, allocations: 9.625 kB / 475.1 MB, free: 16.15 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.004401, allocations: 81.39 kB / 475.2 MB, free: 16.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.004407, allocations: 1.094 kB / 475.2 MB, free: 16.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.004415, allocations: 3 kB / 475.2 MB, free: 16.1 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004419, allocations: 8.469 kB / 475.2 MB, free: 16.09 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.004448, allocations: 17.72 kB / 475.2 MB, free: 16.09 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.004679, allocations: 280.7 kB / 475.5 MB, free: 15.83 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.004855, allocations: 82 kB / 475.6 MB, free: 15.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.004877, allocations: 20.17 kB / 475.6 MB, free: 15.77 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.00489, allocations: 3.938 kB / 475.6 MB, free: 15.77 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.004902, allocations: 36.02 kB / 475.6 MB, free: 15.73 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.004904, allocations: 1.375 kB / 475.6 MB, free: 15.73 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001303/0.005034, allocations: 67.73 kB / 475.7 MB, free: 15.68 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.631e-05/0.00505, allocations: 54.03 kB / 475.8 MB, free: 15.62 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/0.005099, allocations: 188.2 kB / 475.9 MB, free: 15.45 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.005105, allocations: 30.27 kB / 476 MB, free: 15.41 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.00538, allocations: 137.5 kB / 476.1 MB, free: 31.28 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.005399, allocations: 25.61 kB / 476.1 MB, free: 31.26 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.005427, allocations: 25.81 kB / 476.2 MB, free: 31.23 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.005532, allocations: 0.4903 MB / 476.6 MB, free: 30.73 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.005553, allocations: 11.11 kB / 476.7 MB, free: 30.73 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.005577, allocations: 6.5 kB / 476.7 MB, free: 30.73 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.104e-05/0.005618, allocations: 29.45 kB / 476.7 MB, free: 30.71 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.00562, allocations: 0 / 476.7 MB, free: 30.71 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.191e-05/0.005692, allocations: 72.62 kB / 476.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.005703, allocations: 5.25 kB / 476.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.005706, allocations: 0 / 476.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-06/0.005713, allocations: 0 / 476.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.005782, allocations: 25.44 kB / 476.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005784, allocations: 4.172 kB / 476.8 MB, free: 30.66 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.005818, allocations: 8.531 kB / 476.8 MB, free: 30.66 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.005823, allocations: 2.875 kB / 476.8 MB, free: 30.66 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 6.11e-05/0.005884, allocations: 159.2 kB / 477 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.005904, allocations: 10.52 kB / 477 MB, free: 30.49 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.005923, allocations: 15.78 kB / 477 MB, free: 30.48 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005924, allocations: 0 / 477 MB, free: 30.48 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005926, allocations: 6.625 kB / 477 MB, free: 30.48 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.005929, allocations: 0.5625 kB / 477 MB, free: 30.48 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.998e-05/0.006009, allocations: 119.6 kB / 477.1 MB, free: 30.35 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.00601, allocations: 0 / 477.1 MB, free: 30.35 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.006068, allocations: 25.97 kB / 477.1 MB, free: 30.35 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006069, allocations: 0 / 477.1 MB, free: 30.35 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.006077, allocations: 3.938 kB / 477.1 MB, free: 30.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006078, allocations: 2.906 kB / 477.1 MB, free: 30.34 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006079, allocations: 3.984 kB / 477.1 MB, free: 30.34 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.006221, allocations: 217.8 kB / 477.4 MB, free: 30.14 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.00623, allocations: 17.5 kB / 477.4 MB, free: 30.14 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.006242, allocations: 3.938 kB / 477.4 MB, free: 30.13 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.006291, allocations: 8.438 kB / 477.4 MB, free: 30.13 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.006322, allocations: 9.906 kB / 477.4 MB, free: 30.13 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.006325, allocations: 2.625 kB / 477.4 MB, free: 30.13 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.006369, allocations: 138.9 kB / 477.5 MB, free: 30.01 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.006369, allocations: 1.219 kB / 477.5 MB, free: 30.01 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001469/0.006516, allocations: 14.5 kB / 477.5 MB, free: 30 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.691e-05/0.006593, allocations: 100.5 kB / 477.6 MB, free: 29.91 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 8.006e-05/0.006673, allocations: 35.39 kB / 477.7 MB, free: 29.9 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006674, allocations: 1.281 kB / 477.7 MB, free: 29.9 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.006702, allocations: 21.47 kB / 477.7 MB, free: 29.89 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.006876, allocations: 14.77 kB / 477.7 MB, free: 29.88 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.007257, allocations: 204.1 kB / 477.9 MB, free: 29.71 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.186e-05/0.007279, allocations: 59.89 kB / 478 MB, free: 29.64 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.691e-05/0.007306, allocations: 9.156 kB / 478 MB, free: 29.64 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.007356, allocations: 78.78 kB / 478.1 MB, free: 29.57 MB / 426.8 MB Notification: Performance of SimCode: time 4.91e-07/0.007357, allocations: 0 / 478.1 MB, free: 29.57 MB / 426.8 MB Notification: Performance of Templates: time 0.002315/0.009672, allocations: 0.9503 MB / 479 MB, free: 29.49 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.454145872965455]