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.01324/0.01324, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.000803/0.000803, allocations: 88.8 kB / 25.15 MB, free: 6.316 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.0008461/0.0008461, allocations: 168.1 kB / 29.06 MB, free: 3.348 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.9339/0.9339, allocations: 177.1 MB / 210 MB, free: 3.59 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.6312/0.6312, allocations: 102.4 MB / 369.5 MB, free: 388 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.954e-06/1.954e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.204e-05, allocations: 2.859 kB / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003183/0.003215, allocations: 2.379 MB / 472.3 MB, free: 17.37 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.004086, allocations: 0.5117 MB / 472.8 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.004153, allocations: 0 / 472.8 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.295e-05/0.004216, allocations: 7.875 kB / 472.9 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.004297, allocations: 15.77 kB / 472.9 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.004603, allocations: 52.53 kB / 472.9 MB, free: 16.99 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.004762, allocations: 86.12 kB / 473 MB, free: 16.95 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.004872, allocations: 16.53 kB / 473 MB, free: 16.95 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.005065, allocations: 62.88 kB / 473.1 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.005131, allocations: 22.72 kB / 473.1 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.005155, allocations: 9.344 kB / 473.1 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.101e-05/0.005206, allocations: 8.688 kB / 473.1 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.005255, allocations: 23.03 kB / 473.1 MB, free: 16.89 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.005288, allocations: 21.17 kB / 473.2 MB, free: 16.88 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.005439, allocations: 66.88 kB / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.005443, allocations: 0 / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005444, allocations: 0.5 kB / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005449, allocations: 0 / 473.2 MB, free: 16.85 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.0005073/0.005957, allocations: 424.2 kB / 473.6 MB, free: 16.46 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.006, allocations: 8.75 kB / 473.7 MB, free: 16.46 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.006155, allocations: 27.19 kB / 473.7 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.00632, allocations: 139 kB / 473.8 MB, free: 16.3 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.006346, allocations: 3.25 kB / 473.8 MB, free: 16.3 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.006372, allocations: 11.06 kB / 473.8 MB, free: 16.29 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.006576, allocations: 85.61 kB / 473.9 MB, free: 16.24 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006585, allocations: 6.141 kB / 473.9 MB, free: 16.24 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.006598, allocations: 3.438 kB / 473.9 MB, free: 16.24 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.006607, allocations: 3.938 kB / 473.9 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/0.006668, allocations: 22.62 kB / 474 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.007059, allocations: 299.7 kB / 474.2 MB, free: 15.95 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.007389, allocations: 90.12 kB / 474.3 MB, free: 15.9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.007431, allocations: 16.06 kB / 474.3 MB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.007446, allocations: 1.312 kB / 474.3 MB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.007465, allocations: 39.47 kB / 474.4 MB, free: 15.84 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.007467, allocations: 0 / 474.4 MB, free: 15.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002245/0.007691, allocations: 69.23 kB / 474.5 MB, free: 15.8 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.007715, allocations: 51.41 kB / 474.5 MB, free: 15.74 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.0078, allocations: 192.1 kB / 474.7 MB, free: 15.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.00781, allocations: 26.95 kB / 474.7 MB, free: 15.53 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.008119, allocations: 143.5 kB / 474.9 MB, free: 31.39 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.008146, allocations: 26.36 kB / 474.9 MB, free: 31.37 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.008188, allocations: 28.28 kB / 474.9 MB, free: 31.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.008331, allocations: 0.4916 MB / 475.4 MB, free: 30.85 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.982e-05/0.008371, allocations: 7.875 kB / 475.4 MB, free: 30.85 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.008404, allocations: 8.344 kB / 475.4 MB, free: 30.85 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.008475, allocations: 30.03 kB / 475.4 MB, free: 30.83 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.008477, allocations: 2.625 kB / 475.5 MB, free: 30.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000132/0.008609, allocations: 75.02 kB / 475.5 MB, free: 30.78 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.008625, allocations: 8.641 kB / 475.5 MB, free: 30.78 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.00863, allocations: 2.625 kB / 475.5 MB, free: 30.78 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.008645, allocations: 0 / 475.5 MB, free: 30.78 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.008746, allocations: 20.44 kB / 475.6 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.008752, allocations: 2.625 kB / 475.6 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.008803, allocations: 14.7 kB / 475.6 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.008814, allocations: 2.625 kB / 475.6 MB, free: 30.77 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 7.898e-05/0.008893, allocations: 159.2 kB / 475.7 MB, free: 30.61 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.008926, allocations: 9.891 kB / 475.7 MB, free: 30.6 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.008953, allocations: 11.66 kB / 475.8 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008956, allocations: 0 / 475.8 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008959, allocations: 5.344 kB / 475.8 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.008963, allocations: 0 / 475.8 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.009094, allocations: 138 kB / 475.9 MB, free: 30.44 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.009096, allocations: 6.625 kB / 475.9 MB, free: 30.44 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.163e-05/0.009187, allocations: 21.09 kB / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.009191, allocations: 6.141 kB / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.009206, allocations: 4.562 kB / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.009208, allocations: 0 / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.00921, allocations: 2 kB / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.009436, allocations: 222.5 kB / 476.1 MB, free: 30.23 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.009447, allocations: 17.69 kB / 476.2 MB, free: 30.22 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.009466, allocations: 4 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.009552, allocations: 11.86 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.009603, allocations: 5.859 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.009611, allocations: 4 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of sorting global known variables: time 6.739e-05/0.009679, allocations: 142.8 kB / 476.3 MB, free: 30.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.009679, allocations: 0 / 476.3 MB, free: 30.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002805/0.009959, allocations: 10.5 kB / 476.3 MB, free: 30.09 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.0001075/0.01007, allocations: 99.09 kB / 476.4 MB, free: 30 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.01021, allocations: 40.17 kB / 476.5 MB, free: 29.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01021, allocations: 0 / 476.5 MB, free: 29.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.01025, allocations: 26.38 kB / 476.5 MB, free: 29.97 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.01056, allocations: 15.2 kB / 476.5 MB, free: 29.96 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.0112, allocations: 202.4 kB / 476.7 MB, free: 29.8 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.01124, allocations: 61.06 kB / 476.8 MB, free: 29.73 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 4.43e-05/0.01128, allocations: 3.906 kB / 476.8 MB, free: 29.73 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.01132, allocations: 17.08 kB / 476.8 MB, free: 29.71 MB / 426.8 MB Notification: Performance of SimCode: time 7.71e-07/0.01133, allocations: 0 / 476.8 MB, free: 29.71 MB / 426.8 MB Notification: Performance of Templates: time 0.003624/0.01495, allocations: 0.9112 MB / 477.7 MB, free: 29.64 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.4593711784109473]