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.01278/0.01278, allocations: 1.347 MB / 20.45 MB, free: 1.262 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.001671/0.001671, allocations: 78.64 kB / 24.02 MB, free: 2.609 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.002002/0.002002, allocations: 151.7 kB / 27.7 MB, free: 3.863 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.448/1.448, allocations: 177.1 MB / 208.4 MB, free: 7.68 MB / 190.1 MB " [Timeout remaining time 178] 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 1.026/1.026, allocations: 102.5 MB / 367.8 MB, free: 4.566 MB / 334.1 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 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_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.703e-06/1.703e-06, allocations: 0 / 0.5364 GB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.941e-05, allocations: 4.109 kB / 0.5364 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002776/0.002805, allocations: 2.299 MB / 0.5387 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.003681, allocations: 0.5026 MB / 0.5392 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.003743, allocations: 0 / 0.5392 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.003793, allocations: 7.938 kB / 0.5392 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.27e-05/0.003866, allocations: 18.67 kB / 0.5392 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.004148, allocations: 49.56 kB / 0.5393 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.004298, allocations: 87.86 kB / 0.5393 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.004408, allocations: 13.86 kB / 0.5393 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.004578, allocations: 47.58 kB / 0.5394 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.004639, allocations: 33.52 kB / 0.5394 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.004663, allocations: 7.281 kB / 0.5394 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.89e-05/0.004712, allocations: 13.38 kB / 0.5394 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.00476, allocations: 18.67 kB / 0.5395 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.004794, allocations: 27.09 kB / 0.5395 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004943, allocations: 80.84 kB / 0.5396 GB, free: 4.676 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004947, allocations: 4 kB / 0.5396 GB, free: 4.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.004948, allocations: 0 / 0.5396 GB, free: 4.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004953, allocations: 0 / 0.5396 GB, free: 4.672 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.0005987/0.005551, allocations: 338.6 kB / 0.5399 GB, free: 4.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.005591, allocations: 9.406 kB / 0.5399 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.005736, allocations: 18.34 kB / 0.5399 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.005948, allocations: 134.9 kB / 0.54 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.00597, allocations: 7.219 kB / 0.5401 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.005995, allocations: 3.531 kB / 0.5401 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.006285, allocations: 93.25 kB / 0.5401 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.006296, allocations: 192 / 0.5401 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006308, allocations: 8.312 kB / 0.5402 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006315, allocations: 4.906 kB / 0.5402 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.00662, allocations: 82.48 kB / 0.5402 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.006986, allocations: 259.1 kB / 0.5405 GB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.007619, allocations: 154.4 kB / 0.5406 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.007797, allocations: 51.69 kB / 0.5407 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.007813, allocations: 0 / 0.5407 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.007826, allocations: 37.66 kB / 0.5407 GB, free: 3.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.007827, allocations: 0 / 0.5407 GB, free: 3.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006375/0.008464, allocations: 172.4 kB / 0.5409 GB, free: 3.578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.008486, allocations: 51.41 kB / 0.5409 GB, free: 3.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.00857, allocations: 142.9 kB / 0.5411 GB, free: 3.391 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.008581, allocations: 25.7 kB / 0.5411 GB, free: 3.359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.008621, allocations: 100.9 kB / 0.5412 GB, free: 3.262 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.008642, allocations: 13.23 kB / 0.5412 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.008683, allocations: 23.52 kB / 0.5412 GB, free: 3.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.008733, allocations: 321 kB / 0.5415 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.008914, allocations: 46.52 kB / 0.5416 GB, free: 2.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.009089, allocations: 52.02 kB / 0.5416 GB, free: 2.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.00943, allocations: 92.59 kB / 0.5417 GB, free: 2.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.009432, allocations: 3.938 kB / 0.5417 GB, free: 2.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003989/0.009831, allocations: 150.3 kB / 0.5419 GB, free: 2.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.009847, allocations: 5.031 kB / 0.5419 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009852, allocations: 0 / 0.5419 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.009869, allocations: 1.438 kB / 0.5419 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01002, allocations: 24.66 kB / 0.5419 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01002, allocations: 1.125 kB / 0.5419 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01012, allocations: 20.77 kB / 0.5419 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01014, allocations: 5.312 kB / 0.5419 GB, free: 2.703 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 6.494e-05/0.0102, allocations: 122.9 kB / 0.542 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.01023, allocations: 10.59 kB / 0.542 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.01026, allocations: 10.88 kB / 0.5421 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01026, allocations: 1.438 kB / 0.5421 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.01027, allocations: 0 / 0.5421 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01027, allocations: 0 / 0.5421 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.01041, allocations: 130.8 kB / 0.5422 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01042, allocations: 3.938 kB / 0.5422 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.01057, allocations: 31.94 kB / 0.5422 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01057, allocations: 0 / 0.5422 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.01058, allocations: 9.156 kB / 0.5422 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01058, allocations: 0 / 0.5422 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01059, allocations: 1.844 kB / 0.5422 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.0112, allocations: 288.9 kB / 0.5425 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.01121, allocations: 15.55 kB / 0.5425 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01123, allocations: 0 / 0.5425 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.01136, allocations: 17.19 kB / 0.5425 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.01143, allocations: 6.219 kB / 0.5425 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01144, allocations: 5.359 kB / 0.5425 GB, free: 2.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.01149, allocations: 101.9 kB / 0.5426 GB, free: 2.066 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01149, allocations: 0 / 0.5426 GB, free: 2.066 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.01172, allocations: 11.53 kB / 0.5426 GB, free: 2.066 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.0001009/0.01182, allocations: 99.34 kB / 0.5427 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.01225, allocations: 99.75 kB / 0.5428 GB, free: 1.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01225, allocations: 0 / 0.5428 GB, free: 1.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.01244, allocations: 58.56 kB / 0.5429 GB, free: 1.902 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.01271, allocations: 12.44 kB / 0.5429 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.01319, allocations: 198.4 kB / 0.5431 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.01325, allocations: 76.67 kB / 0.5432 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.01329, allocations: 7 kB / 0.5432 GB, free: 1.633 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.01334, allocations: 15.3 kB / 0.5432 GB, free: 1.621 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.01334, allocations: 0 / 0.5432 GB, free: 1.621 MB / 446.1 MB Notification: Performance of Templates: time 0.003614/0.01695, allocations: 0.8416 MB / 0.544 GB, free: 1.164 MB / 446.1 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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_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.773541122674942]