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 0.3.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.3.1-main/package.mo): time 0.01089/0.01089, allocations: 1.756 MB / 21.25 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 92.66 kB / 24.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 196.2 kB / 28.5 MB, free: 3.582 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 257.6 MB, free: 11.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.152/1.152, allocations: 129.1 MB / 442.4 MB, free: 14.33 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.3.1-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: Skipped loading package TILMedia (1.8.2 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02967/0.02967, allocations: 20.99 MB / 0.6264 GB, free: 13.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.2118, allocations: 80.48 MB / 0.705 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.004043/0.2158, allocations: 2.303 MB / 0.7072 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.2168, allocations: 490.7 kB / 0.7077 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.2168, allocations: 0 / 0.7077 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.827e-05/0.2169, allocations: 7.875 kB / 0.7077 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.217, allocations: 11.88 kB / 0.7077 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.2173, allocations: 43.81 kB / 0.7077 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.2174, allocations: 75.72 kB / 0.7078 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2175, allocations: 23.92 kB / 0.7078 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2176, allocations: 31.91 kB / 0.7079 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.2177, allocations: 47.77 kB / 0.7079 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.2177, allocations: 8 kB / 0.7079 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.2178, allocations: 8 kB / 0.7079 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.2178, allocations: 15.98 kB / 0.7079 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.2179, allocations: 35.8 kB / 0.708 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.218, allocations: 71.66 kB / 0.708 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.218, allocations: 0 / 0.708 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.218, allocations: 0 / 0.708 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.218, allocations: 0 / 0.708 GB, free: 9.652 MB / 0.5294 GB 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.0006883/0.2187, allocations: 341.9 kB / 0.7084 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2187, allocations: 8.625 kB / 0.7084 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.2188, allocations: 16.88 kB / 0.7084 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.219, allocations: 130.4 kB / 0.7085 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.219, allocations: 4.375 kB / 0.7085 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.219, allocations: 4.375 kB / 0.7085 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.2194, allocations: 101.9 kB / 0.7086 GB, free: 9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2194, allocations: 3.938 kB / 0.7086 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2194, allocations: 0 / 0.7086 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2194, allocations: 4 kB / 0.7086 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.2197, allocations: 71.92 kB / 0.7087 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.2202, allocations: 295.7 kB / 0.709 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.2208, allocations: 150.5 kB / 0.7091 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.221, allocations: 52.81 kB / 0.7092 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2211, allocations: 0 / 0.7092 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2211, allocations: 30.56 kB / 0.7092 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.2211, allocations: 0 / 0.7092 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0006825/0.2218, allocations: 185.4 kB / 0.7094 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2218, allocations: 51.41 kB / 0.7094 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.222, allocations: 133.1 kB / 0.7096 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.222, allocations: 33.64 kB / 0.7096 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.222, allocations: 88.14 kB / 0.7097 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.2221, allocations: 31.78 kB / 0.7097 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.2221, allocations: 21.66 kB / 0.7097 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2223, allocations: 322.8 kB / 0.71 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.2225, allocations: 47.95 kB / 0.7101 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.2227, allocations: 47.95 kB / 0.7101 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.223, allocations: 96.77 kB / 0.7102 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.223, allocations: 0 / 0.7102 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004207/0.2234, allocations: 145.5 kB / 0.7104 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2235, allocations: 8 kB / 0.7104 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2235, allocations: 0 / 0.7104 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2235, allocations: 0 / 0.7104 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.2236, allocations: 27.97 kB / 0.7104 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2236, allocations: 0 / 0.7104 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.2237, allocations: 15.98 kB / 0.7104 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2237, allocations: 7.984 kB / 0.7104 GB, free: 7.039 MB / 0.5294 GB 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.0001054/0.2238, allocations: 117.8 kB / 0.7105 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.2239, allocations: 7.953 kB / 0.7105 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2239, allocations: 8.406 kB / 0.7105 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2239, allocations: 4 kB / 0.7105 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2239, allocations: 0 / 0.7105 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2239, allocations: 0 / 0.7105 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.2241, allocations: 160.9 kB / 0.7107 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2241, allocations: 0 / 0.7107 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2243, allocations: 31.91 kB / 0.7107 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2243, allocations: 4 kB / 0.7107 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2243, allocations: 4 kB / 0.7107 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2243, allocations: 0 / 0.7107 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2243, allocations: 0 / 0.7107 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.225, allocations: 287.2 kB / 0.711 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.225, allocations: 4.031 kB / 0.711 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.225, allocations: 4 kB / 0.711 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2252, allocations: 19.97 kB / 0.711 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.2252, allocations: 3.984 kB / 0.711 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.2252, allocations: 4.062 kB / 0.711 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.009e-05/0.2253, allocations: 107.2 kB / 0.7111 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2253, allocations: 0 / 0.7111 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002293/0.2255, allocations: 23.83 kB / 0.7112 GB, free: 6.188 MB / 0.5294 GB 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.0001206/0.2256, allocations: 103.2 kB / 0.7113 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.2261, allocations: 103.9 kB / 0.7114 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2261, allocations: 0 / 0.7114 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.2263, allocations: 47.95 kB / 0.7114 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.2266, allocations: 19.78 kB / 0.7114 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.2271, allocations: 242.5 kB / 0.7117 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.2275, allocations: 0.6963 MB / 0.7123 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.2276, allocations: 15.42 kB / 0.7124 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.2276, allocations: 0 / 0.7124 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of Templates: time 0.002908/0.2305, allocations: 1.096 MB / 0.7134 GB, free: 3.812 MB / 0.5294 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","/var/lib/jenkins1/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: 8.826059008017182]