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.008208/0.008208, allocations: 1.784 MB / 21.64 MB, free: 2.816 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.0008088/0.0008088, allocations: 86.08 kB / 25.48 MB, free: 6.41 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.0008823/0.0008823, allocations: 166.6 kB / 28.89 MB, free: 3.375 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.8463/0.8463, allocations: 177.2 MB / 209.3 MB, free: 2.223 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.7446/0.7446, allocations: 102.4 MB / 368.3 MB, free: 0.7461 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 8.01e-07/8.01e-07, allocations: 0 / 415.1 MB, free: 2.203 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.507e-05, allocations: 2.312 kB / 415.1 MB, free: 2.199 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002055/0.00207, allocations: 2.379 MB / 417.4 MB, free: 15.8 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006087/0.002678, allocations: 0.5335 MB / 418 MB, free: 15.26 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.002718, allocations: 0 / 418 MB, free: 15.26 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.002751, allocations: 7.875 kB / 418 MB, free: 15.25 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 5.124e-05/0.002803, allocations: 19.78 kB / 418 MB, free: 15.23 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.002966, allocations: 43.89 kB / 418 MB, free: 15.19 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 9.684e-05/0.003063, allocations: 91.69 kB / 418.1 MB, free: 15.1 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.003115, allocations: 15.94 kB / 418.1 MB, free: 15.09 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.837e-05/0.003214, allocations: 55.81 kB / 418.2 MB, free: 15.03 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.003255, allocations: 27.97 kB / 418.2 MB, free: 15 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.003268, allocations: 8 kB / 418.2 MB, free: 15 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.961e-05/0.003298, allocations: 11.94 kB / 418.2 MB, free: 14.98 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.003324, allocations: 19.97 kB / 418.3 MB, free: 14.96 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.003345, allocations: 23.92 kB / 418.3 MB, free: 14.94 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 8.257e-05/0.003427, allocations: 59.8 kB / 418.3 MB, free: 14.88 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.003429, allocations: 0 / 418.3 MB, free: 14.88 MB / 394.8 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003429, allocations: 4 kB / 418.4 MB, free: 14.88 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.375e-06/0.003432, allocations: 0 / 418.4 MB, free: 14.88 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.0002761/0.003708, allocations: 304.5 kB / 418.6 MB, free: 14.56 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.452e-05/0.003732, allocations: 12.03 kB / 418.7 MB, free: 14.55 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.003809, allocations: 16.92 kB / 418.7 MB, free: 14.53 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/0.003907, allocations: 128 kB / 418.8 MB, free: 14.38 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.00392, allocations: 12.31 kB / 418.8 MB, free: 14.37 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.003938, allocations: 4.375 kB / 418.8 MB, free: 14.37 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.004044, allocations: 86.84 kB / 418.9 MB, free: 14.27 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-06/0.004048, allocations: 192 / 418.9 MB, free: 14.27 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.004056, allocations: 8.375 kB / 418.9 MB, free: 14.27 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.00406, allocations: 3.938 kB / 418.9 MB, free: 14.26 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.004087, allocations: 15.92 kB / 418.9 MB, free: 14.25 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.004268, allocations: 176.2 kB / 419.1 MB, free: 14.06 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.004419, allocations: 70.52 kB / 419.2 MB, free: 13.98 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.004441, allocations: 20.89 kB / 419.2 MB, free: 13.96 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.004451, allocations: 0 / 419.2 MB, free: 13.96 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.004468, allocations: 42.48 kB / 419.2 MB, free: 13.91 MB / 394.8 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.004468, allocations: 0 / 419.2 MB, free: 13.91 MB / 394.8 MB Notification: Performance of matching and sorting (n=5): time 9.594e-05/0.004564, allocations: 53.67 kB / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.004584, allocations: 51.41 kB / 419.3 MB, free: 13.79 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.004637, allocations: 134.7 kB / 419.5 MB, free: 13.64 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.004646, allocations: 25.7 kB / 419.5 MB, free: 13.61 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.004673, allocations: 100 kB / 419.6 MB, free: 13.51 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.004691, allocations: 23.86 kB / 419.6 MB, free: 13.48 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.004717, allocations: 21.69 kB / 419.6 MB, free: 13.46 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.004776, allocations: 322.8 kB / 420 MB, free: 13.13 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.004791, allocations: 11.92 kB / 420 MB, free: 13.12 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.004806, allocations: 8 kB / 420 MB, free: 13.11 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.004841, allocations: 24.84 kB / 420 MB, free: 13.09 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.004842, allocations: 0 / 420 MB, free: 13.09 MB / 394.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.316e-05/0.004905, allocations: 61.61 kB / 420.1 MB, free: 13.02 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.004914, allocations: 4 kB / 420.1 MB, free: 13.02 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.004917, allocations: 0 / 420.1 MB, free: 13.02 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.004925, allocations: 0 / 420.1 MB, free: 13.02 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.00498, allocations: 27.92 kB / 420.1 MB, free: 12.99 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.004983, allocations: 256 / 420.1 MB, free: 12.99 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.005013, allocations: 15.92 kB / 420.1 MB, free: 12.97 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.005019, allocations: 4 kB / 420.1 MB, free: 12.97 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 4.808e-05/0.005067, allocations: 116.7 kB / 420.2 MB, free: 12.84 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.005083, allocations: 11.92 kB / 420.2 MB, free: 12.83 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.005102, allocations: 12.47 kB / 420.2 MB, free: 12.82 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.005103, allocations: 3.938 kB / 420.2 MB, free: 12.82 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.005104, allocations: 0 / 420.2 MB, free: 12.82 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.005106, allocations: 4 kB / 420.3 MB, free: 12.81 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.803e-05/0.005184, allocations: 77.88 kB / 420.3 MB, free: 12.72 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.005185, allocations: 0 / 420.3 MB, free: 12.72 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.005234, allocations: 19.98 kB / 420.3 MB, free: 12.7 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.005236, allocations: 3.984 kB / 420.3 MB, free: 12.7 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.005242, allocations: 4 kB / 420.4 MB, free: 12.69 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.005243, allocations: 3.938 kB / 420.4 MB, free: 12.69 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005244, allocations: 0 / 420.4 MB, free: 12.69 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.00535, allocations: 159.5 kB / 420.5 MB, free: 12.52 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-06/0.005356, allocations: 3.953 kB / 420.5 MB, free: 12.51 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.005367, allocations: 8.031 kB / 420.5 MB, free: 12.5 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.005413, allocations: 11.92 kB / 420.5 MB, free: 12.49 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.005441, allocations: 11.98 kB / 420.5 MB, free: 12.48 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005443, allocations: 0 / 420.5 MB, free: 12.48 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.705e-05/0.00546, allocations: 27.48 kB / 420.6 MB, free: 12.45 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.00546, allocations: 0 / 420.6 MB, free: 12.45 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001151/0.005576, allocations: 16 kB / 420.6 MB, free: 12.44 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 5.033e-05/0.005626, allocations: 72.42 kB / 420.7 MB, free: 12.36 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 5.672e-05/0.005683, allocations: 37.02 kB / 420.7 MB, free: 12.32 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005684, allocations: 0 / 420.7 MB, free: 12.32 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.005709, allocations: 24.84 kB / 420.7 MB, free: 12.29 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.005815, allocations: 4.156 kB / 420.7 MB, free: 12.29 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.006153, allocations: 215.8 kB / 420.9 MB, free: 12.05 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.88e-05/0.006181, allocations: 67.33 kB / 421 MB, free: 11.96 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.006208, allocations: 11.98 kB / 421 MB, free: 11.95 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.00625, allocations: 51.38 kB / 421.1 MB, free: 11.9 MB / 394.8 MB Notification: Performance of SimCode: time 2.91e-07/0.00625, allocations: 0 / 421.1 MB, free: 11.9 MB / 394.8 MB Notification: Performance of Templates: time 0.001916/0.008166, allocations: 0.8148 MB / 421.9 MB, free: 11.1 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 -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] Reference file matches [Calling sys.exit(0), Time elapsed: 3.331096824258566]