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.006003/0.006003, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0006966/0.0006966, allocations: 87.47 kB / 24.15 MB, free: 400 kB / 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.0007857/0.0007857, allocations: 160.2 kB / 27.86 MB, free: 5.496 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.8242/0.8242, allocations: 177.2 MB / 208.6 MB, free: 2.977 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.6581/0.6581, allocations: 102.5 MB / 367.9 MB, free: 1.418 MB / 330.8 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.5.2 (/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.623e-06/1.623e-06, allocations: 0 / 0.5366 GB, free: 39.84 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.099e-05, allocations: 4.812 kB / 0.5366 GB, free: 39.83 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001089/0.00111, allocations: 1.031 MB / 0.5376 GB, free: 39.16 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.002282, allocations: 1.405 MB / 0.539 GB, free: 38.17 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.002307, allocations: 2.312 kB / 0.539 GB, free: 38.17 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.002322, allocations: 3.938 kB / 0.539 GB, free: 38.16 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.002671, allocations: 97.92 kB / 0.5391 GB, free: 38.12 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.898e-06/0.002675, allocations: 0 / 0.5391 GB, free: 38.12 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 4.237e-05/0.002717, allocations: 2.781 kB / 0.5391 GB, free: 38.12 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.00276, allocations: 2.844 kB / 0.5391 GB, free: 38.12 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.002788, allocations: 5.531 kB / 0.5391 GB, free: 38.12 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.001e-05/0.002828, allocations: 13.91 kB / 0.5391 GB, free: 38.11 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.002836, allocations: 0 / 0.5391 GB, free: 38.11 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.00314, allocations: 174.2 kB / 0.5393 GB, free: 38.07 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.003148, allocations: 4.797 kB / 0.5393 GB, free: 38.07 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.076e-05/0.003159, allocations: 0 / 0.5393 GB, free: 38.07 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.00331, allocations: 114.8 kB / 0.5394 GB, free: 38.03 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.003311, allocations: 3.938 kB / 0.5394 GB, free: 38.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003312, allocations: 1.281 kB / 0.5394 GB, free: 38.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003316, allocations: 1.562 kB / 0.5394 GB, free: 38.02 MB / 490.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.0001894/0.003506, allocations: 261.5 kB / 0.5397 GB, free: 37.75 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.003539, allocations: 8.812 kB / 0.5397 GB, free: 37.75 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.003569, allocations: 3.969 kB / 0.5397 GB, free: 37.75 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.596e-05/0.003605, allocations: 107.1 kB / 0.5398 GB, free: 37.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.003615, allocations: 2.031 kB / 0.5398 GB, free: 37.62 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.003623, allocations: 1.688 kB / 0.5398 GB, free: 37.62 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.003711, allocations: 41.06 kB / 0.5398 GB, free: 37.59 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.003718, allocations: 3.562 kB / 0.5398 GB, free: 37.59 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.003727, allocations: 384 / 0.5398 GB, free: 37.59 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.003733, allocations: 3.938 kB / 0.5398 GB, free: 37.59 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.816e-05/0.003771, allocations: 13.8 kB / 0.5398 GB, free: 37.58 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.121e-05/0.003852, allocations: 100.9 kB / 0.5399 GB, free: 37.46 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.00393, allocations: 42.3 kB / 0.54 GB, free: 37.42 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.003952, allocations: 15.86 kB / 0.54 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.004142, allocations: 36.11 kB / 0.54 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.004155, allocations: 33.06 kB / 0.5401 GB, free: 37.37 MB / 490.8 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.004156, allocations: 0 / 0.5401 GB, free: 37.37 MB / 490.8 MB Notification: Performance of matching and sorting (n=4): time 0.000122/0.004278, allocations: 54.75 kB / 0.5401 GB, free: 37.33 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.004296, allocations: 57.28 kB / 0.5402 GB, free: 37.26 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.263e-05/0.004309, allocations: 90.52 kB / 0.5403 GB, free: 37.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.004314, allocations: 32.92 kB / 0.5403 GB, free: 37.13 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-06/0.004321, allocations: 89.92 kB / 0.5404 GB, free: 37.04 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.004347, allocations: 13.12 kB / 0.5404 GB, free: 37.03 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.004368, allocations: 20.09 kB / 0.5404 GB, free: 37.01 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 2.546e-05/0.004393, allocations: 310.8 kB / 0.5407 GB, free: 36.7 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.004407, allocations: 10.59 kB / 0.5407 GB, free: 36.69 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.004416, allocations: 8.969 kB / 0.5407 GB, free: 36.69 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.004447, allocations: 22.7 kB / 0.5407 GB, free: 36.67 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004449, allocations: 0.75 kB / 0.5407 GB, free: 36.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.056e-05/0.00449, allocations: 48.02 kB / 0.5408 GB, free: 36.64 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.004502, allocations: 5.719 kB / 0.5408 GB, free: 36.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004507, allocations: 3.375 kB / 0.5408 GB, free: 36.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.004516, allocations: 1.156 kB / 0.5408 GB, free: 36.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.004564, allocations: 10.41 kB / 0.5408 GB, free: 36.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.004571, allocations: 5.094 kB / 0.5408 GB, free: 36.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-06/0.004578, allocations: 3.953 kB / 0.5408 GB, free: 36.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.004582, allocations: 8.156 kB / 0.5408 GB, free: 36.62 MB / 490.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 3.048e-05/0.004613, allocations: 108.7 kB / 0.5409 GB, free: 36.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-06/0.004616, allocations: 0 / 0.5409 GB, free: 36.51 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.004696, allocations: 58.36 kB / 0.541 GB, free: 36.46 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.004697, allocations: 1.25 kB / 0.541 GB, free: 36.46 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004701, allocations: 0 / 0.541 GB, free: 36.46 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.004703, allocations: 6.688 kB / 0.541 GB, free: 36.46 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.481e-05/0.004738, allocations: 103.7 kB / 0.5411 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004739, allocations: 0 / 0.5411 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.004751, allocations: 9.406 kB / 0.5411 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.004753, allocations: 2.75 kB / 0.5411 GB, free: 36.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.004759, allocations: 4 kB / 0.5411 GB, free: 36.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.004759, allocations: 1.125 kB / 0.5411 GB, free: 36.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00476, allocations: 1.562 kB / 0.5411 GB, free: 36.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.76e-05/0.004808, allocations: 83.17 kB / 0.5412 GB, free: 36.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-06/0.004812, allocations: 1.406 kB / 0.5412 GB, free: 36.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.00482, allocations: 2.656 kB / 0.5412 GB, free: 36.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-06/0.004825, allocations: 0 / 0.5412 GB, free: 36.25 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.004837, allocations: 4.797 kB / 0.5412 GB, free: 36.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.004839, allocations: 1.406 kB / 0.5412 GB, free: 36.25 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.616e-06/0.004847, allocations: 84.47 kB / 0.5413 GB, free: 36.16 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004848, allocations: 0 / 0.5413 GB, free: 36.16 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001359/0.004983, allocations: 16.12 kB / 0.5413 GB, free: 36.16 MB / 490.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.0001041/0.005088, allocations: 120.2 kB / 0.5414 GB, free: 36.06 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 6.525e-05/0.005153, allocations: 23.27 kB / 0.5414 GB, free: 36.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005154, allocations: 0 / 0.5414 GB, free: 36.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.005165, allocations: 18.72 kB / 0.5414 GB, free: 36.05 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.934e-05/0.005254, allocations: 4.656 kB / 0.5415 GB, free: 36.05 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001633/0.005418, allocations: 92.33 kB / 0.5415 GB, free: 35.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.588e-05/0.005443, allocations: 58.84 kB / 0.5416 GB, free: 35.88 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 2.196e-05/0.005465, allocations: 3.625 kB / 0.5416 GB, free: 35.88 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.005481, allocations: 17.56 kB / 0.5416 GB, free: 35.86 MB / 490.8 MB Notification: Performance of SimCode: time 4.01e-07/0.005482, allocations: 2.562 kB / 0.5416 GB, free: 35.86 MB / 490.8 MB Notification: Performance of Templates: time 0.001811/0.007292, allocations: 0.5934 MB / 0.5422 GB, free: 35.8 MB / 490.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=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: 3.4729754123836756]