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.0173/0.0173, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001784/0.001784, allocations: 81.22 kB / 24.88 MB, free: 6.82 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.001937/0.001937, allocations: 170.7 kB / 28.74 MB, free: 3.648 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 1.496/1.496, allocations: 177.2 MB / 209.6 MB, free: 2.375 MB / 186.7 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.126/1.126, allocations: 102.4 MB / 369.1 MB, free: 0.8359 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 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.363e-06/1.363e-06, allocations: 0 / 469.1 MB, free: 13 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.46e-05, allocations: 7.516 kB / 469.1 MB, free: 12.99 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002239/0.002274, allocations: 1.03 MB / 470.1 MB, free: 11.96 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.004726, allocations: 1.4 MB / 471.5 MB, free: 10.54 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.004755, allocations: 0 / 471.5 MB, free: 10.54 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.004769, allocations: 0 / 471.5 MB, free: 10.54 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005636/0.005333, allocations: 119.4 kB / 471.6 MB, free: 10.42 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.005337, allocations: 0 / 471.6 MB, free: 10.42 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.005379, allocations: 4 kB / 471.6 MB, free: 10.42 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.005418, allocations: 4 kB / 471.6 MB, free: 10.41 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.005448, allocations: 0 / 471.6 MB, free: 10.41 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.00549, allocations: 7.922 kB / 471.7 MB, free: 10.41 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.005502, allocations: 4 kB / 471.7 MB, free: 10.4 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.005982, allocations: 175.7 kB / 471.8 MB, free: 10.23 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-06/0.00599, allocations: 0 / 471.8 MB, free: 10.23 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.006003, allocations: 7.938 kB / 471.8 MB, free: 10.22 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.006245, allocations: 107.7 kB / 471.9 MB, free: 10.12 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006249, allocations: 0 / 471.9 MB, free: 10.12 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.00625, allocations: 0 / 471.9 MB, free: 10.12 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.006255, allocations: 4 kB / 471.9 MB, free: 10.11 MB / 442.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.0004388/0.006694, allocations: 364.1 kB / 472.3 MB, free: 9.723 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.00674, allocations: 12.02 kB / 472.3 MB, free: 9.711 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.006787, allocations: 4.938 kB / 472.3 MB, free: 9.707 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.006904, allocations: 112.6 kB / 472.4 MB, free: 9.57 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.006917, allocations: 384 / 472.4 MB, free: 9.57 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.006932, allocations: 8.375 kB / 472.4 MB, free: 9.562 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.007043, allocations: 38.25 kB / 472.5 MB, free: 9.52 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.007054, allocations: 4.188 kB / 472.5 MB, free: 9.516 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.007063, allocations: 384 / 472.5 MB, free: 9.516 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.007071, allocations: 3.938 kB / 472.5 MB, free: 9.512 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.00712, allocations: 8 kB / 472.5 MB, free: 9.504 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.007299, allocations: 112.6 kB / 472.6 MB, free: 9.359 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.007429, allocations: 51.03 kB / 472.7 MB, free: 9.297 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.00747, allocations: 15.69 kB / 472.7 MB, free: 9.277 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.007755, allocations: 44.03 kB / 472.7 MB, free: 9.234 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.0078, allocations: 37.39 kB / 472.7 MB, free: 9.188 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.007802, allocations: 0 / 472.7 MB, free: 9.188 MB / 442.8 MB Notification: Performance of matching and sorting (n=4): time 0.000197/0.007999, allocations: 53.69 kB / 472.8 MB, free: 9.129 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.008053, allocations: 59.34 kB / 472.9 MB, free: 9.059 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.008137, allocations: 142.2 kB / 473 MB, free: 8.906 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.008159, allocations: 29.64 kB / 473 MB, free: 8.871 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.008223, allocations: 126.9 kB / 473.1 MB, free: 8.742 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.008263, allocations: 11.91 kB / 473.2 MB, free: 8.73 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.008306, allocations: 19.38 kB / 473.2 MB, free: 8.703 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.00856, allocations: 0.4962 MB / 473.7 MB, free: 8.195 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.008581, allocations: 4 kB / 473.7 MB, free: 8.191 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.008595, allocations: 4 kB / 473.7 MB, free: 8.188 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.008645, allocations: 19.69 kB / 473.7 MB, free: 8.164 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.00865, allocations: 3.984 kB / 473.7 MB, free: 8.16 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.752e-05/0.008747, allocations: 49.7 kB / 473.8 MB, free: 8.105 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/0.008808, allocations: 8 kB / 473.8 MB, free: 8.098 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008813, allocations: 0 / 473.8 MB, free: 8.098 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.008831, allocations: 3.984 kB / 473.8 MB, free: 8.094 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.008898, allocations: 7.938 kB / 473.8 MB, free: 8.086 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.008907, allocations: 3.938 kB / 473.8 MB, free: 8.082 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.008924, allocations: 11.94 kB / 473.8 MB, free: 8.07 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.008931, allocations: 7.922 kB / 473.8 MB, free: 8.062 MB / 442.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 0.0001151/0.009046, allocations: 152.6 kB / 473.9 MB, free: 7.902 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.009062, allocations: 7.953 kB / 474 MB, free: 7.895 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.009199, allocations: 57.22 kB / 474 MB, free: 7.832 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.009204, allocations: 3.984 kB / 474 MB, free: 7.828 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.009209, allocations: 0 / 474 MB, free: 7.828 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.009215, allocations: 3.938 kB / 474 MB, free: 7.824 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.00933, allocations: 112.6 kB / 474.1 MB, free: 7.68 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009331, allocations: 4 kB / 474.1 MB, free: 7.676 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.009365, allocations: 11.94 kB / 474.1 MB, free: 7.664 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.009367, allocations: 0 / 474.1 MB, free: 7.664 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.009374, allocations: 0 / 474.1 MB, free: 7.664 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.009376, allocations: 0 / 474.1 MB, free: 7.664 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009377, allocations: 0 / 474.1 MB, free: 7.664 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.009513, allocations: 92.77 kB / 474.2 MB, free: 7.551 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.009521, allocations: 8.031 kB / 474.2 MB, free: 7.543 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.009533, allocations: 0 / 474.2 MB, free: 7.543 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.009546, allocations: 4 kB / 474.2 MB, free: 7.539 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.009568, allocations: 4 kB / 474.3 MB, free: 7.535 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.009572, allocations: 4 kB / 474.3 MB, free: 7.531 MB / 442.8 MB Notification: Performance of sorting global known variables: time 6.569e-05/0.009638, allocations: 127.1 kB / 474.4 MB, free: 7.406 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009638, allocations: 0 / 474.4 MB, free: 7.406 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002239/0.009862, allocations: 23.92 kB / 474.4 MB, free: 7.383 MB / 442.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.0001968/0.01006, allocations: 119.1 kB / 474.5 MB, free: 7.258 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.01017, allocations: 27.67 kB / 474.5 MB, free: 7.227 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01017, allocations: 0 / 474.5 MB, free: 7.227 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.01019, allocations: 15.69 kB / 474.6 MB, free: 7.207 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.01033, allocations: 4 kB / 474.6 MB, free: 7.203 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.01061, allocations: 110.5 kB / 474.7 MB, free: 7.066 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.994e-05/0.01067, allocations: 63.34 kB / 474.7 MB, free: 6.984 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.303e-05/0.01069, allocations: 4 kB / 474.7 MB, free: 6.98 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.01072, allocations: 16.44 kB / 474.8 MB, free: 6.965 MB / 442.8 MB Notification: Performance of SimCode: time 5.71e-07/0.01072, allocations: 0 / 474.8 MB, free: 6.965 MB / 442.8 MB Notification: Performance of Templates: time 0.003557/0.01427, allocations: 0.611 MB / 475.4 MB, free: 6.355 MB / 442.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","/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.866622907924466]