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.01689/0.01689, allocations: 1.348 MB / 20.45 MB, free: 1.262 MB / 14.72 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.001571/0.001571, allocations: 72.83 kB / 24.02 MB, free: 2.613 MB / 14.72 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.001813/0.001813, allocations: 156.2 kB / 27.71 MB, free: 3.863 MB / 19.63 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 1.518/1.518, allocations: 177.1 MB / 208.4 MB, free: 7.676 MB / 190.1 MB " [Timeout remaining time 178] 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 1.041/1.041, allocations: 102.5 MB / 367.8 MB, free: 4.59 MB / 334.1 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 0.3.1 (/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.733e-06/1.733e-06, allocations: 0 / 0.5364 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.482e-05, allocations: 4.25 kB / 0.5364 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001728/0.001763, allocations: 1.021 MB / 0.5374 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.003504, allocations: 1.402 MB / 0.5388 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.00353, allocations: 0 / 0.5388 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.003544, allocations: 0 / 0.5388 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.004012, allocations: 100.4 kB / 0.5389 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.029e-06/0.004017, allocations: 0 / 0.5389 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.004062, allocations: 7.094 kB / 0.5389 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.004109, allocations: 6.25 kB / 0.5389 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.004144, allocations: 1.094 kB / 0.5389 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.004196, allocations: 9.281 kB / 0.5389 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.714e-06/0.004203, allocations: 1.25 kB / 0.5389 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.004625, allocations: 180.1 kB / 0.5391 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.735e-06/0.004633, allocations: 0 / 0.5391 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.004646, allocations: 1.469 kB / 0.5391 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.004854, allocations: 112.5 kB / 0.5392 GB, free: 5.012 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.004859, allocations: 0 / 0.5392 GB, free: 5.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.00486, allocations: 1.719 kB / 0.5392 GB, free: 5.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004865, allocations: 4 kB / 0.5392 GB, free: 5.008 MB / 446.1 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.0002596/0.005124, allocations: 259.3 kB / 0.5394 GB, free: 4.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.005166, allocations: 8.281 kB / 0.5394 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.0052, allocations: 2.188 kB / 0.5394 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.176e-05/0.005262, allocations: 111.4 kB / 0.5396 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005274, allocations: 1.875 kB / 0.5396 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.005283, allocations: 1.5 kB / 0.5396 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.005396, allocations: 40.12 kB / 0.5396 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.005407, allocations: 4.125 kB / 0.5396 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.005418, allocations: 1.5 kB / 0.5396 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.005423, allocations: 3.938 kB / 0.5396 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.005472, allocations: 15.16 kB / 0.5396 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.005578, allocations: 101.6 kB / 0.5397 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.005684, allocations: 38.27 kB / 0.5398 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.005714, allocations: 11.3 kB / 0.5398 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.005972, allocations: 38.88 kB / 0.5398 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.005995, allocations: 36.39 kB / 0.5398 GB, free: 4.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005996, allocations: 3.938 kB / 0.5398 GB, free: 4.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001699/0.006166, allocations: 58.25 kB / 0.5399 GB, free: 4.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.006195, allocations: 60.72 kB / 0.54 GB, free: 4.199 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.639e-05/0.006211, allocations: 89.86 kB / 0.54 GB, free: 4.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.006219, allocations: 30.92 kB / 0.5401 GB, free: 4.066 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.425e-05/0.006234, allocations: 80.14 kB / 0.5401 GB, free: 3.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.006267, allocations: 14.09 kB / 0.5402 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.006294, allocations: 17.62 kB / 0.5402 GB, free: 3.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.006346, allocations: 316 kB / 0.5405 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.006364, allocations: 3.781 kB / 0.5405 GB, free: 3.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.006376, allocations: 11.17 kB / 0.5405 GB, free: 3.629 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.00642, allocations: 22.52 kB / 0.5405 GB, free: 3.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.006421, allocations: 5.312 kB / 0.5405 GB, free: 3.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.342e-05/0.006485, allocations: 51.28 kB / 0.5406 GB, free: 3.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.006498, allocations: 4.969 kB / 0.5406 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.006502, allocations: 0 / 0.5406 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.006534, allocations: 1.219 kB / 0.5406 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.0066, allocations: 9.078 kB / 0.5406 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.006606, allocations: 5.125 kB / 0.5406 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.00662, allocations: 5.141 kB / 0.5406 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.006625, allocations: 1.688 kB / 0.5406 GB, free: 3.555 MB / 446.1 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.172e-05/0.006677, allocations: 111.1 kB / 0.5407 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.006685, allocations: 5.156 kB / 0.5407 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.006804, allocations: 59.41 kB / 0.5408 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006806, allocations: 1.219 kB / 0.5408 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.00681, allocations: 0 / 0.5408 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.006815, allocations: 7.922 kB / 0.5408 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.227e-05/0.006867, allocations: 102.2 kB / 0.5409 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006868, allocations: 0 / 0.5409 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.006894, allocations: 5.125 kB / 0.5409 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006896, allocations: 1.375 kB / 0.5409 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006903, allocations: 0 / 0.5409 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.006904, allocations: 5.312 kB / 0.5409 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006905, allocations: 0 / 0.5409 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.055e-05/0.006986, allocations: 88.53 kB / 0.541 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-06/0.006992, allocations: 5.672 kB / 0.541 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.007003, allocations: 1.656 kB / 0.541 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.007013, allocations: 0 / 0.541 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.007027, allocations: 1.656 kB / 0.541 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007032, allocations: 5.781 kB / 0.541 GB, free: 3.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.478e-05/0.007046, allocations: 79.22 kB / 0.541 GB, free: 3.066 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-08/0.007046, allocations: 0 / 0.541 GB, free: 3.066 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.007264, allocations: 27.27 kB / 0.5411 GB, free: 3.051 MB / 446.1 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.000163/0.007427, allocations: 119.1 kB / 0.5412 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.007522, allocations: 15.89 kB / 0.5412 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.007525, allocations: 1.156 kB / 0.5412 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.007542, allocations: 14.86 kB / 0.5412 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.007676, allocations: 5.156 kB / 0.5412 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.007901, allocations: 100 kB / 0.5413 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.685e-05/0.007938, allocations: 56.23 kB / 0.5414 GB, free: 2.754 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.338e-05/0.007961, allocations: 6.406 kB / 0.5414 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.007978, allocations: 9.656 kB / 0.5414 GB, free: 2.742 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.007979, allocations: 1.188 kB / 0.5414 GB, free: 2.742 MB / 446.1 MB Notification: Performance of Templates: time 0.002917/0.0109, allocations: 0.5899 MB / 0.542 GB, free: 2.438 MB / 446.1 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=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: 5.937626164406538]