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.01266/0.01266, 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.001327/0.001327, allocations: 97.02 kB / 24.81 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.00181/0.00181, allocations: 196.2 kB / 28.49 MB, free: 3.586 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.526/1.526, allocations: 225.6 MB / 257.6 MB, free: 11.03 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.207/1.207, allocations: 129.1 MB / 442.4 MB, free: 14.46 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.03082/0.03082, allocations: 20.99 MB / 0.6263 GB, free: 13.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2402, allocations: 80.48 MB / 0.7049 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002196/0.2424, allocations: 1.019 MB / 0.7059 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.2444, allocations: 1.42 MB / 0.7073 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.2444, allocations: 0 / 0.7073 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.2444, allocations: 0 / 0.7073 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.2449, allocations: 103.6 kB / 0.7074 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.2449, allocations: 0 / 0.7074 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.624e-05/0.2449, allocations: 0 / 0.7074 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.2449, allocations: 4 kB / 0.7074 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.245, allocations: 11.92 kB / 0.7074 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.245, allocations: 8 kB / 0.7074 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-06/0.245, allocations: 0 / 0.7074 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.2453, allocations: 167.7 kB / 0.7076 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.814e-06/0.2453, allocations: 0 / 0.7076 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.2454, allocations: 7.875 kB / 0.7076 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.2455, allocations: 91.75 kB / 0.7077 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2455, allocations: 0 / 0.7077 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2455, allocations: 0 / 0.7077 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2455, allocations: 0 / 0.7077 GB, free: 10.02 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.0002637/0.2458, allocations: 262.2 kB / 0.7079 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.2458, allocations: 12.62 kB / 0.708 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.707e-05/0.2458, allocations: 0.9375 kB / 0.708 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.2459, allocations: 102.5 kB / 0.7081 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.2459, allocations: 4.375 kB / 0.7081 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.2459, allocations: 384 / 0.7081 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.246, allocations: 49.92 kB / 0.7081 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.246, allocations: 4 kB / 0.7081 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-06/0.246, allocations: 0 / 0.7081 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-06/0.246, allocations: 0 / 0.7081 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.2461, allocations: 19.98 kB / 0.7081 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.2462, allocations: 132.6 kB / 0.7083 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2463, allocations: 38.55 kB / 0.7083 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.2464, allocations: 12.86 kB / 0.7083 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.2466, allocations: 36.06 kB / 0.7083 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2466, allocations: 42.48 kB / 0.7084 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2466, allocations: 3.938 kB / 0.7084 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001715/0.2468, allocations: 53.69 kB / 0.7084 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.2469, allocations: 55.41 kB / 0.7085 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.2469, allocations: 89.86 kB / 0.7086 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2469, allocations: 25.7 kB / 0.7086 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.247, allocations: 80.14 kB / 0.7087 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.247, allocations: 11.91 kB / 0.7087 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.247, allocations: 17.72 kB / 0.7087 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2472, allocations: 318.8 kB / 0.709 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.2472, allocations: 4 kB / 0.709 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.2472, allocations: 8 kB / 0.709 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.2473, allocations: 28.8 kB / 0.709 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2473, allocations: 0 / 0.709 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.262e-05/0.2473, allocations: 45.69 kB / 0.7091 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2473, allocations: 11.94 kB / 0.7091 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2474, allocations: 0 / 0.7091 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2474, allocations: 4 kB / 0.7091 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.2474, allocations: 11.98 kB / 0.7091 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2474, allocations: 3.938 kB / 0.7091 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.2475, allocations: 4 kB / 0.7091 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.2475, allocations: 0 / 0.7091 GB, free: 8.371 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 8.614e-05/0.2475, allocations: 105.8 kB / 0.7092 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.2476, allocations: 3.938 kB / 0.7092 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.2477, allocations: 65.47 kB / 0.7093 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2477, allocations: 4 kB / 0.7093 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2477, allocations: 3.984 kB / 0.7093 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2477, allocations: 4 kB / 0.7093 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2478, allocations: 120.8 kB / 0.7094 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2478, allocations: 0 / 0.7094 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.2478, allocations: 7.984 kB / 0.7094 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2478, allocations: 3.938 kB / 0.7094 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2479, allocations: 8 kB / 0.7094 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2479, allocations: 4 kB / 0.7094 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2479, allocations: 0 / 0.7094 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.248, allocations: 81.02 kB / 0.7095 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.248, allocations: 4 kB / 0.7095 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.248, allocations: 3.938 kB / 0.7095 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.248, allocations: 0 / 0.7095 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.248, allocations: 7.922 kB / 0.7095 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.248, allocations: 4 kB / 0.7095 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.2481, allocations: 75.28 kB / 0.7096 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2481, allocations: 0 / 0.7096 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002025/0.2483, allocations: 23.94 kB / 0.7096 GB, free: 7.773 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.0001871/0.2484, allocations: 111.2 kB / 0.7097 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.2486, allocations: 23.92 kB / 0.7098 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2486, allocations: 0 / 0.7098 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.2486, allocations: 8 kB / 0.7098 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.2487, allocations: 8 kB / 0.7098 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.249, allocations: 118.7 kB / 0.7099 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2493, allocations: 0.6845 MB / 0.7106 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.2493, allocations: 11.44 kB / 0.7106 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2493, allocations: 0 / 0.7106 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of Templates: time 0.002383/0.2517, allocations: 0.7012 MB / 0.7113 GB, free: 6.043 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins1/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: 8.944721865933388]