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.01238/0.01238, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001611/0.001611, allocations: 77.62 kB / 24.02 MB, free: 2.59 MB / 14.72 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.002003/0.002003, allocations: 156.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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 1.478/1.478, allocations: 177.1 MB / 208.4 MB, free: 7.672 MB / 190.1 MB " [Timeout remaining time 178] 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 1.05/1.05, allocations: 102.5 MB / 367.8 MB, free: 4.594 MB / 334.1 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 0.3.1 (/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.784e-06/1.784e-06, allocations: 0 / 0.5365 GB, free: 7.141 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.719e-05, allocations: 6.219 kB / 0.5365 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003254/0.003291, allocations: 2.296 MB / 0.5387 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000913/0.004204, allocations: 0.5045 MB / 0.5392 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.004269, allocations: 1.125 kB / 0.5392 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.732e-05/0.004336, allocations: 9.094 kB / 0.5392 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.004408, allocations: 14.3 kB / 0.5392 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.004709, allocations: 48.66 kB / 0.5393 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.004867, allocations: 85.3 kB / 0.5393 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004972, allocations: 12.39 kB / 0.5394 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.00515, allocations: 52.17 kB / 0.5394 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.005225, allocations: 38.02 kB / 0.5394 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.005251, allocations: 6.312 kB / 0.5395 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.005305, allocations: 9.094 kB / 0.5395 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.00536, allocations: 19.3 kB / 0.5395 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.005408, allocations: 27.44 kB / 0.5395 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.00558, allocations: 83.81 kB / 0.5396 GB, free: 4.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.005584, allocations: 0 / 0.5396 GB, free: 4.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005585, allocations: 1.281 kB / 0.5396 GB, free: 4.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.005592, allocations: 4 kB / 0.5396 GB, free: 4.695 MB / 446.1 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.0006788/0.00627, allocations: 329.5 kB / 0.5399 GB, free: 4.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.006312, allocations: 9.531 kB / 0.5399 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.006478, allocations: 22.09 kB / 0.5399 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.006703, allocations: 136.1 kB / 0.5401 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.006728, allocations: 2.062 kB / 0.5401 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.006756, allocations: 4.219 kB / 0.5401 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.00709, allocations: 103.2 kB / 0.5402 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.007104, allocations: 192 / 0.5402 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.007121, allocations: 5.938 kB / 0.5402 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.007132, allocations: 5.25 kB / 0.5402 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.007475, allocations: 73.7 kB / 0.5403 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.008003, allocations: 258.7 kB / 0.5405 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.008767, allocations: 151.6 kB / 0.5406 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.008967, allocations: 55.06 kB / 0.5407 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.008997, allocations: 0 / 0.5407 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.009025, allocations: 41.31 kB / 0.5407 GB, free: 3.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.009026, allocations: 0 / 0.5407 GB, free: 3.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007564/0.009783, allocations: 176.7 kB / 0.5409 GB, free: 3.602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.009833, allocations: 51.41 kB / 0.541 GB, free: 3.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.009972, allocations: 132.8 kB / 0.5411 GB, free: 3.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.00999, allocations: 30.92 kB / 0.5411 GB, free: 3.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.01005, allocations: 96.31 kB / 0.5412 GB, free: 3.293 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.01008, allocations: 17.27 kB / 0.5412 GB, free: 3.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.01012, allocations: 23.61 kB / 0.5412 GB, free: 3.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.01018, allocations: 316.4 kB / 0.5415 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.01036, allocations: 52.05 kB / 0.5416 GB, free: 2.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.01053, allocations: 46.27 kB / 0.5416 GB, free: 2.895 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.01085, allocations: 101.4 kB / 0.5417 GB, free: 2.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.01086, allocations: 7.938 kB / 0.5417 GB, free: 2.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000386/0.01124, allocations: 146.2 kB / 0.5419 GB, free: 2.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.01126, allocations: 5.75 kB / 0.5419 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01127, allocations: 1.438 kB / 0.5419 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01128, allocations: 0 / 0.5419 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.01142, allocations: 29.75 kB / 0.5419 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.01143, allocations: 0 / 0.5419 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.599e-05/0.01152, allocations: 18.42 kB / 0.5419 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.01153, allocations: 1.469 kB / 0.5419 GB, free: 2.73 MB / 446.1 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.224e-05/0.01161, allocations: 125 kB / 0.5421 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.01164, allocations: 7.703 kB / 0.5421 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.01167, allocations: 10.84 kB / 0.5421 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.01167, allocations: 0 / 0.5421 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01167, allocations: 1.094 kB / 0.5421 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01168, allocations: 4 kB / 0.5421 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.01181, allocations: 130 kB / 0.5422 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01181, allocations: 5.062 kB / 0.5422 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.01196, allocations: 22.72 kB / 0.5422 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01196, allocations: 4.719 kB / 0.5422 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.01197, allocations: 1.281 kB / 0.5422 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01197, allocations: 0 / 0.5422 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01198, allocations: 5.047 kB / 0.5422 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.01259, allocations: 293.8 kB / 0.5425 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.0126, allocations: 14.14 kB / 0.5425 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.01263, allocations: 5.25 kB / 0.5425 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.01275, allocations: 12.61 kB / 0.5425 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.01281, allocations: 6.609 kB / 0.5426 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.01282, allocations: 5.281 kB / 0.5426 GB, free: 2.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.01286, allocations: 107.4 kB / 0.5427 GB, free: 2.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01286, allocations: 0 / 0.5427 GB, free: 2.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.01309, allocations: 11.38 kB / 0.5427 GB, free: 2.09 MB / 446.1 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.0001044/0.01319, allocations: 96.53 kB / 0.5428 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.01362, allocations: 104 kB / 0.5429 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01362, allocations: 0 / 0.5429 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.01382, allocations: 53.81 kB / 0.5429 GB, free: 1.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.01408, allocations: 9.406 kB / 0.5429 GB, free: 1.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.01453, allocations: 198.5 kB / 0.5431 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.472e-05/0.01459, allocations: 81.08 kB / 0.5432 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.01464, allocations: 2.625 kB / 0.5432 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.01468, allocations: 16.3 kB / 0.5432 GB, free: 1.652 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.01468, allocations: 0 / 0.5432 GB, free: 1.652 MB / 446.1 MB Notification: Performance of Templates: time 0.003737/0.01842, allocations: 0.8473 MB / 0.544 GB, free: 1.184 MB / 446.1 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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff",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 [Calling sys.exit(0), Time elapsed: 5.744366806000471]