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.01575/0.01575, allocations: 1.784 MB / 21.64 MB, free: 2.816 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.0009579/0.0009579, allocations: 86.08 kB / 25.48 MB, free: 6.41 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.0009119/0.0009119, allocations: 166.3 kB / 28.89 MB, free: 3.375 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.8774/0.8774, allocations: 177.2 MB / 209.3 MB, free: 2.223 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.7106/0.7106, allocations: 102.5 MB / 368.3 MB, free: 0.7383 MB / 330.8 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.503e-06/1.503e-06, allocations: 0 / 415.1 MB, free: 2.156 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.679e-05, allocations: 2.312 kB / 415.1 MB, free: 2.152 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.005921/0.005938, allocations: 2.434 MB / 417.6 MB, free: 15.7 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007818/0.006719, allocations: 0.5412 MB / 418.1 MB, free: 15.15 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.006769, allocations: 0 / 418.1 MB, free: 15.15 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.006813, allocations: 7.875 kB / 418.1 MB, free: 15.14 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.006879, allocations: 15.86 kB / 418.1 MB, free: 15.13 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.007086, allocations: 47.81 kB / 418.2 MB, free: 15.08 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.01022, allocations: 79.72 kB / 418.2 MB, free: 15 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.0103, allocations: 27.91 kB / 418.3 MB, free: 14.98 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.01045, allocations: 43.95 kB / 418.3 MB, free: 14.93 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.01051, allocations: 31.89 kB / 418.3 MB, free: 14.9 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.01053, allocations: 8 kB / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-05/0.01058, allocations: 12 kB / 418.4 MB, free: 14.88 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.01062, allocations: 15.92 kB / 418.4 MB, free: 14.87 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.01065, allocations: 27.91 kB / 418.4 MB, free: 14.84 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.01077, allocations: 67.73 kB / 418.5 MB, free: 14.77 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.01078, allocations: 0 / 418.5 MB, free: 14.77 MB / 394.8 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01078, allocations: 0 / 418.5 MB, free: 14.77 MB / 394.8 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.01078, allocations: 4 kB / 418.5 MB, free: 14.77 MB / 394.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.0003834/0.01116, allocations: 300.5 kB / 418.8 MB, free: 14.45 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.01119, allocations: 8.031 kB / 418.8 MB, free: 14.45 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.0113, allocations: 20.92 kB / 418.8 MB, free: 14.43 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.01143, allocations: 128.3 kB / 418.9 MB, free: 14.28 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.01144, allocations: 4.375 kB / 418.9 MB, free: 14.27 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.01146, allocations: 12.31 kB / 418.9 MB, free: 14.26 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.0116, allocations: 86.84 kB / 419 MB, free: 14.17 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.01161, allocations: 192 / 419 MB, free: 14.17 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.01162, allocations: 4.375 kB / 419 MB, free: 14.16 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01162, allocations: 3.938 kB / 419 MB, free: 14.16 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.01166, allocations: 8 kB / 419 MB, free: 14.15 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.01191, allocations: 184.2 kB / 419.2 MB, free: 13.96 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.01211, allocations: 66.53 kB / 419.3 MB, free: 13.88 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.01213, allocations: 20.8 kB / 419.3 MB, free: 13.86 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.01215, allocations: 0 / 419.3 MB, free: 13.86 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.01217, allocations: 38.5 kB / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.01217, allocations: 96 / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001306/0.0123, allocations: 61.61 kB / 419.4 MB, free: 13.75 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.01233, allocations: 55.41 kB / 419.5 MB, free: 13.68 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.0124, allocations: 130.6 kB / 419.6 MB, free: 13.54 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.01241, allocations: 25.7 kB / 419.6 MB, free: 13.51 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.01244, allocations: 104 kB / 419.7 MB, free: 13.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.01247, allocations: 11.89 kB / 419.7 MB, free: 13.39 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.0125, allocations: 25.7 kB / 419.7 MB, free: 13.36 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.01258, allocations: 322.8 kB / 420.1 MB, free: 13.04 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.0126, allocations: 8 kB / 420.1 MB, free: 13.03 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.01262, allocations: 7.984 kB / 420.1 MB, free: 13.02 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.01267, allocations: 28.77 kB / 420.1 MB, free: 12.99 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01267, allocations: 4 kB / 420.1 MB, free: 12.98 MB / 394.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.686e-05/0.01275, allocations: 53.62 kB / 420.2 MB, free: 12.93 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.01276, allocations: 4 kB / 420.2 MB, free: 12.92 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.01276, allocations: 3.984 kB / 420.2 MB, free: 12.92 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.01277, allocations: 0 / 420.2 MB, free: 12.92 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.01285, allocations: 27.98 kB / 420.2 MB, free: 12.89 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.01286, allocations: 0 / 420.2 MB, free: 12.89 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.0129, allocations: 19.88 kB / 420.2 MB, free: 12.87 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.01291, allocations: 256 / 420.2 MB, free: 12.87 MB / 394.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.692e-05/0.01296, allocations: 116.6 kB / 420.3 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003028/0.01599, allocations: 7.938 kB / 420.3 MB, free: 12.74 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.01602, allocations: 16.45 kB / 420.4 MB, free: 12.72 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01602, allocations: 4 kB / 420.4 MB, free: 12.72 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01602, allocations: 0 / 420.4 MB, free: 12.72 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01602, allocations: 4 kB / 420.4 MB, free: 12.71 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.01614, allocations: 81.88 kB / 420.4 MB, free: 12.62 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01614, allocations: 0 / 420.4 MB, free: 12.62 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.01621, allocations: 19.97 kB / 420.5 MB, free: 12.6 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01621, allocations: 0 / 420.5 MB, free: 12.6 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.01622, allocations: 0 / 420.5 MB, free: 12.6 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01622, allocations: 3.938 kB / 420.5 MB, free: 12.59 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01623, allocations: 3.938 kB / 420.5 MB, free: 12.59 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.01637, allocations: 163.5 kB / 420.6 MB, free: 12.41 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.01638, allocations: 7.953 kB / 420.6 MB, free: 12.41 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.01639, allocations: 4 kB / 420.6 MB, free: 12.4 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.01646, allocations: 19.95 kB / 420.7 MB, free: 12.38 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.01649, allocations: 7.969 kB / 420.7 MB, free: 12.38 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.0165, allocations: 4 kB / 420.7 MB, free: 12.37 MB / 394.8 MB Notification: Performance of sorting global known variables: time 2.386e-05/0.01652, allocations: 27.8 kB / 420.7 MB, free: 12.34 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01653, allocations: 0 / 420.7 MB, free: 12.34 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001846/0.01671, allocations: 12 kB / 420.7 MB, free: 12.33 MB / 394.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 6.738e-05/0.01678, allocations: 76.42 kB / 420.8 MB, free: 12.25 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 7.996e-05/0.01686, allocations: 33.06 kB / 420.8 MB, free: 12.21 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.01686, allocations: 11.94 kB / 420.8 MB, free: 12.2 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.0169, allocations: 16.84 kB / 420.8 MB, free: 12.18 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.01706, allocations: 12 kB / 420.9 MB, free: 12.17 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.0175, allocations: 207.8 kB / 421.1 MB, free: 11.93 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.01754, allocations: 63.33 kB / 421.1 MB, free: 11.85 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.01758, allocations: 11.98 kB / 421.1 MB, free: 11.84 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.01764, allocations: 55.38 kB / 421.2 MB, free: 11.79 MB / 394.8 MB Notification: Performance of SimCode: time 6.42e-07/0.01764, allocations: 0 / 421.2 MB, free: 11.79 MB / 394.8 MB Notification: Performance of Templates: time 0.008114/0.02575, allocations: 0.8042 MB / 422 MB, free: 11 MB / 394.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 -s gbode -gbm=radauIIA3 -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.ymax"}, 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.ymax"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.0865580956451595]