Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.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.01575/0.01575, allocations: 1.765 MB / 20.59 MB, free: 1.27 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.001866/0.001866, allocations: 98.81 kB / 24.18 MB, free: 2.648 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.002387/0.002387, allocations: 191.9 kB / 27.9 MB, free: 4.016 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.687/1.687, allocations: 225.6 MB / 257.1 MB, free: 10.96 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.047/1.047, allocations: 129.2 MB / 441.9 MB, free: 14.27 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.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") [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.0279/0.0279, allocations: 20.57 MB / 0.6257 GB, free: 13.83 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1852, allocations: 80.47 MB / 0.7043 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002168/0.1874, allocations: 1.022 MB / 0.7053 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1894, allocations: 1.423 MB / 0.7066 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.1894, allocations: 0 / 0.7066 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.1894, allocations: 0 / 0.7066 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.1898, allocations: 99.66 kB / 0.7067 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.1898, allocations: 0 / 0.7067 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.494e-05/0.1899, allocations: 3.984 kB / 0.7067 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.1899, allocations: 4 kB / 0.7067 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.1899, allocations: 11.92 kB / 0.7068 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.48e-05/0.19, allocations: 7.938 kB / 0.7068 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.19, allocations: 0 / 0.7068 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.1904, allocations: 191.7 kB / 0.7069 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1904, allocations: 3.984 kB / 0.7069 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.1904, allocations: 7.938 kB / 0.707 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1906, allocations: 91.73 kB / 0.707 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1906, allocations: 0 / 0.707 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1906, allocations: 0 / 0.707 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1906, allocations: 4 kB / 0.707 GB, free: 10.33 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003148/0.1909, allocations: 258.3 kB / 0.7073 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.191, allocations: 12.56 kB / 0.7073 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.191, allocations: 4.938 kB / 0.7073 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.052e-05/0.1911, allocations: 106.5 kB / 0.7074 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1911, allocations: 4.375 kB / 0.7074 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.1911, allocations: 384 / 0.7074 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1912, allocations: 49.98 kB / 0.7075 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1912, allocations: 3.938 kB / 0.7075 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1912, allocations: 0 / 0.7075 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1912, allocations: 4 kB / 0.7075 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.1913, allocations: 11.98 kB / 0.7075 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.1914, allocations: 132.7 kB / 0.7076 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.781e-05/0.1915, allocations: 38.55 kB / 0.7076 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.1916, allocations: 12.86 kB / 0.7077 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.1918, allocations: 36.06 kB / 0.7077 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1919, allocations: 38.5 kB / 0.7077 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1919, allocations: 0 / 0.7077 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001767/0.192, allocations: 61.61 kB / 0.7078 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1921, allocations: 55.41 kB / 0.7078 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.1921, allocations: 89.86 kB / 0.7079 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1921, allocations: 29.64 kB / 0.708 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.1922, allocations: 80.14 kB / 0.708 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.1922, allocations: 7.906 kB / 0.708 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.1922, allocations: 21.72 kB / 0.7081 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1924, allocations: 314.8 kB / 0.7084 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.1924, allocations: 8 kB / 0.7084 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.1924, allocations: 4 kB / 0.7084 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/0.1925, allocations: 24.86 kB / 0.7084 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1925, allocations: 0 / 0.7084 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.284e-05/0.1926, allocations: 49.62 kB / 0.7084 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1926, allocations: 11.94 kB / 0.7085 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1926, allocations: 4 kB / 0.7085 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1926, allocations: 0 / 0.7085 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.1927, allocations: 7.984 kB / 0.7085 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1927, allocations: 0 / 0.7085 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.1927, allocations: 4 kB / 0.7085 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1927, allocations: 0 / 0.7085 GB, free: 8.688 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 (4): * Single equations (assignments): 4 * 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 7.798e-05/0.1928, allocations: 109.8 kB / 0.7086 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.1928, allocations: 7.938 kB / 0.7086 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.1929, allocations: 61.53 kB / 0.7086 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1929, allocations: 3.938 kB / 0.7086 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1929, allocations: 0 / 0.7086 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1929, allocations: 7.984 kB / 0.7087 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.193, allocations: 128.7 kB / 0.7088 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.193, allocations: 0 / 0.7088 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.193, allocations: 7.984 kB / 0.7088 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.193, allocations: 3.938 kB / 0.7088 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.193, allocations: 4 kB / 0.7088 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.193, allocations: 0 / 0.7088 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.193, allocations: 0 / 0.7088 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1932, allocations: 85.08 kB / 0.7089 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.1932, allocations: 3.938 kB / 0.7089 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1932, allocations: 7.938 kB / 0.7089 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.076e-05/0.1932, allocations: 0 / 0.7089 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.1932, allocations: 7.984 kB / 0.7089 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.1932, allocations: 0 / 0.7089 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.1932, allocations: 79.22 kB / 0.709 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1932, allocations: 4 kB / 0.709 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002066/0.1934, allocations: 15.94 kB / 0.709 GB, free: 8.082 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001652/0.1936, allocations: 107.2 kB / 0.7091 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.1937, allocations: 19.98 kB / 0.7091 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1937, allocations: 4 kB / 0.7091 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.1937, allocations: 7.938 kB / 0.7091 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1939, allocations: 14.06 kB / 0.7091 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.1941, allocations: 101 kB / 0.7092 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1944, allocations: 0.6729 MB / 0.7099 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.1944, allocations: 7.984 kB / 0.7099 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.1944, allocations: 7.438 kB / 0.7099 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1944, allocations: 0 / 0.7099 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of Templates: time 0.002996/0.1974, allocations: 0.6214 MB / 0.7105 GB, free: 6.465 MB / 0.5294 GB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _derdummy from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _dummy in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _dummy from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 6.102361041121185]