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.008252/0.008252, allocations: 1.794 MB / 21.35 MB, free: 3.184 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.0008528/0.0008528, allocations: 88.72 kB / 25.15 MB, free: 7.43 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.0008654/0.0008654, allocations: 159.4 kB / 29.05 MB, free: 3.645 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.9313/0.9313, allocations: 177.1 MB / 210 MB, free: 3.602 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.6537/0.6537, allocations: 102.4 MB / 369.5 MB, free: 384 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.143e-06/1.143e-06, allocations: 0 / 470 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.614e-05, allocations: 4.141 kB / 470 MB, free: 18.98 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.00193/0.001947, allocations: 2.375 MB / 472.3 MB, free: 17.4 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005775/0.002524, allocations: 0.5131 MB / 472.8 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.002574, allocations: 0.5625 kB / 472.8 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.002622, allocations: 9.641 kB / 472.9 MB, free: 17.06 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.834e-05/0.00268, allocations: 10.53 kB / 472.9 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.002923, allocations: 52.62 kB / 472.9 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.003034, allocations: 89.09 kB / 473 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.003123, allocations: 16.8 kB / 473 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.003253, allocations: 57.16 kB / 473.1 MB, free: 16.95 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.003301, allocations: 28.39 kB / 473.1 MB, free: 16.94 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.003318, allocations: 9.562 kB / 473.1 MB, free: 16.94 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.003358, allocations: 10.53 kB / 473.1 MB, free: 16.94 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.003397, allocations: 21.72 kB / 473.1 MB, free: 16.93 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.003422, allocations: 22.41 kB / 473.2 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.003531, allocations: 59.66 kB / 473.2 MB, free: 16.88 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003533, allocations: 6.344 kB / 473.2 MB, free: 16.88 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003534, allocations: 3.938 kB / 473.2 MB, free: 16.88 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003538, allocations: 0.75 kB / 473.2 MB, free: 16.88 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.000365/0.003903, allocations: 421.3 kB / 473.6 MB, free: 16.48 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.003939, allocations: 9.062 kB / 473.7 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.004048, allocations: 24.53 kB / 473.7 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.004167, allocations: 142.3 kB / 473.8 MB, free: 16.33 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.004185, allocations: 1.156 kB / 473.8 MB, free: 16.33 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.004205, allocations: 8.188 kB / 473.8 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.004343, allocations: 84.77 kB / 473.9 MB, free: 16.27 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004349, allocations: 3.094 kB / 473.9 MB, free: 16.27 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.004359, allocations: 0.875 kB / 473.9 MB, free: 16.27 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.004365, allocations: 6.375 kB / 473.9 MB, free: 16.27 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.004407, allocations: 19.14 kB / 473.9 MB, free: 16.26 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.004684, allocations: 305.8 kB / 474.2 MB, free: 15.98 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.004892, allocations: 86.95 kB / 474.3 MB, free: 15.93 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.004921, allocations: 20.75 kB / 474.3 MB, free: 15.92 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.004936, allocations: 3.938 kB / 474.3 MB, free: 15.91 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.00495, allocations: 37.2 kB / 474.4 MB, free: 15.87 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 5.721e-06/0.004956, allocations: 0 / 474.4 MB, free: 15.87 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.00016/0.005116, allocations: 73.72 kB / 474.5 MB, free: 15.82 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.569e-05/0.005132, allocations: 54.94 kB / 474.5 MB, free: 15.76 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.005187, allocations: 189.6 kB / 474.7 MB, free: 15.59 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.433e-06/0.005194, allocations: 26.55 kB / 474.7 MB, free: 15.55 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.005352, allocations: 141.1 kB / 474.9 MB, free: 31.42 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.005372, allocations: 23.52 kB / 474.9 MB, free: 31.4 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.005401, allocations: 28.62 kB / 474.9 MB, free: 31.37 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.005506, allocations: 0.4908 MB / 475.4 MB, free: 30.88 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.005534, allocations: 6.812 kB / 475.4 MB, free: 30.88 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.005558, allocations: 11.25 kB / 475.4 MB, free: 30.88 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.788e-05/0.005606, allocations: 32.34 kB / 475.4 MB, free: 30.86 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005608, allocations: 0 / 475.4 MB, free: 30.86 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.905e-05/0.005687, allocations: 82.33 kB / 475.5 MB, free: 30.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.005697, allocations: 5.25 kB / 475.5 MB, free: 30.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005701, allocations: 0 / 475.5 MB, free: 30.8 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.005715, allocations: 0 / 475.5 MB, free: 30.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.005782, allocations: 19.69 kB / 475.6 MB, free: 30.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.005787, allocations: 3.188 kB / 475.6 MB, free: 30.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.00582, allocations: 15.86 kB / 475.6 MB, free: 30.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.005827, allocations: 3.281 kB / 475.6 MB, free: 30.8 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.598e-05/0.005883, allocations: 159.2 kB / 475.7 MB, free: 30.63 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.005902, allocations: 9.188 kB / 475.7 MB, free: 30.63 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.005928, allocations: 8.469 kB / 475.7 MB, free: 30.62 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.00593, allocations: 3.844 kB / 475.7 MB, free: 30.62 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005933, allocations: 0 / 475.7 MB, free: 30.62 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005936, allocations: 7.219 kB / 475.8 MB, free: 30.62 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.396e-05/0.00602, allocations: 136.3 kB / 475.9 MB, free: 30.47 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006021, allocations: 0 / 475.9 MB, free: 30.47 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.006079, allocations: 21.38 kB / 475.9 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.00608, allocations: 0 / 475.9 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.00609, allocations: 5.25 kB / 475.9 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.00609, allocations: 3.328 kB / 475.9 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006091, allocations: 2.625 kB / 475.9 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.006247, allocations: 227.5 kB / 476.1 MB, free: 30.26 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.006255, allocations: 14.45 kB / 476.2 MB, free: 30.25 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.006267, allocations: 4 kB / 476.2 MB, free: 30.24 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.006315, allocations: 9.969 kB / 476.2 MB, free: 30.24 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.006353, allocations: 7.219 kB / 476.2 MB, free: 30.24 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.006357, allocations: 7.938 kB / 476.2 MB, free: 30.23 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.312e-05/0.0064, allocations: 145.9 kB / 476.3 MB, free: 30.11 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0064, allocations: 0 / 476.3 MB, free: 30.11 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001387/0.006538, allocations: 10.5 kB / 476.3 MB, free: 30.11 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 5.917e-05/0.006598, allocations: 93.66 kB / 476.4 MB, free: 30.03 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 9.521e-05/0.006693, allocations: 35.92 kB / 476.5 MB, free: 30.01 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006694, allocations: 6.375 kB / 476.5 MB, free: 30.01 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.006724, allocations: 29.53 kB / 476.5 MB, free: 29.99 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.006894, allocations: 12.48 kB / 476.5 MB, free: 29.99 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.00734, allocations: 194.9 kB / 476.7 MB, free: 29.82 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.861e-05/0.007368, allocations: 65.09 kB / 476.8 MB, free: 29.75 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.75e-05/0.007396, allocations: 10.3 kB / 476.8 MB, free: 29.75 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.007429, allocations: 11.12 kB / 476.8 MB, free: 29.74 MB / 426.8 MB Notification: Performance of SimCode: time 5.11e-07/0.007429, allocations: 1.375 kB / 476.8 MB, free: 29.74 MB / 426.8 MB Notification: Performance of Templates: time 0.002091/0.00952, allocations: 0.8615 MB / 477.7 MB, free: 29.68 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.748216195963323]