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.01028/0.01028, allocations: 1.795 MB / 21.89 MB, free: 2.629 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.0007975/0.0007975, allocations: 87.3 kB / 25.62 MB, free: 6.465 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.0008538/0.0008538, allocations: 172.8 kB / 29.47 MB, free: 2.996 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.9465/0.9465, allocations: 177.1 MB / 210.3 MB, free: 3.445 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6355/0.6355, allocations: 102.4 MB / 369.8 MB, free: 296 kB / 330.7 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 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_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.543e-06/1.543e-06, allocations: 0 / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.946e-05, allocations: 4.641 kB / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002483/0.002513, allocations: 2.381 MB / 472.2 MB, free: 17.46 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.003259, allocations: 0.5073 MB / 472.7 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.003325, allocations: 2.875 kB / 472.8 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.003376, allocations: 8 kB / 472.8 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.00344, allocations: 20.22 kB / 472.8 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.003737, allocations: 53.88 kB / 472.8 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003884, allocations: 79.05 kB / 472.9 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004001, allocations: 19.19 kB / 472.9 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.00418, allocations: 58.28 kB / 473 MB, free: 17 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.004238, allocations: 29.73 kB / 473 MB, free: 16.99 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.004258, allocations: 5.875 kB / 473 MB, free: 16.99 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.937e-05/0.004308, allocations: 12.41 kB / 473 MB, free: 16.99 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.004359, allocations: 19.38 kB / 473.1 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.004393, allocations: 28.08 kB / 473.1 MB, free: 16.96 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.004553, allocations: 59.23 kB / 473.1 MB, free: 16.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.004558, allocations: 4 kB / 473.1 MB, free: 16.93 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.00456, allocations: 4.844 kB / 473.1 MB, free: 16.93 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.004565, allocations: 0 / 473.1 MB, free: 16.93 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.0004845/0.00505, allocations: 422.2 kB / 473.6 MB, free: 16.54 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.005092, allocations: 8.656 kB / 473.6 MB, free: 16.54 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.005222, allocations: 24.41 kB / 473.6 MB, free: 16.53 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.005379, allocations: 138.2 kB / 473.7 MB, free: 16.38 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.005404, allocations: 8.25 kB / 473.7 MB, free: 16.38 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.005424, allocations: 3.062 kB / 473.7 MB, free: 16.38 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.005591, allocations: 89.97 kB / 473.8 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.005598, allocations: 192 / 473.8 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.00561, allocations: 6.625 kB / 473.8 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.005618, allocations: 3.938 kB / 473.8 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.005664, allocations: 18.45 kB / 473.9 MB, free: 16.31 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.006018, allocations: 304 kB / 474.1 MB, free: 16.03 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.006273, allocations: 86.23 kB / 474.2 MB, free: 15.98 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.006309, allocations: 19.31 kB / 474.3 MB, free: 15.97 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.006325, allocations: 1.25 kB / 474.3 MB, free: 15.97 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.006344, allocations: 35.92 kB / 474.3 MB, free: 15.93 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/0.006346, allocations: 0 / 474.3 MB, free: 15.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001857/0.006532, allocations: 75.23 kB / 474.4 MB, free: 15.88 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.006553, allocations: 54.19 kB / 474.4 MB, free: 15.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.006618, allocations: 187 kB / 474.6 MB, free: 15.64 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.006626, allocations: 30.95 kB / 474.6 MB, free: 15.61 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.006663, allocations: 144.6 kB / 474.8 MB, free: 15.47 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.006685, allocations: 19.8 kB / 474.8 MB, free: 15.45 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.006726, allocations: 29.38 kB / 474.8 MB, free: 15.43 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003812/0.007107, allocations: 0.4923 MB / 475.3 MB, free: 30.93 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.007142, allocations: 5.25 kB / 475.3 MB, free: 30.93 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.007167, allocations: 10.92 kB / 475.3 MB, free: 30.93 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.762e-05/0.007225, allocations: 34 kB / 475.4 MB, free: 30.91 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007227, allocations: 0 / 475.4 MB, free: 30.91 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.306e-05/0.00732, allocations: 70.31 kB / 475.4 MB, free: 30.86 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007335, allocations: 12.59 kB / 475.4 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.00734, allocations: 0 / 475.4 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.007353, allocations: 0 / 475.4 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.007432, allocations: 21.38 kB / 475.5 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.007438, allocations: 0 / 475.5 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.007473, allocations: 11.16 kB / 475.5 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.00748, allocations: 2.625 kB / 475.5 MB, free: 30.86 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.711e-05/0.007547, allocations: 161 kB / 475.6 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.007568, allocations: 17.14 kB / 475.6 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.007594, allocations: 11.09 kB / 475.7 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007596, allocations: 4.969 kB / 475.7 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007599, allocations: 0 / 475.7 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.007603, allocations: 4 kB / 475.7 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.007722, allocations: 142.7 kB / 475.8 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007723, allocations: 0 / 475.8 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.007794, allocations: 23.44 kB / 475.8 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.007796, allocations: 0 / 475.8 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.007807, allocations: 2.625 kB / 475.8 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.007809, allocations: 0.6562 kB / 475.8 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00781, allocations: 0 / 475.8 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.00801, allocations: 230 kB / 476.1 MB, free: 30.31 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.008021, allocations: 18.45 kB / 476.1 MB, free: 30.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.008036, allocations: 0 / 476.1 MB, free: 30.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.008089, allocations: 15.23 kB / 476.1 MB, free: 30.29 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.008133, allocations: 3.188 kB / 476.1 MB, free: 30.29 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.008139, allocations: 2.656 kB / 476.1 MB, free: 30.29 MB / 426.8 MB Notification: Performance of sorting global known variables: time 5.98e-05/0.008199, allocations: 140.7 kB / 476.2 MB, free: 30.17 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008199, allocations: 1.188 kB / 476.2 MB, free: 30.17 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001557/0.008354, allocations: 16.28 kB / 476.2 MB, free: 30.17 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 0.0001038/0.008458, allocations: 93.09 kB / 476.3 MB, free: 30.08 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.008572, allocations: 35.42 kB / 476.4 MB, free: 30.07 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008573, allocations: 2.844 kB / 476.4 MB, free: 30.07 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.008609, allocations: 29.84 kB / 476.4 MB, free: 30.05 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.008819, allocations: 11.38 kB / 476.4 MB, free: 30.05 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.009366, allocations: 202.6 kB / 476.6 MB, free: 29.88 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.009402, allocations: 60.59 kB / 476.7 MB, free: 29.81 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.009434, allocations: 6.359 kB / 476.7 MB, free: 29.81 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.466e-05/0.009469, allocations: 11.66 kB / 476.7 MB, free: 29.8 MB / 426.8 MB Notification: Performance of SimCode: time 1.403e-06/0.00947, allocations: 3.156 kB / 476.7 MB, free: 29.8 MB / 426.8 MB Notification: Performance of Templates: time 0.002756/0.01223, allocations: 0.8634 MB / 477.6 MB, free: 29.73 MB / 426.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=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 240] 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","",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_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_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_dev_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.723502994980663]