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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01432/0.01432, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.001252/0.001252, allocations: 88.62 kB / 25.15 MB, free: 6.316 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.001437/0.001437, allocations: 163.2 kB / 29.05 MB, free: 3.352 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.9862/0.9862, allocations: 177.1 MB / 210 MB, free: 3.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6353/0.6353, allocations: 102.4 MB / 369.5 MB, free: 388 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.863e-05, allocations: 2.859 kB / 469.9 MB, free: 19.01 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001261/0.001289, allocations: 1.056 MB / 471 MB, free: 18.36 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.002595, allocations: 1.444 MB / 472.4 MB, free: 17.37 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.002621, allocations: 2.094 kB / 472.4 MB, free: 17.37 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.002639, allocations: 0 / 472.4 MB, free: 17.37 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.003003, allocations: 97.62 kB / 472.5 MB, free: 17.33 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.946e-06/0.003006, allocations: 0 / 472.5 MB, free: 17.33 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 3.781e-05/0.003044, allocations: 10.88 kB / 472.5 MB, free: 17.32 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.003082, allocations: 4.703 kB / 472.5 MB, free: 17.32 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.003105, allocations: 2.875 kB / 472.5 MB, free: 17.32 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.003139, allocations: 0 / 472.5 MB, free: 17.32 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.003147, allocations: 6.891 kB / 472.5 MB, free: 17.32 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.003428, allocations: 174.3 kB / 472.7 MB, free: 17.27 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-06/0.003436, allocations: 7.359 kB / 472.7 MB, free: 17.27 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.003449, allocations: 9.469 kB / 472.7 MB, free: 17.26 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.003588, allocations: 105 kB / 472.8 MB, free: 17.23 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00359, allocations: 0 / 472.8 MB, free: 17.23 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003591, allocations: 0 / 472.8 MB, free: 17.23 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003595, allocations: 0 / 472.8 MB, free: 17.23 MB / 410.8 MB 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.0002007/0.003796, allocations: 366.8 kB / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.003829, allocations: 8.594 kB / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.003863, allocations: 4.188 kB / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.478e-05/0.003898, allocations: 112.6 kB / 473.3 MB, free: 16.72 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.003907, allocations: 384 / 473.3 MB, free: 16.72 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.003917, allocations: 3.688 kB / 473.3 MB, free: 16.72 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.304e-05/0.004, allocations: 38.17 kB / 473.3 MB, free: 16.68 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004008, allocations: 0.9688 kB / 473.3 MB, free: 16.68 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.004017, allocations: 4.312 kB / 473.3 MB, free: 16.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.004024, allocations: 7.75 kB / 473.4 MB, free: 16.68 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.818e-05/0.004052, allocations: 9.812 kB / 473.4 MB, free: 16.67 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.325e-05/0.004145, allocations: 114.7 kB / 473.5 MB, free: 16.53 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.336e-05/0.004219, allocations: 43.73 kB / 473.5 MB, free: 16.49 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.004241, allocations: 20.06 kB / 473.5 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.004423, allocations: 33.02 kB / 473.6 MB, free: 16.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.004442, allocations: 43.33 kB / 473.6 MB, free: 16.43 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.004442, allocations: 0 / 473.6 MB, free: 16.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.000126/0.004568, allocations: 51.33 kB / 473.7 MB, free: 16.39 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.004587, allocations: 58.09 kB / 473.7 MB, free: 16.32 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.892e-05/0.004606, allocations: 143.1 kB / 473.9 MB, free: 16.17 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-06/0.004611, allocations: 25.7 kB / 473.9 MB, free: 16.14 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.004627, allocations: 128.8 kB / 474 MB, free: 16.01 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.004657, allocations: 17.84 kB / 474 MB, free: 16 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.004678, allocations: 17.97 kB / 474 MB, free: 15.98 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003406/0.005018, allocations: 495 kB / 474.5 MB, free: 31.48 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.005033, allocations: 6.781 kB / 474.5 MB, free: 31.48 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-06/0.005042, allocations: 6.031 kB / 474.5 MB, free: 31.48 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.005079, allocations: 27.08 kB / 474.6 MB, free: 31.46 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005081, allocations: 2.625 kB / 474.6 MB, free: 31.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.086e-05/0.005132, allocations: 50.31 kB / 474.6 MB, free: 31.42 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.005143, allocations: 3.844 kB / 474.6 MB, free: 31.42 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005147, allocations: 3.875 kB / 474.6 MB, free: 31.42 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.005162, allocations: 1.375 kB / 474.6 MB, free: 31.42 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.005216, allocations: 8.297 kB / 474.6 MB, free: 31.42 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005221, allocations: 3.938 kB / 474.6 MB, free: 31.42 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-06/0.005229, allocations: 0 / 474.6 MB, free: 31.42 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.005233, allocations: 3.875 kB / 474.6 MB, free: 31.42 MB / 426.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 (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 5.153e-05/0.005285, allocations: 160.5 kB / 474.8 MB, free: 31.25 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-06/0.00529, allocations: 2.625 kB / 474.8 MB, free: 31.25 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.099e-05/0.005381, allocations: 59.78 kB / 474.9 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.005383, allocations: 2.625 kB / 474.9 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005387, allocations: 1.188 kB / 474.9 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.00539, allocations: 3.938 kB / 474.9 MB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.286e-05/0.005433, allocations: 111.3 kB / 475 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.005435, allocations: 8.438 kB / 475 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.00545, allocations: 5.25 kB / 475 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.005451, allocations: 6.625 kB / 475 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.005457, allocations: 0 / 475 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005457, allocations: 2.656 kB / 475 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005458, allocations: 0 / 475 MB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.979e-05/0.005508, allocations: 91.06 kB / 475.1 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-06/0.005512, allocations: 7.281 kB / 475.1 MB, free: 30.95 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.00552, allocations: 4 kB / 475.1 MB, free: 30.95 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-06/0.005525, allocations: 2.625 kB / 475.1 MB, free: 30.95 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.005543, allocations: 0 / 475.1 MB, free: 30.95 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.005546, allocations: 4.656 kB / 475.1 MB, free: 30.95 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.005579, allocations: 123.1 kB / 475.2 MB, free: 30.83 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005579, allocations: 0 / 475.2 MB, free: 30.83 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001321/0.005711, allocations: 17.77 kB / 475.2 MB, free: 30.82 MB / 426.8 MB 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.0001173/0.005829, allocations: 116.9 kB / 475.4 MB, free: 30.73 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 7.971e-05/0.005908, allocations: 34.66 kB / 475.4 MB, free: 30.71 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.00591, allocations: 0 / 475.4 MB, free: 30.71 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.00592, allocations: 15.56 kB / 475.4 MB, free: 30.7 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.808e-05/0.006018, allocations: 10 kB / 475.4 MB, free: 30.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001836/0.006201, allocations: 99.05 kB / 475.5 MB, free: 30.59 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.744e-05/0.006229, allocations: 54.55 kB / 475.6 MB, free: 30.52 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.274e-05/0.006251, allocations: 4.906 kB / 475.6 MB, free: 30.52 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.006268, allocations: 8.5 kB / 475.6 MB, free: 30.51 MB / 426.8 MB Notification: Performance of SimCode: time 9.52e-07/0.006269, allocations: 2.625 kB / 475.6 MB, free: 30.51 MB / 426.8 MB Notification: Performance of Templates: time 0.002003/0.008272, allocations: 0.6131 MB / 476.2 MB, free: 30.45 MB / 426.8 MB " [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=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 240] 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","",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: 3.8258586009033024]