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.01381/0.01381, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.0008576/0.0008576, allocations: 87.39 kB / 25.48 MB, free: 6.422 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.0008597/0.0008597, allocations: 169.2 kB / 28.9 MB, free: 3.383 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.8836/0.8836, allocations: 177.2 MB / 209.3 MB, free: 2.227 MB / 186.7 MB " [Timeout remaining time 179] 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 0.692/0.692, allocations: 102.5 MB / 368.3 MB, free: 0.8008 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 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_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.462e-06/1.462e-06, allocations: 0 / 415.1 MB, free: 2.254 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.054e-05, allocations: 2.312 kB / 415.1 MB, free: 2.25 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003093/0.003113, allocations: 2.383 MB / 417.5 MB, free: 15.85 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.003988, allocations: 0.5374 MB / 418 MB, free: 15.3 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.004046, allocations: 0 / 418 MB, free: 15.3 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.004097, allocations: 3.938 kB / 418 MB, free: 15.3 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 7.517e-05/0.004172, allocations: 19.8 kB / 418 MB, free: 15.28 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.004454, allocations: 43.88 kB / 418.1 MB, free: 15.24 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.004614, allocations: 87.7 kB / 418.1 MB, free: 15.15 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.004712, allocations: 11.92 kB / 418.2 MB, free: 15.14 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.004901, allocations: 63.81 kB / 418.2 MB, free: 15.08 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.004972, allocations: 31.91 kB / 418.2 MB, free: 15.05 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.004992, allocations: 4 kB / 418.2 MB, free: 15.04 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.005052, allocations: 12 kB / 418.3 MB, free: 15.03 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.005099, allocations: 11.98 kB / 418.3 MB, free: 15.02 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.005133, allocations: 27.91 kB / 418.3 MB, free: 14.99 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.005275, allocations: 63.8 kB / 418.4 MB, free: 14.93 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005277, allocations: 0 / 418.4 MB, free: 14.93 MB / 394.8 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005277, allocations: 0 / 418.4 MB, free: 14.93 MB / 394.8 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005281, allocations: 0 / 418.4 MB, free: 14.93 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.0004837/0.005765, allocations: 308.5 kB / 418.7 MB, free: 14.61 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.005807, allocations: 8.031 kB / 418.7 MB, free: 14.6 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.005943, allocations: 20.92 kB / 418.7 MB, free: 14.58 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.006118, allocations: 133.6 kB / 418.8 MB, free: 14.42 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.006139, allocations: 4.375 kB / 418.8 MB, free: 14.42 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.006162, allocations: 4.375 kB / 418.8 MB, free: 14.41 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.006326, allocations: 82.91 kB / 418.9 MB, free: 14.32 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006335, allocations: 192 / 418.9 MB, free: 14.32 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.006345, allocations: 8.375 kB / 418.9 MB, free: 14.32 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.006354, allocations: 3.938 kB / 418.9 MB, free: 14.31 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.006392, allocations: 15.94 kB / 418.9 MB, free: 14.3 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.006702, allocations: 180.2 kB / 419.1 MB, free: 14.11 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.006986, allocations: 70.56 kB / 419.2 MB, free: 14.03 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.007015, allocations: 8.859 kB / 419.2 MB, free: 14.02 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.007033, allocations: 4 kB / 419.2 MB, free: 14.01 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.00706, allocations: 38.5 kB / 419.2 MB, free: 13.96 MB / 394.8 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.007062, allocations: 0 / 419.2 MB, free: 13.96 MB / 394.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001767/0.007238, allocations: 61.67 kB / 419.3 MB, free: 13.9 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.007278, allocations: 51.41 kB / 419.3 MB, free: 13.84 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.007369, allocations: 138.6 kB / 419.5 MB, free: 13.69 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.007385, allocations: 25.7 kB / 419.5 MB, free: 13.66 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.007432, allocations: 100 kB / 419.6 MB, free: 13.55 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.00746, allocations: 15.84 kB / 419.6 MB, free: 13.54 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.007504, allocations: 25.7 kB / 419.6 MB, free: 13.51 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.007606, allocations: 318.8 kB / 420 MB, free: 13.19 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.007633, allocations: 15.98 kB / 420 MB, free: 13.17 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.007655, allocations: 4 kB / 420 MB, free: 13.17 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.007709, allocations: 28.83 kB / 420 MB, free: 13.14 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007712, allocations: 0 / 420 MB, free: 13.14 MB / 394.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.475e-05/0.007807, allocations: 57.61 kB / 420.1 MB, free: 13.07 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.007818, allocations: 4 kB / 420.1 MB, free: 13.07 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.007822, allocations: 3.938 kB / 420.1 MB, free: 13.07 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.007836, allocations: 4 kB / 420.1 MB, free: 13.06 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.007921, allocations: 15.98 kB / 420.1 MB, free: 13.05 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.007924, allocations: 0 / 420.1 MB, free: 13.05 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.007973, allocations: 27.86 kB / 420.1 MB, free: 13.02 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.007981, allocations: 0 / 420.1 MB, free: 13.02 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 6.747e-05/0.008048, allocations: 112.7 kB / 420.2 MB, free: 12.9 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.008078, allocations: 7.938 kB / 420.2 MB, free: 12.89 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.008105, allocations: 16.44 kB / 420.2 MB, free: 12.88 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.008109, allocations: 4 kB / 420.3 MB, free: 12.87 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.008111, allocations: 0 / 420.3 MB, free: 12.87 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008114, allocations: 0 / 420.3 MB, free: 12.87 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.008244, allocations: 81.88 kB / 420.3 MB, free: 12.77 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.008245, allocations: 0 / 420.3 MB, free: 12.77 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.008345, allocations: 19.98 kB / 420.4 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008348, allocations: 0 / 420.4 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.008359, allocations: 4.234 kB / 420.4 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.008365, allocations: 11.88 kB / 420.4 MB, free: 12.74 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.008368, allocations: 4 kB / 420.4 MB, free: 12.73 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.00853, allocations: 155.5 kB / 420.5 MB, free: 12.57 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.008539, allocations: 7.953 kB / 420.5 MB, free: 12.56 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.008551, allocations: 0 / 420.5 MB, free: 12.56 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.008605, allocations: 19.92 kB / 420.5 MB, free: 12.54 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.008637, allocations: 8.016 kB / 420.6 MB, free: 12.53 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.00864, allocations: 0 / 420.6 MB, free: 12.53 MB / 394.8 MB Notification: Performance of sorting global known variables: time 2.269e-05/0.008663, allocations: 31.64 kB / 420.6 MB, free: 12.5 MB / 394.8 MB Notification: Performance of sort global known variables: time 7e-08/0.008663, allocations: 0 / 420.6 MB, free: 12.5 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001617/0.008825, allocations: 12 kB / 420.6 MB, free: 12.49 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 7.436e-05/0.008899, allocations: 80.3 kB / 420.7 MB, free: 12.41 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 6.812e-05/0.008967, allocations: 33.02 kB / 420.7 MB, free: 12.37 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.008969, allocations: 4 kB / 420.7 MB, free: 12.37 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.008993, allocations: 16.84 kB / 420.7 MB, free: 12.35 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.009116, allocations: 16.16 kB / 420.7 MB, free: 12.33 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.009508, allocations: 207.7 kB / 421 MB, free: 12.09 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.009541, allocations: 63.34 kB / 421 MB, free: 12.01 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 2.759e-05/0.009569, allocations: 11.97 kB / 421 MB, free: 12 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.009618, allocations: 59.38 kB / 421.1 MB, free: 11.94 MB / 394.8 MB Notification: Performance of SimCode: time 5.81e-07/0.009619, allocations: 0 / 421.1 MB, free: 11.94 MB / 394.8 MB Notification: Performance of Templates: time 0.00213/0.01175, allocations: 0.8104 MB / 421.9 MB, free: 11.14 MB / 394.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=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 240] 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","",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.3033748399466276]