Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01058/0.01058, allocations: 1.759 MB / 21.25 MB, free: 0.6562 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.001317/0.001317, allocations: 108.2 kB / 24.81 MB, free: 2.25 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.001665/0.001665, allocations: 196.2 kB / 28.5 MB, free: 3.57 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.435/1.435, allocations: 225.6 MB / 257.6 MB, free: 11.04 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.065/1.065, allocations: 129.1 MB / 442.4 MB, free: 14.36 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_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_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.04546/0.04546, allocations: 20.69 MB / 0.626 GB, free: 13.79 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.2255, allocations: 80.48 MB / 0.7046 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002182/0.2277, allocations: 1.025 MB / 0.7056 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.2296, allocations: 1.419 MB / 0.707 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.2297, allocations: 4 kB / 0.707 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.2297, allocations: 4 kB / 0.707 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.2301, allocations: 98.02 kB / 0.7071 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.2301, allocations: 0 / 0.7071 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.2302, allocations: 7.984 kB / 0.7071 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.2302, allocations: 0 / 0.7071 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.895e-05/0.2302, allocations: 11.94 kB / 0.7072 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.104e-05/0.2303, allocations: 0 / 0.7072 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.2303, allocations: 0 / 0.7072 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.2306, allocations: 171.7 kB / 0.7073 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2306, allocations: 4 kB / 0.7073 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.2307, allocations: 7.922 kB / 0.7073 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.2308, allocations: 87.77 kB / 0.7074 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2308, allocations: 0 / 0.7074 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2308, allocations: 0 / 0.7074 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2309, allocations: 3.984 kB / 0.7074 GB, free: 10.3 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.0002934/0.2311, allocations: 258.2 kB / 0.7077 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2312, allocations: 8.625 kB / 0.7077 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.2312, allocations: 0.9375 kB / 0.7077 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.2313, allocations: 106.5 kB / 0.7078 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2313, allocations: 4.375 kB / 0.7078 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.2313, allocations: 4.312 kB / 0.7078 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.2314, allocations: 49.98 kB / 0.7078 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2314, allocations: 0 / 0.7078 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2314, allocations: 3.938 kB / 0.7078 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2314, allocations: 0 / 0.7078 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.2315, allocations: 12 kB / 0.7078 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.2317, allocations: 128.7 kB / 0.708 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.597e-05/0.2317, allocations: 38.61 kB / 0.708 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.2318, allocations: 16.86 kB / 0.708 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.232, allocations: 32.06 kB / 0.7081 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.232, allocations: 34.5 kB / 0.7081 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.232, allocations: 0 / 0.7081 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.2322, allocations: 61.62 kB / 0.7081 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.2323, allocations: 55.41 kB / 0.7082 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.2323, allocations: 89.86 kB / 0.7083 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.2323, allocations: 25.7 kB / 0.7083 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.2323, allocations: 80.14 kB / 0.7084 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.2324, allocations: 19.89 kB / 0.7084 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.2324, allocations: 9.719 kB / 0.7084 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2325, allocations: 318.8 kB / 0.7087 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.2326, allocations: 7.938 kB / 0.7087 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.2326, allocations: 11.98 kB / 0.7087 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.2326, allocations: 24.8 kB / 0.7088 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2326, allocations: 0 / 0.7088 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.855e-05/0.2327, allocations: 53.69 kB / 0.7088 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2327, allocations: 9.656 kB / 0.7088 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2327, allocations: 4 kB / 0.7088 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2327, allocations: 0 / 0.7088 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.2328, allocations: 8 kB / 0.7088 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2328, allocations: 0 / 0.7088 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.2328, allocations: 0 / 0.7088 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2328, allocations: 4 kB / 0.7088 GB, free: 8.664 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.527e-05/0.2329, allocations: 113.8 kB / 0.7089 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.2329, allocations: 3.938 kB / 0.7089 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.233, allocations: 65.41 kB / 0.709 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.233, allocations: 4 kB / 0.709 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.233, allocations: 3.938 kB / 0.709 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.233, allocations: 0 / 0.709 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.2331, allocations: 128.7 kB / 0.7091 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2331, allocations: 4 kB / 0.7091 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.2331, allocations: 4 kB / 0.7091 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2331, allocations: 7.938 kB / 0.7092 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.2332, allocations: 4 kB / 0.7092 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2332, allocations: 0 / 0.7092 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2332, allocations: 0 / 0.7092 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.2333, allocations: 85 kB / 0.7092 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-06/0.2333, allocations: 0 / 0.7092 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2333, allocations: 3.938 kB / 0.7092 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.2333, allocations: 8 kB / 0.7092 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.2333, allocations: 0 / 0.7092 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2333, allocations: 0 / 0.7092 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.2333, allocations: 75.28 kB / 0.7093 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2333, allocations: 0 / 0.7093 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000203/0.2335, allocations: 23.92 kB / 0.7093 GB, free: 8.062 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.0001516/0.2337, allocations: 111.2 kB / 0.7095 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.2338, allocations: 20 kB / 0.7095 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2338, allocations: 3.938 kB / 0.7095 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.829e-05/0.2338, allocations: 11.98 kB / 0.7095 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.2339, allocations: 4 kB / 0.7095 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.2342, allocations: 96.98 kB / 0.7096 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.2344, allocations: 0.6728 MB / 0.7102 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.2345, allocations: 4 kB / 0.7102 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.2345, allocations: 11.44 kB / 0.7103 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.2345, allocations: 4 kB / 0.7103 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of Templates: time 0.4883/0.7228, allocations: 0.6102 MB / 0.7109 GB, free: 6.453 MB / 0.5294 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_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_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 9.098548354999366]