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.01239/0.01239, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.006239/0.006239, allocations: 83.45 kB / 24.44 MB, free: 7.531 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.001526/0.001526, allocations: 160.8 kB / 28.2 MB, free: 4.668 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 1.499/1.499, allocations: 177.2 MB / 209 MB, free: 2.785 MB / 186.7 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.084/1.084, allocations: 102.5 MB / 368.4 MB, free: 1.297 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 0.5.2 (/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.844e-06/1.844e-06, allocations: 0 / 468.3 MB, free: 13.52 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.554e-05, allocations: 4.703 kB / 468.3 MB, free: 13.52 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003964/0.003999, allocations: 2.303 MB / 470.6 MB, free: 11.2 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.005169, allocations: 0.4987 MB / 471.1 MB, free: 10.69 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.00523, allocations: 4 kB / 471.1 MB, free: 10.69 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.265e-05/0.005293, allocations: 7.922 kB / 471.1 MB, free: 10.68 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.005372, allocations: 19.73 kB / 471.1 MB, free: 10.66 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.005679, allocations: 43.94 kB / 471.2 MB, free: 10.62 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.005853, allocations: 87.64 kB / 471.3 MB, free: 10.53 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.005946, allocations: 8 kB / 471.3 MB, free: 10.52 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.00614, allocations: 63.81 kB / 471.3 MB, free: 10.46 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.006214, allocations: 27.91 kB / 471.4 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.006237, allocations: 4 kB / 471.4 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.006298, allocations: 23.97 kB / 471.4 MB, free: 10.41 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.00635, allocations: 11.94 kB / 471.4 MB, free: 10.39 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.00639, allocations: 15.98 kB / 471.4 MB, free: 10.38 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.006586, allocations: 87.69 kB / 471.5 MB, free: 10.29 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.006588, allocations: 0 / 471.5 MB, free: 10.29 MB / 442.8 MB Notification: Performance of FrontEnd: time 6.52e-07/0.006589, allocations: 0 / 471.5 MB, free: 10.29 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.006593, allocations: 7.938 kB / 471.5 MB, free: 10.29 MB / 442.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.0007066/0.0073, allocations: 337.9 kB / 471.8 MB, free: 9.926 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.007346, allocations: 12.03 kB / 471.9 MB, free: 9.914 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.007516, allocations: 20.89 kB / 471.9 MB, free: 9.895 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.00779, allocations: 143.6 kB / 472 MB, free: 9.73 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.007815, allocations: 8.375 kB / 472 MB, free: 9.723 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.007842, allocations: 4.375 kB / 472 MB, free: 9.719 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.008163, allocations: 98.12 kB / 472.1 MB, free: 9.617 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.008171, allocations: 192 / 472.1 MB, free: 9.617 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.008185, allocations: 384 / 472.1 MB, free: 9.617 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.008194, allocations: 7.938 kB / 472.1 MB, free: 9.609 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.008517, allocations: 71.92 kB / 472.2 MB, free: 9.539 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.008996, allocations: 252.4 kB / 472.5 MB, free: 9.262 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.00967, allocations: 150.4 kB / 472.6 MB, free: 9.105 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.009868, allocations: 52.81 kB / 472.6 MB, free: 9.051 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.00989, allocations: 4 kB / 472.7 MB, free: 9.047 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.009919, allocations: 30.56 kB / 472.7 MB, free: 9.008 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.00992, allocations: 0 / 472.7 MB, free: 9.008 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0007695/0.01069, allocations: 177.5 kB / 472.9 MB, free: 8.828 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.01075, allocations: 63.39 kB / 472.9 MB, free: 8.754 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.01088, allocations: 125.8 kB / 473 MB, free: 8.621 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.01091, allocations: 25.7 kB / 473.1 MB, free: 8.59 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.01099, allocations: 100.1 kB / 473.2 MB, free: 8.488 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.01102, allocations: 19.84 kB / 473.2 MB, free: 8.469 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.01108, allocations: 17.72 kB / 473.2 MB, free: 8.445 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.01126, allocations: 322.8 kB / 473.5 MB, free: 8.121 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.01148, allocations: 47.95 kB / 473.6 MB, free: 8.074 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.01167, allocations: 55.92 kB / 473.6 MB, free: 8.02 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.01204, allocations: 96.77 kB / 473.7 MB, free: 7.922 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01204, allocations: 3.938 kB / 473.7 MB, free: 7.918 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004626/0.0125, allocations: 145.5 kB / 473.9 MB, free: 7.77 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.01252, allocations: 10.44 kB / 473.9 MB, free: 7.762 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.01253, allocations: 0 / 473.9 MB, free: 7.762 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.01254, allocations: 0 / 473.9 MB, free: 7.762 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.0127, allocations: 31.97 kB / 473.9 MB, free: 7.73 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01271, allocations: 0 / 473.9 MB, free: 7.73 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01281, allocations: 15.98 kB / 473.9 MB, free: 7.715 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.01283, allocations: 7.984 kB / 473.9 MB, free: 7.707 MB / 442.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 0.0001125/0.01294, allocations: 117.8 kB / 474 MB, free: 7.582 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.01298, allocations: 11.89 kB / 474 MB, free: 7.57 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.01301, allocations: 8.469 kB / 474.1 MB, free: 7.566 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01301, allocations: 0 / 474.1 MB, free: 7.566 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.01302, allocations: 4 kB / 474.1 MB, free: 7.562 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01302, allocations: 0 / 474.1 MB, free: 7.562 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.01322, allocations: 129.2 kB / 474.2 MB, free: 7.406 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.01322, allocations: 8.188 kB / 474.2 MB, free: 7.398 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.01339, allocations: 23.97 kB / 474.2 MB, free: 7.375 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01339, allocations: 4 kB / 474.2 MB, free: 7.371 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.0134, allocations: 0 / 474.2 MB, free: 7.371 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.0134, allocations: 0 / 474.2 MB, free: 7.371 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.0134, allocations: 0 / 474.2 MB, free: 7.371 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.01415, allocations: 291.3 kB / 474.5 MB, free: 7.07 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01417, allocations: 11.92 kB / 474.5 MB, free: 7.059 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.0142, allocations: 0 / 474.5 MB, free: 7.059 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01434, allocations: 19.91 kB / 474.5 MB, free: 7.039 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.0144, allocations: 7.984 kB / 474.5 MB, free: 7.031 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01441, allocations: 4 kB / 474.6 MB, free: 7.027 MB / 442.8 MB Notification: Performance of sorting global known variables: time 8.735e-05/0.0145, allocations: 103.2 kB / 474.7 MB, free: 6.926 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/0.0145, allocations: 4.062 kB / 474.7 MB, free: 6.922 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002482/0.01475, allocations: 16 kB / 474.7 MB, free: 6.906 MB / 442.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 0.0001374/0.01488, allocations: 91.25 kB / 474.8 MB, free: 6.805 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.01534, allocations: 107.9 kB / 474.9 MB, free: 6.699 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01534, allocations: 0 / 474.9 MB, free: 6.699 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.01554, allocations: 55.89 kB / 474.9 MB, free: 6.645 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01582, allocations: 11.94 kB / 474.9 MB, free: 6.633 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.0164, allocations: 205.2 kB / 475.1 MB, free: 6.395 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.01651, allocations: 87.25 kB / 475.2 MB, free: 6.289 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 5.307e-05/0.01656, allocations: 11.92 kB / 475.2 MB, free: 6.277 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.01661, allocations: 12.5 kB / 475.2 MB, free: 6.266 MB / 442.8 MB Notification: Performance of SimCode: time 6.11e-07/0.01661, allocations: 0 / 475.2 MB, free: 6.266 MB / 442.8 MB Notification: Performance of Templates: time 0.00405/0.02066, allocations: 0.8685 MB / 476.1 MB, free: 5.418 MB / 442.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=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.690283598029055]