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.009046/0.009046, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.0009778/0.0009778, allocations: 87.48 kB / 25.48 MB, free: 6.422 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.001145/0.001145, allocations: 164.9 kB / 28.89 MB, free: 3.387 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.9555/0.9555, allocations: 177.2 MB / 209.3 MB, free: 2.23 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.815/0.815, allocations: 102.4 MB / 368.3 MB, free: 0.7305 MB / 330.8 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.513e-06/1.513e-06, allocations: 0 / 415.1 MB, free: 2.141 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.138e-05, allocations: 2.312 kB / 415.1 MB, free: 2.137 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.00359/0.003611, allocations: 2.433 MB / 417.5 MB, free: 15.68 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.004882, allocations: 0.5295 MB / 418.1 MB, free: 15.15 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.004944, allocations: 4 kB / 418.1 MB, free: 15.14 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 4.792e-05/0.004992, allocations: 7.938 kB / 418.1 MB, free: 15.14 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/0.005068, allocations: 7.875 kB / 418.1 MB, free: 15.13 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.005324, allocations: 55.81 kB / 418.1 MB, free: 15.07 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.00547, allocations: 83.69 kB / 418.2 MB, free: 14.99 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.005556, allocations: 11.98 kB / 418.2 MB, free: 14.98 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.005741, allocations: 59.81 kB / 418.3 MB, free: 14.92 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.005811, allocations: 31.91 kB / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.005832, allocations: 4 kB / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.305e-05/0.005895, allocations: 16 kB / 418.3 MB, free: 14.87 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.005941, allocations: 19.91 kB / 418.4 MB, free: 14.85 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.00597, allocations: 23.92 kB / 418.4 MB, free: 14.83 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.006114, allocations: 59.8 kB / 418.4 MB, free: 14.77 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.006118, allocations: 4 kB / 418.4 MB, free: 14.77 MB / 394.8 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006119, allocations: 0 / 418.4 MB, free: 14.77 MB / 394.8 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.006123, allocations: 4 kB / 418.4 MB, free: 14.76 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.0004197/0.006543, allocations: 296.5 kB / 418.7 MB, free: 14.45 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.006578, allocations: 8.031 kB / 418.7 MB, free: 14.44 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.006677, allocations: 20.92 kB / 418.8 MB, free: 14.42 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.006812, allocations: 137.6 kB / 418.9 MB, free: 14.26 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.006827, allocations: 4.375 kB / 418.9 MB, free: 14.26 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.006842, allocations: 4.375 kB / 418.9 MB, free: 14.25 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.00696, allocations: 78.91 kB / 419 MB, free: 14.17 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.006966, allocations: 192 / 419 MB, free: 14.17 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.006975, allocations: 4.375 kB / 419 MB, free: 14.16 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.006982, allocations: 7.938 kB / 419 MB, free: 14.16 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.00701, allocations: 11.94 kB / 419 MB, free: 14.14 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.007235, allocations: 184.2 kB / 419.2 MB, free: 13.95 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.007407, allocations: 70.55 kB / 419.3 MB, free: 13.87 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.007431, allocations: 16.86 kB / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.007442, allocations: 0 / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.007458, allocations: 34.5 kB / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.007459, allocations: 0 / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001208/0.00758, allocations: 69.61 kB / 419.4 MB, free: 13.73 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.007604, allocations: 51.41 kB / 419.4 MB, free: 13.67 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.007672, allocations: 136.8 kB / 419.6 MB, free: 13.53 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.007682, allocations: 25.7 kB / 419.6 MB, free: 13.5 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.007714, allocations: 96.02 kB / 419.7 MB, free: 13.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.007738, allocations: 23.84 kB / 419.7 MB, free: 13.38 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.007767, allocations: 17.72 kB / 419.7 MB, free: 13.35 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.007836, allocations: 326.8 kB / 420 MB, free: 13.02 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.007853, allocations: 4 kB / 420 MB, free: 13.02 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.007871, allocations: 11.98 kB / 420.1 MB, free: 13.01 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.00791, allocations: 24.83 kB / 420.1 MB, free: 12.98 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.007912, allocations: 4 kB / 420.1 MB, free: 12.98 MB / 394.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.496e-05/0.007977, allocations: 53.62 kB / 420.1 MB, free: 12.92 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.007988, allocations: 8 kB / 420.1 MB, free: 12.91 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.007992, allocations: 0 / 420.1 MB, free: 12.91 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.008, allocations: 3.938 kB / 420.1 MB, free: 12.91 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.008061, allocations: 23.97 kB / 420.2 MB, free: 12.88 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.008063, allocations: 0 / 420.2 MB, free: 12.88 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.008096, allocations: 15.92 kB / 420.2 MB, free: 12.87 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.008102, allocations: 4 kB / 420.2 MB, free: 12.86 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.039e-05/0.008153, allocations: 112.7 kB / 420.3 MB, free: 12.74 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.008173, allocations: 11.92 kB / 420.3 MB, free: 12.73 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.008195, allocations: 16.45 kB / 420.3 MB, free: 12.71 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.008197, allocations: 0 / 420.3 MB, free: 12.71 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.008198, allocations: 256 / 420.3 MB, free: 12.71 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.008201, allocations: 0 / 420.3 MB, free: 12.71 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.888e-05/0.00829, allocations: 85.86 kB / 420.4 MB, free: 12.61 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.00829, allocations: 0 / 420.4 MB, free: 12.61 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.008346, allocations: 19.98 kB / 420.4 MB, free: 12.59 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.008347, allocations: 4 kB / 420.4 MB, free: 12.59 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.008355, allocations: 7.984 kB / 420.4 MB, free: 12.58 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.008357, allocations: 4.172 kB / 420.4 MB, free: 12.58 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008358, allocations: 3.938 kB / 420.5 MB, free: 12.57 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.008485, allocations: 159.5 kB / 420.6 MB, free: 12.4 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.008492, allocations: 3.953 kB / 420.6 MB, free: 12.4 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.008504, allocations: 4 kB / 420.6 MB, free: 12.39 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.008557, allocations: 15.86 kB / 420.6 MB, free: 12.38 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.008592, allocations: 11.98 kB / 420.6 MB, free: 12.37 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.008595, allocations: 0 / 420.6 MB, free: 12.37 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.952e-05/0.008615, allocations: 27.17 kB / 420.7 MB, free: 12.34 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008615, allocations: 4.031 kB / 420.7 MB, free: 12.34 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001201/0.008735, allocations: 16 kB / 420.7 MB, free: 12.32 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 7.117e-05/0.008806, allocations: 72.42 kB / 420.8 MB, free: 12.24 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 7.272e-05/0.008879, allocations: 32.78 kB / 420.8 MB, free: 12.21 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.008882, allocations: 4 kB / 420.8 MB, free: 12.2 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.00891, allocations: 20.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.0001277/0.009037, allocations: 4 kB / 420.8 MB, free: 12.18 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.00945, allocations: 215.7 kB / 421 MB, free: 11.93 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.009483, allocations: 63.34 kB / 421.1 MB, free: 11.85 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.297e-05/0.009516, allocations: 11.97 kB / 421.1 MB, free: 11.84 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.009567, allocations: 55.38 kB / 421.2 MB, free: 11.78 MB / 394.8 MB Notification: Performance of SimCode: time 7.02e-07/0.009568, allocations: 4 kB / 421.2 MB, free: 11.78 MB / 394.8 MB Notification: Performance of Templates: time 0.002182/0.01175, allocations: 0.8061 MB / 422 MB, free: 10.98 MB / 394.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 -s gbode -gbm=radauIIA3 -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.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_dev_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.4306103507988155]