Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.009557/0.009557, allocations: 1.35 MB / 21.03 MB, free: 0.7539 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.001144/0.001144, allocations: 75.67 kB / 24.58 MB, free: 2.148 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.001333/0.001333, allocations: 168.4 kB / 28.26 MB, free: 3.406 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.339/1.339, allocations: 177.2 MB / 209 MB, free: 7.543 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.933/0.933, allocations: 102.5 MB / 368.4 MB, free: 4.156 MB / 334.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Basics.Functions.TestCases.TestMaxAbs") [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.0628/0.0628, allocations: 20.96 MB / 0.5569 GB, free: 4.953 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.2066, allocations: 81.87 MB / 0.6368 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002047/0.2087, allocations: 1.026 MB / 0.6378 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.2105, allocations: 1.404 MB / 0.6392 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.2105, allocations: 0 / 0.6392 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.2105, allocations: 4 kB / 0.6392 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.211, allocations: 99.02 kB / 0.6393 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.211, allocations: 0 / 0.6393 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.211, allocations: 11.92 kB / 0.6393 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.2111, allocations: 0 / 0.6393 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.2111, allocations: 4 kB / 0.6393 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.2111, allocations: 7.938 kB / 0.6393 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.2111, allocations: 0 / 0.6393 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.2115, allocations: 171.7 kB / 0.6395 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.865e-06/0.2115, allocations: 11.98 kB / 0.6395 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.306e-05/0.2115, allocations: 3.984 kB / 0.6395 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2117, allocations: 95.64 kB / 0.6396 GB, free: 92 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2117, allocations: 8 kB / 0.6396 GB, free: 84 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2117, allocations: 0 / 0.6396 GB, free: 84 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2117, allocations: 0 / 0.6396 GB, free: 84 kB / 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.0002943/0.212, allocations: 254.2 kB / 0.6399 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.212, allocations: 8.031 kB / 0.6399 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.2121, allocations: 4.938 kB / 0.6399 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.922e-05/0.2122, allocations: 114.5 kB / 0.64 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2122, allocations: 384 / 0.64 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.2122, allocations: 8.375 kB / 0.64 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2123, allocations: 38.02 kB / 0.64 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2123, allocations: 0 / 0.64 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2123, allocations: 0 / 0.64 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2123, allocations: 3.984 kB / 0.64 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.2124, allocations: 15.88 kB / 0.64 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.2125, allocations: 101.3 kB / 0.6401 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.2126, allocations: 38.61 kB / 0.6402 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.2126, allocations: 16.86 kB / 0.6402 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.2129, allocations: 32.06 kB / 0.6402 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2129, allocations: 38.55 kB / 0.6403 GB, free: 15.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2129, allocations: 3.938 kB / 0.6403 GB, free: 15.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001576/0.2131, allocations: 61.56 kB / 0.6403 GB, free: 15.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.2131, allocations: 51.41 kB / 0.6404 GB, free: 15.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.618e-05/0.2131, allocations: 93.86 kB / 0.6405 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2132, allocations: 29.7 kB / 0.6405 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.2132, allocations: 80.14 kB / 0.6406 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.2132, allocations: 11.84 kB / 0.6406 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.2133, allocations: 17.72 kB / 0.6406 GB, free: 14.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2134, allocations: 318.8 kB / 0.6409 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.2134, allocations: 4 kB / 0.6409 GB, free: 14.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.47e-05/0.2134, allocations: 8 kB / 0.6409 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.2135, allocations: 29.12 kB / 0.6409 GB, free: 14.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2135, allocations: 0 / 0.6409 GB, free: 14.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.338e-05/0.2135, allocations: 49.62 kB / 0.641 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2136, allocations: 8 kB / 0.641 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2136, allocations: 0 / 0.641 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2136, allocations: 7.938 kB / 0.641 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.643e-05/0.2136, allocations: 7.984 kB / 0.641 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2136, allocations: 0 / 0.641 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.2136, allocations: 8 kB / 0.641 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.2137, allocations: 0 / 0.641 GB, free: 14.48 MB / 0.545 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 7.174e-05/0.2137, allocations: 109.8 kB / 0.6411 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.2137, allocations: 7.953 kB / 0.6411 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.2139, allocations: 61.09 kB / 0.6412 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2139, allocations: 4 kB / 0.6412 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2139, allocations: 0 / 0.6412 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2139, allocations: 3.984 kB / 0.6412 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.048e-05/0.2139, allocations: 101.3 kB / 0.6413 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2139, allocations: 4 kB / 0.6413 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.214, allocations: 4 kB / 0.6413 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.214, allocations: 3.938 kB / 0.6413 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.214, allocations: 4 kB / 0.6413 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.214, allocations: 3.938 kB / 0.6413 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.214, allocations: 0 / 0.6413 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.2141, allocations: 73.12 kB / 0.6414 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.2141, allocations: 3.984 kB / 0.6414 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.2141, allocations: 3.938 kB / 0.6414 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.2141, allocations: 7.938 kB / 0.6414 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.2141, allocations: 0 / 0.6414 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.2141, allocations: 4 kB / 0.6414 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.2142, allocations: 75.28 kB / 0.6415 GB, free: 13.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2142, allocations: 0 / 0.6415 GB, free: 13.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000198/0.2144, allocations: 27.86 kB / 0.6415 GB, free: 13.91 MB / 0.545 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.0001437/0.2145, allocations: 115.2 kB / 0.6416 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.078e-05/0.2146, allocations: 16 kB / 0.6416 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2146, allocations: 0 / 0.6416 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.2146, allocations: 19.92 kB / 0.6416 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.2147, allocations: 2.25 kB / 0.6416 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002035/0.2149, allocations: 105.2 kB / 0.6417 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.215, allocations: 55.36 kB / 0.6418 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.215, allocations: 7.984 kB / 0.6418 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.215, allocations: 12.5 kB / 0.6418 GB, free: 13.53 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.215, allocations: 0 / 0.6418 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Templates: time 0.002577/0.2176, allocations: 0.5809 MB / 0.6424 GB, free: 12.95 MB / 0.545 GB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_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_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_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.217936514061876]