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.01449/0.01449, allocations: 1.788 MB / 21.65 MB, free: 2.816 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.0009686/0.0009686, allocations: 81.72 kB / 25.48 MB, free: 6.348 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.001251/0.001251, allocations: 163.9 kB / 28.89 MB, free: 3.336 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.026/1.026, allocations: 177.2 MB / 209.3 MB, free: 2.25 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.7888/0.7888, allocations: 102.5 MB / 368.3 MB, free: 0.7656 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.292e-06/1.292e-06, allocations: 0 / 415.1 MB, free: 2.215 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.746e-05, allocations: 4.562 kB / 415.1 MB, free: 2.211 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001715/0.001743, allocations: 1.104 MB / 416.2 MB, free: 1.102 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.003384, allocations: 1.443 MB / 417.6 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.003411, allocations: 0 / 417.6 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.003427, allocations: 3.938 kB / 417.6 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.003779, allocations: 99.5 kB / 417.7 MB, free: 15.54 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.016e-06/0.003782, allocations: 4 kB / 417.7 MB, free: 15.54 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 4.021e-05/0.003822, allocations: 4 kB / 417.7 MB, free: 15.53 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.00386, allocations: 0 / 417.7 MB, free: 15.53 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.722e-05/0.003887, allocations: 3.938 kB / 417.7 MB, free: 15.53 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.003927, allocations: 11.98 kB / 417.7 MB, free: 15.52 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.003935, allocations: 3.984 kB / 417.7 MB, free: 15.51 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.004261, allocations: 179.6 kB / 417.9 MB, free: 15.34 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-06/0.004268, allocations: 3.984 kB / 417.9 MB, free: 15.33 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 9.518e-06/0.004278, allocations: 0 / 417.9 MB, free: 15.33 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.004435, allocations: 115.7 kB / 418 MB, free: 15.22 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004439, allocations: 7.938 kB / 418 MB, free: 15.21 MB / 394.8 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00444, allocations: 0 / 418 MB, free: 15.21 MB / 394.8 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.004445, allocations: 3.984 kB / 418 MB, free: 15.21 MB / 394.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.0001985/0.004644, allocations: 232.8 kB / 418.3 MB, free: 14.96 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.004677, allocations: 12.03 kB / 418.3 MB, free: 14.95 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.004701, allocations: 0.9375 kB / 418.3 MB, free: 14.95 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.686e-05/0.004758, allocations: 105.8 kB / 418.4 MB, free: 14.82 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.004769, allocations: 4.375 kB / 418.4 MB, free: 14.81 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-06/0.004774, allocations: 384 / 418.4 MB, free: 14.81 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.136e-05/0.004846, allocations: 34.25 kB / 418.4 MB, free: 14.77 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004853, allocations: 4.188 kB / 418.4 MB, free: 14.77 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.004859, allocations: 384 / 418.4 MB, free: 14.77 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004865, allocations: 3.938 kB / 418.4 MB, free: 14.77 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.004886, allocations: 11.94 kB / 418.4 MB, free: 14.75 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.005117, allocations: 68.98 kB / 418.5 MB, free: 14.67 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.54e-05/0.005182, allocations: 22.58 kB / 418.5 MB, free: 14.64 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.005202, allocations: 12.86 kB / 418.5 MB, free: 14.62 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.005366, allocations: 40.09 kB / 418.6 MB, free: 14.59 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.005388, allocations: 34.56 kB / 418.6 MB, free: 14.54 MB / 394.8 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.005389, allocations: 0 / 418.6 MB, free: 14.54 MB / 394.8 MB Notification: Performance of matching and sorting (n=4): time 9.84e-05/0.005487, allocations: 45.62 kB / 418.7 MB, free: 14.49 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.005515, allocations: 59.39 kB / 418.7 MB, free: 14.42 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.83e-05/0.005543, allocations: 89.86 kB / 418.8 MB, free: 14.32 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.005552, allocations: 25.7 kB / 418.8 MB, free: 14.29 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.005571, allocations: 84.14 kB / 418.9 MB, free: 14.21 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.005603, allocations: 15.84 kB / 418.9 MB, free: 14.19 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.005624, allocations: 9.719 kB / 418.9 MB, free: 14.18 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.005701, allocations: 322.8 kB / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.00571, allocations: 3.984 kB / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.005717, allocations: 12.12 kB / 419.3 MB, free: 13.84 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.005746, allocations: 16.94 kB / 419.3 MB, free: 13.82 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005747, allocations: 3.938 kB / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.514e-05/0.005792, allocations: 45.69 kB / 419.3 MB, free: 13.76 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.005803, allocations: 4 kB / 419.3 MB, free: 13.76 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005808, allocations: 0 / 419.3 MB, free: 13.76 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.005822, allocations: 7.984 kB / 419.3 MB, free: 13.75 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.00587, allocations: 4 kB / 419.4 MB, free: 13.75 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.005873, allocations: 0 / 419.4 MB, free: 13.75 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-06/0.005881, allocations: 0 / 419.4 MB, free: 13.75 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005886, allocations: 7.938 kB / 419.4 MB, free: 13.74 MB / 394.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.206e-05/0.005938, allocations: 109.8 kB / 419.5 MB, free: 13.62 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-06/0.005943, allocations: 0 / 419.5 MB, free: 13.62 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.006021, allocations: 57.14 kB / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006023, allocations: 0 / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006024, allocations: 0 / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006026, allocations: 0 / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.176e-05/0.006078, allocations: 65.84 kB / 419.6 MB, free: 13.48 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006079, allocations: 0 / 419.6 MB, free: 13.48 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.006092, allocations: 8 kB / 419.6 MB, free: 13.47 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.006093, allocations: 4 kB / 419.6 MB, free: 13.47 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.006099, allocations: 8 kB / 419.6 MB, free: 13.46 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.0061, allocations: 0 / 419.6 MB, free: 13.46 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006101, allocations: 3.984 kB / 419.6 MB, free: 13.46 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.798e-05/0.006159, allocations: 77.03 kB / 419.7 MB, free: 13.36 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.006164, allocations: 3.984 kB / 419.7 MB, free: 13.36 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-06/0.006171, allocations: 0 / 419.7 MB, free: 13.36 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-06/0.006176, allocations: 0 / 419.7 MB, free: 13.36 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.006187, allocations: 4 kB / 419.7 MB, free: 13.36 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.00619, allocations: 0 / 419.7 MB, free: 13.36 MB / 394.8 MB Notification: Performance of sorting global known variables: time 7.224e-06/0.006197, allocations: 4.859 kB / 419.7 MB, free: 13.35 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006197, allocations: 4 kB / 419.7 MB, free: 13.34 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001161/0.006313, allocations: 23.92 kB / 419.7 MB, free: 13.32 MB / 394.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.0001287/0.006442, allocations: 96.28 kB / 419.8 MB, free: 13.21 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 5.643e-05/0.006498, allocations: 16.84 kB / 419.8 MB, free: 13.2 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.006501, allocations: 4 kB / 419.8 MB, free: 13.19 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.00651, allocations: 13.03 kB / 419.9 MB, free: 13.18 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.916e-05/0.006569, allocations: 14.44 kB / 419.9 MB, free: 13.16 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001738/0.006743, allocations: 104.8 kB / 420 MB, free: 13.04 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.785e-05/0.006771, allocations: 51.36 kB / 420 MB, free: 12.96 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.006792, allocations: 8 kB / 420 MB, free: 12.96 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.006821, allocations: 55.36 kB / 420.1 MB, free: 12.9 MB / 394.8 MB Notification: Performance of SimCode: time 5.01e-07/0.006821, allocations: 0 / 420.1 MB, free: 12.9 MB / 394.8 MB Notification: Performance of Templates: time 0.002175/0.008997, allocations: 0.6955 MB / 420.8 MB, free: 12.21 MB / 394.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 -s gbode -gbm=radauIIA3 -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.5544098070822656]