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.01407/0.01407, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.001072/0.001072, allocations: 88.5 kB / 25.49 MB, free: 6.422 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.001021/0.001021, allocations: 169 kB / 28.9 MB, free: 3.383 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.9245/0.9245, allocations: 177.2 MB / 209.3 MB, free: 2.234 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.7236/0.7236, allocations: 102.4 MB / 368.3 MB, free: 0.7422 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.413e-06/1.413e-06, allocations: 3.938 kB / 415 MB, free: 2.258 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.139e-05, allocations: 4.281 kB / 415 MB, free: 2.254 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001404/0.001426, allocations: 1.069 MB / 416.1 MB, free: 1.18 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.002843, allocations: 1.443 MB / 417.5 MB, free: 15.72 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.002864, allocations: 0 / 417.5 MB, free: 15.72 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.002878, allocations: 3.938 kB / 417.5 MB, free: 15.71 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.003244, allocations: 103.5 kB / 417.6 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.565e-06/0.003247, allocations: 4 kB / 417.6 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 3.349e-05/0.00328, allocations: 7.984 kB / 417.6 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.003311, allocations: 4 kB / 417.6 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.003332, allocations: 0 / 417.6 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.003365, allocations: 3.938 kB / 417.6 MB, free: 15.59 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 7.074e-06/0.003373, allocations: 4 kB / 417.7 MB, free: 15.59 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.003649, allocations: 175.7 kB / 417.8 MB, free: 15.42 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-06/0.003656, allocations: 3.938 kB / 417.8 MB, free: 15.41 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-06/0.003665, allocations: 0 / 417.8 MB, free: 15.41 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.003803, allocations: 115.6 kB / 417.9 MB, free: 15.3 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.003805, allocations: 8 kB / 417.9 MB, free: 15.29 MB / 394.8 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003806, allocations: 0 / 417.9 MB, free: 15.29 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.003809, allocations: 0 / 417.9 MB, free: 15.29 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.0001851/0.003994, allocations: 240.8 kB / 418.2 MB, free: 15.04 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.004025, allocations: 8.031 kB / 418.2 MB, free: 15.03 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.004047, allocations: 4.938 kB / 418.2 MB, free: 15.02 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.491e-05/0.004101, allocations: 105.8 kB / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.004111, allocations: 384 / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.004119, allocations: 4.375 kB / 418.3 MB, free: 14.89 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.562e-05/0.004184, allocations: 38.25 kB / 418.3 MB, free: 14.85 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.00419, allocations: 192 / 418.3 MB, free: 14.85 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.004195, allocations: 4.375 kB / 418.3 MB, free: 14.84 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004201, allocations: 3.938 kB / 418.4 MB, free: 14.84 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.00422, allocations: 7.938 kB / 418.4 MB, free: 14.83 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.456e-05/0.004295, allocations: 65 kB / 418.4 MB, free: 14.75 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.096e-05/0.004366, allocations: 34.59 kB / 418.5 MB, free: 14.71 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.004381, allocations: 12.86 kB / 418.5 MB, free: 14.7 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.004527, allocations: 32.06 kB / 418.5 MB, free: 14.66 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.004546, allocations: 34.56 kB / 418.5 MB, free: 14.62 MB / 394.8 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004547, allocations: 4 kB / 418.5 MB, free: 14.62 MB / 394.8 MB Notification: Performance of matching and sorting (n=4): time 8.718e-05/0.004634, allocations: 45.62 kB / 418.6 MB, free: 14.57 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.004664, allocations: 55.41 kB / 418.6 MB, free: 14.5 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.848e-05/0.004692, allocations: 93.84 kB / 418.7 MB, free: 14.4 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.004701, allocations: 25.7 kB / 418.8 MB, free: 14.37 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.004719, allocations: 80.14 kB / 418.8 MB, free: 14.29 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.004751, allocations: 15.83 kB / 418.8 MB, free: 14.27 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.004772, allocations: 17.72 kB / 418.9 MB, free: 14.25 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.004848, allocations: 318.8 kB / 419.2 MB, free: 13.93 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-06/0.004855, allocations: 0 / 419.2 MB, free: 13.93 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.004864, allocations: 8 kB / 419.2 MB, free: 13.92 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.004892, allocations: 24.77 kB / 419.2 MB, free: 13.89 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004894, allocations: 0 / 419.2 MB, free: 13.89 MB / 394.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.399e-05/0.004938, allocations: 41.69 kB / 419.2 MB, free: 13.84 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.004949, allocations: 4 kB / 419.3 MB, free: 13.84 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.004952, allocations: 0 / 419.3 MB, free: 13.84 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.004965, allocations: 0 / 419.3 MB, free: 13.84 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.005014, allocations: 11.94 kB / 419.3 MB, free: 13.83 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.005017, allocations: 0 / 419.3 MB, free: 13.83 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-06/0.005025, allocations: 0 / 419.3 MB, free: 13.83 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.00503, allocations: 7.922 kB / 419.3 MB, free: 13.82 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.182e-05/0.005082, allocations: 117.8 kB / 419.4 MB, free: 13.7 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-06/0.005086, allocations: 0 / 419.4 MB, free: 13.7 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.148e-05/0.005157, allocations: 53.16 kB / 419.4 MB, free: 13.64 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005159, allocations: 0 / 419.4 MB, free: 13.64 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.00516, allocations: 0 / 419.4 MB, free: 13.64 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005163, allocations: 0 / 419.4 MB, free: 13.64 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.21e-05/0.005215, allocations: 69.83 kB / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005216, allocations: 0 / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.005234, allocations: 12.38 kB / 419.5 MB, free: 13.54 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005236, allocations: 0 / 419.5 MB, free: 13.54 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.005239, allocations: 4 kB / 419.5 MB, free: 13.54 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.00524, allocations: 0 / 419.5 MB, free: 13.54 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005241, allocations: 0 / 419.5 MB, free: 13.54 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.402e-05/0.005295, allocations: 77.02 kB / 419.6 MB, free: 13.44 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.005302, allocations: 8 kB / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.005315, allocations: 3.984 kB / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-06/0.005319, allocations: 0 / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.00533, allocations: 0 / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.005331, allocations: 0 / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of sorting global known variables: time 6.543e-06/0.005338, allocations: 8.859 kB / 419.6 MB, free: 13.42 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005338, allocations: 0 / 419.6 MB, free: 13.42 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001127/0.00545, allocations: 19.94 kB / 419.6 MB, free: 13.4 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.0001235/0.005574, allocations: 100.3 kB / 419.7 MB, free: 13.29 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 5.485e-05/0.005629, allocations: 16.86 kB / 419.8 MB, free: 13.27 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.005631, allocations: 0 / 419.8 MB, free: 13.27 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.005641, allocations: 20.78 kB / 419.8 MB, free: 13.25 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.709e-05/0.005688, allocations: 3.938 kB / 419.8 MB, free: 13.24 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.005853, allocations: 104.6 kB / 419.9 MB, free: 13.11 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.005881, allocations: 55.34 kB / 419.9 MB, free: 13.04 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 2.207e-05/0.005903, allocations: 8 kB / 419.9 MB, free: 13.03 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.005935, allocations: 51.38 kB / 420 MB, free: 12.98 MB / 394.8 MB Notification: Performance of SimCode: time 5.01e-07/0.005936, allocations: 0 / 420 MB, free: 12.98 MB / 394.8 MB Notification: Performance of Templates: time 0.001894/0.00783, allocations: 0.6919 MB / 420.7 MB, free: 12.29 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 -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.4142539389431477]