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.01173/0.01173, allocations: 1.784 MB / 21.64 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.001383/0.001383, allocations: 81.23 kB / 25.48 MB, free: 6.41 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.00118/0.00118, allocations: 166.9 kB / 28.89 MB, free: 3.375 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.9772/0.9772, allocations: 177.2 MB / 209.3 MB, free: 2.219 MB / 186.7 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.7654/0.7654, allocations: 102.5 MB / 368.3 MB, free: 0.7266 MB / 330.8 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 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_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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 415.1 MB, free: 2.188 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.534e-05, allocations: 2.312 kB / 415.1 MB, free: 2.184 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002007/0.002033, allocations: 1.108 MB / 416.2 MB, free: 1.07 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.003847, allocations: 1.439 MB / 417.6 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.003871, allocations: 4 kB / 417.6 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.003886, allocations: 11.88 kB / 417.6 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.004299, allocations: 91.58 kB / 417.7 MB, free: 15.51 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.996e-06/0.004302, allocations: 0 / 417.7 MB, free: 15.51 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 4.17e-05/0.004344, allocations: 7.938 kB / 417.7 MB, free: 15.5 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.004386, allocations: 3.984 kB / 417.7 MB, free: 15.5 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.004415, allocations: 7.984 kB / 417.8 MB, free: 15.49 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.004456, allocations: 0 / 417.8 MB, free: 15.49 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-06/0.004463, allocations: 0 / 417.8 MB, free: 15.49 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.004849, allocations: 187.6 kB / 417.9 MB, free: 15.3 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.004855, allocations: 4 kB / 417.9 MB, free: 15.3 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 1.092e-05/0.004866, allocations: 4 kB / 417.9 MB, free: 15.3 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.005044, allocations: 123.6 kB / 418.1 MB, free: 15.18 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.005048, allocations: 0 / 418.1 MB, free: 15.18 MB / 394.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005049, allocations: 0 / 418.1 MB, free: 15.18 MB / 394.8 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005053, allocations: 0 / 418.1 MB, free: 15.18 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.0002162/0.005269, allocations: 232.9 kB / 418.3 MB, free: 14.93 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.005304, allocations: 8.031 kB / 418.3 MB, free: 14.92 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.005329, allocations: 0.9375 kB / 418.3 MB, free: 14.92 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.457e-05/0.005394, allocations: 109.8 kB / 418.4 MB, free: 14.79 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.005403, allocations: 384 / 418.4 MB, free: 14.79 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.005409, allocations: 4.375 kB / 418.4 MB, free: 14.78 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.353e-05/0.005483, allocations: 34.27 kB / 418.4 MB, free: 14.74 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.00549, allocations: 4.188 kB / 418.5 MB, free: 14.74 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.005495, allocations: 384 / 418.5 MB, free: 14.74 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.005503, allocations: 7.922 kB / 418.5 MB, free: 14.73 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.005526, allocations: 7.938 kB / 418.5 MB, free: 14.72 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.199e-05/0.005618, allocations: 61 kB / 418.5 MB, free: 14.65 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.005693, allocations: 38.59 kB / 418.6 MB, free: 14.6 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.00571, allocations: 8.859 kB / 418.6 MB, free: 14.59 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.005892, allocations: 40.06 kB / 418.6 MB, free: 14.55 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.005916, allocations: 34.56 kB / 418.6 MB, free: 14.51 MB / 394.8 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.005917, allocations: 0 / 418.6 MB, free: 14.51 MB / 394.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001023/0.00602, allocations: 45.62 kB / 418.7 MB, free: 14.46 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.006051, allocations: 55.34 kB / 418.7 MB, free: 14.39 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.76e-05/0.006078, allocations: 89.86 kB / 418.8 MB, free: 14.29 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.006088, allocations: 25.7 kB / 418.9 MB, free: 14.26 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.00611, allocations: 80.14 kB / 418.9 MB, free: 14.18 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.006143, allocations: 19.84 kB / 419 MB, free: 14.16 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.006174, allocations: 25.69 kB / 419 MB, free: 14.13 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.006256, allocations: 314.8 kB / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.006265, allocations: 4 kB / 419.3 MB, free: 13.81 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.006273, allocations: 4 kB / 419.3 MB, free: 13.8 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.006307, allocations: 20.78 kB / 419.3 MB, free: 13.78 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.006308, allocations: 0 / 419.3 MB, free: 13.78 MB / 394.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.629e-05/0.006364, allocations: 38.02 kB / 419.4 MB, free: 13.74 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.006377, allocations: 8 kB / 419.4 MB, free: 13.73 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006383, allocations: 3.984 kB / 419.4 MB, free: 13.73 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.006394, allocations: 0 / 419.4 MB, free: 13.73 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.006442, allocations: 4 kB / 419.4 MB, free: 13.72 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006445, allocations: 4 kB / 419.4 MB, free: 13.72 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.006458, allocations: 8 kB / 419.4 MB, free: 13.71 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/0.006465, allocations: 3.938 kB / 419.4 MB, free: 13.71 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.181e-05/0.006517, allocations: 109.8 kB / 419.5 MB, free: 13.59 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.006524, allocations: 4 kB / 419.5 MB, free: 13.59 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.006608, allocations: 49.16 kB / 419.5 MB, free: 13.54 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.00661, allocations: 0 / 419.5 MB, free: 13.54 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.006612, allocations: 4 kB / 419.5 MB, free: 13.53 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006615, allocations: 4 kB / 419.5 MB, free: 13.53 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.013e-05/0.006675, allocations: 69.84 kB / 419.6 MB, free: 13.44 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006676, allocations: 0 / 419.6 MB, free: 13.44 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.006696, allocations: 7.984 kB / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006697, allocations: 0 / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-06/0.006701, allocations: 0 / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006702, allocations: 4 kB / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006703, allocations: 0 / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.099e-05/0.006764, allocations: 81.02 kB / 419.7 MB, free: 13.33 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-06/0.006768, allocations: 0 / 419.7 MB, free: 13.33 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.006776, allocations: 0 / 419.7 MB, free: 13.33 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.006783, allocations: 4 kB / 419.7 MB, free: 13.33 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.006794, allocations: 11.92 kB / 419.7 MB, free: 13.32 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.006796, allocations: 0 / 419.7 MB, free: 13.32 MB / 394.8 MB Notification: Performance of sorting global known variables: time 7.354e-06/0.006803, allocations: 4.859 kB / 419.7 MB, free: 13.31 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.006803, allocations: 0 / 419.7 MB, free: 13.31 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001682/0.006971, allocations: 15.94 kB / 419.7 MB, free: 13.29 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.0001254/0.007097, allocations: 96.34 kB / 419.8 MB, free: 13.19 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 5.446e-05/0.007151, allocations: 20.84 kB / 419.9 MB, free: 13.16 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.007153, allocations: 0 / 419.9 MB, free: 13.16 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 1.529e-05/0.007169, allocations: 20.78 kB / 419.9 MB, free: 13.14 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.783e-05/0.007226, allocations: 14.45 kB / 419.9 MB, free: 13.13 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001654/0.007392, allocations: 96.7 kB / 420 MB, free: 13.01 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.007424, allocations: 59.34 kB / 420 MB, free: 12.93 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 2.136e-05/0.007445, allocations: 4.266 kB / 420.1 MB, free: 12.93 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.007477, allocations: 51.38 kB / 420.1 MB, free: 12.88 MB / 394.8 MB Notification: Performance of SimCode: time 5.21e-07/0.007478, allocations: 0 / 420.1 MB, free: 12.88 MB / 394.8 MB Notification: Performance of Templates: time 0.002396/0.009874, allocations: 0.6977 MB / 420.8 MB, free: 12.18 MB / 394.8 MB " [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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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_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: 3.4127651061862707]