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.006241/0.006241, allocations: 1.435 MB / 21.29 MB, free: 3.262 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.0006822/0.0006822, allocations: 94.83 kB / 24.91 MB, free: 7.266 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.0007373/0.0007373, allocations: 162.2 kB / 28.62 MB, free: 4.453 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.9057/0.9057, allocations: 177.2 MB / 209.4 MB, free: 2.98 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.7506/0.7506, allocations: 102.5 MB / 368.7 MB, free: 1.438 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 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_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 2.194e-06/2.194e-06, allocations: 3.312 kB / 0.5374 GB, free: 39.82 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/2.022e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.82 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002087/0.002107, allocations: 2.3 MB / 0.5396 GB, free: 38.24 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006595/0.002767, allocations: 0.5066 MB / 0.5401 GB, free: 37.9 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.002819, allocations: 1.469 kB / 0.5401 GB, free: 37.9 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.002857, allocations: 7.875 kB / 0.5401 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.002912, allocations: 16.31 kB / 0.5402 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.003132, allocations: 50.98 kB / 0.5402 GB, free: 37.86 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.003255, allocations: 82.06 kB / 0.5403 GB, free: 37.82 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.003352, allocations: 16.81 kB / 0.5403 GB, free: 37.81 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.003495, allocations: 53.56 kB / 0.5404 GB, free: 37.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.00355, allocations: 35.34 kB / 0.5404 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.003568, allocations: 8.125 kB / 0.5404 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.003608, allocations: 9.312 kB / 0.5404 GB, free: 37.77 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.00365, allocations: 24.66 kB / 0.5404 GB, free: 37.75 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.003679, allocations: 26.5 kB / 0.5405 GB, free: 37.74 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.003805, allocations: 78.25 kB / 0.5405 GB, free: 37.71 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003806, allocations: 1.5 kB / 0.5405 GB, free: 37.71 MB / 490.8 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003807, allocations: 0 / 0.5405 GB, free: 37.71 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.003811, allocations: 0 / 0.5405 GB, free: 37.71 MB / 490.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.0004052/0.004217, allocations: 337.4 kB / 0.5409 GB, free: 37.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004255, allocations: 12.17 kB / 0.5409 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.004349, allocations: 19.73 kB / 0.5409 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.004497, allocations: 129.6 kB / 0.541 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.004516, allocations: 5.75 kB / 0.541 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.004537, allocations: 12.66 kB / 0.541 GB, free: 37.26 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.004717, allocations: 94.23 kB / 0.5411 GB, free: 37.22 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004725, allocations: 192 / 0.5411 GB, free: 37.22 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.004735, allocations: 1.5 kB / 0.5411 GB, free: 37.22 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004741, allocations: 5.094 kB / 0.5411 GB, free: 37.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.004894, allocations: 75.78 kB / 0.5412 GB, free: 37.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.005184, allocations: 257.2 kB / 0.5414 GB, free: 36.97 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.005541, allocations: 148 kB / 0.5416 GB, free: 36.93 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.005638, allocations: 51.94 kB / 0.5416 GB, free: 36.91 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.005654, allocations: 3.125 kB / 0.5416 GB, free: 36.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.005666, allocations: 38.59 kB / 0.5417 GB, free: 36.87 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.005667, allocations: 2.375 kB / 0.5417 GB, free: 36.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=5): time 0.0003608/0.006028, allocations: 170.3 kB / 0.5418 GB, free: 36.81 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.006047, allocations: 51.41 kB / 0.5419 GB, free: 36.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.006109, allocations: 140.7 kB / 0.542 GB, free: 36.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.006117, allocations: 26.83 kB / 0.542 GB, free: 36.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.00615, allocations: 96.22 kB / 0.5421 GB, free: 36.52 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.00617, allocations: 18.58 kB / 0.5422 GB, free: 36.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.0062, allocations: 22.05 kB / 0.5422 GB, free: 36.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.006235, allocations: 325.3 kB / 0.5425 GB, free: 36.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.006328, allocations: 46 kB / 0.5425 GB, free: 36.15 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.63e-05/0.006424, allocations: 57.98 kB / 0.5426 GB, free: 36.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.006596, allocations: 98.44 kB / 0.5427 GB, free: 36.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006598, allocations: 3.938 kB / 0.5427 GB, free: 36.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002122/0.00681, allocations: 135.6 kB / 0.5428 GB, free: 36.06 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.006823, allocations: 8.594 kB / 0.5428 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006827, allocations: 1.156 kB / 0.5428 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006838, allocations: 0.8438 kB / 0.5428 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.006912, allocations: 28.72 kB / 0.5429 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.006917, allocations: 0 / 0.5429 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.006964, allocations: 24.62 kB / 0.5429 GB, free: 36.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.006972, allocations: 6.875 kB / 0.5429 GB, free: 36.04 MB / 490.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 4.53e-05/0.007018, allocations: 121.6 kB / 0.543 GB, free: 35.92 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.007034, allocations: 7.703 kB / 0.543 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.007053, allocations: 12.53 kB / 0.543 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007055, allocations: 3.328 kB / 0.543 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.007058, allocations: 1.594 kB / 0.543 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.007061, allocations: 0 / 0.543 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.333e-05/0.007144, allocations: 133 kB / 0.5431 GB, free: 35.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007145, allocations: 4.938 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.007216, allocations: 22.02 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.007217, allocations: 1.469 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.007226, allocations: 4.75 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007227, allocations: 0 / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007228, allocations: 0.9375 kB / 0.5432 GB, free: 35.76 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.007569, allocations: 288.3 kB / 0.5435 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.007579, allocations: 15.11 kB / 0.5435 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.007592, allocations: 3.531 kB / 0.5435 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.007653, allocations: 14.92 kB / 0.5435 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.007694, allocations: 10.02 kB / 0.5435 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.007699, allocations: 1.438 kB / 0.5435 GB, free: 35.58 MB / 490.8 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.007731, allocations: 97.67 kB / 0.5436 GB, free: 35.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.007731, allocations: 0.8438 kB / 0.5436 GB, free: 35.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001494/0.007881, allocations: 15.03 kB / 0.5436 GB, free: 35.5 MB / 490.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.504e-05/0.007946, allocations: 100.2 kB / 0.5437 GB, free: 35.41 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.008176, allocations: 106 kB / 0.5438 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008178, allocations: 0 / 0.5438 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.008275, allocations: 55 kB / 0.5439 GB, free: 35.37 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.008454, allocations: 14.42 kB / 0.5439 GB, free: 35.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.00878, allocations: 225.4 kB / 0.5441 GB, free: 35.18 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.008829, allocations: 78.72 kB / 0.5442 GB, free: 35.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.008866, allocations: 12.06 kB / 0.5442 GB, free: 35.09 MB / 490.8 MB Notification: Performance of SimCode: time 3.8e-07/0.008867, allocations: 4 kB / 0.5442 GB, free: 35.09 MB / 490.8 MB Notification: Performance of Templates: time 0.002306/0.01117, allocations: 1.175 MB / 0.5453 GB, free: 35.01 MB / 490.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=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:time,timeExtrema.ymax,timeExtrema.ymin [Calling sys.exit(0), Time elapsed: 5.39787760656327]