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.008339/0.008339, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0009349/0.0009349, allocations: 86.88 kB / 25.61 MB, free: 6.527 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.0009442/0.0009442, allocations: 162.9 kB / 29.46 MB, free: 3.035 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.8819/0.8819, allocations: 177.1 MB / 210.3 MB, free: 1.723 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.712/0.712, allocations: 102.4 MB / 369.8 MB, free: 0.8906 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.974e-06/1.974e-06, allocations: 0 / 469.8 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.687e-05, allocations: 6.312 kB / 469.8 MB, free: 12.98 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.005259/0.005296, allocations: 1.059 MB / 470.9 MB, free: 11.92 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.007119, allocations: 1.423 MB / 472.3 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.007151, allocations: 4 kB / 472.3 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.00717, allocations: 3.938 kB / 472.3 MB, free: 10.47 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000536/0.007706, allocations: 107.6 kB / 472.4 MB, free: 10.37 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.00771, allocations: 3.938 kB / 472.4 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 5.185e-05/0.007762, allocations: 4 kB / 472.4 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.007806, allocations: 0 / 472.4 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.007837, allocations: 7.984 kB / 472.4 MB, free: 10.35 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.007879, allocations: 3.938 kB / 472.4 MB, free: 10.35 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.007888, allocations: 0 / 472.4 MB, free: 10.35 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.008344, allocations: 179.7 kB / 472.6 MB, free: 10.17 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.008354, allocations: 4 kB / 472.6 MB, free: 10.17 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.00837, allocations: 3.938 kB / 472.6 MB, free: 10.16 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.008591, allocations: 119.6 kB / 472.7 MB, free: 10.05 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.008595, allocations: 0 / 472.7 MB, free: 10.05 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008596, allocations: 0 / 472.7 MB, free: 10.05 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.008601, allocations: 0 / 472.7 MB, free: 10.05 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.0003191/0.00892, allocations: 364.5 kB / 473.1 MB, free: 9.656 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.008967, allocations: 11.97 kB / 473.1 MB, free: 9.645 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.009009, allocations: 4.938 kB / 473.1 MB, free: 9.641 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.543e-05/0.009084, allocations: 108.6 kB / 473.2 MB, free: 9.508 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.009096, allocations: 4.375 kB / 473.2 MB, free: 9.504 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.009105, allocations: 384 / 473.2 MB, free: 9.504 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.009209, allocations: 42.25 kB / 473.3 MB, free: 9.457 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.009216, allocations: 4.125 kB / 473.3 MB, free: 9.453 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.009225, allocations: 384 / 473.3 MB, free: 9.453 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.009235, allocations: 3.938 kB / 473.3 MB, free: 9.449 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.295e-05/0.009268, allocations: 7.984 kB / 473.3 MB, free: 9.441 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.009413, allocations: 116.6 kB / 473.4 MB, free: 9.293 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.009506, allocations: 39.06 kB / 473.4 MB, free: 9.242 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.009539, allocations: 19.81 kB / 473.5 MB, free: 9.219 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.009761, allocations: 39.97 kB / 473.5 MB, free: 9.18 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.009789, allocations: 37.39 kB / 473.5 MB, free: 9.133 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.00979, allocations: 0 / 473.5 MB, free: 9.133 MB / 442.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001717/0.009962, allocations: 57.62 kB / 473.6 MB, free: 9.07 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.01, allocations: 55.34 kB / 473.6 MB, free: 9.004 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.01005, allocations: 142.2 kB / 473.8 MB, free: 8.852 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.01007, allocations: 25.7 kB / 473.8 MB, free: 8.82 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.0101, allocations: 126.9 kB / 473.9 MB, free: 8.691 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.01014, allocations: 23.84 kB / 474 MB, free: 8.668 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.01017, allocations: 23.36 kB / 474 MB, free: 8.637 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.01031, allocations: 496.1 kB / 474.5 MB, free: 8.141 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.01033, allocations: 4 kB / 474.5 MB, free: 8.137 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.01034, allocations: 4 kB / 474.5 MB, free: 8.133 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.01039, allocations: 27.61 kB / 474.5 MB, free: 8.102 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01039, allocations: 0 / 474.5 MB, free: 8.102 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.663e-05/0.01047, allocations: 49.69 kB / 474.5 MB, free: 8.047 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.01049, allocations: 4 kB / 474.5 MB, free: 8.043 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01049, allocations: 0 / 474.5 MB, free: 8.043 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01051, allocations: 0 / 474.5 MB, free: 8.043 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.01057, allocations: 12 kB / 474.6 MB, free: 8.031 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01058, allocations: 3.938 kB / 474.6 MB, free: 8.027 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.01059, allocations: 0 / 474.6 MB, free: 8.027 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.01059, allocations: 0 / 474.6 MB, free: 8.027 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 7.367e-05/0.01067, allocations: 164.5 kB / 474.7 MB, free: 7.855 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.01068, allocations: 7.891 kB / 474.7 MB, free: 7.848 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.0108, allocations: 57.2 kB / 474.8 MB, free: 7.785 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.0108, allocations: 384 / 474.8 MB, free: 7.785 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.0108, allocations: 0 / 474.8 MB, free: 7.785 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.01081, allocations: 3.938 kB / 474.8 MB, free: 7.781 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.512e-05/0.01089, allocations: 120.6 kB / 474.9 MB, free: 7.629 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.0109, allocations: 0 / 474.9 MB, free: 7.629 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.01092, allocations: 7.984 kB / 474.9 MB, free: 7.621 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.01092, allocations: 7.984 kB / 474.9 MB, free: 7.613 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01093, allocations: 0 / 474.9 MB, free: 7.613 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01093, allocations: 0 / 474.9 MB, free: 7.613 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01093, allocations: 0 / 474.9 MB, free: 7.613 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.919e-05/0.01103, allocations: 92.34 kB / 475 MB, free: 7.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.01104, allocations: 0 / 475 MB, free: 7.5 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.01105, allocations: 4 kB / 475 MB, free: 7.496 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-06/0.01106, allocations: 0 / 475 MB, free: 7.496 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.01108, allocations: 7.984 kB / 475 MB, free: 7.488 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.01108, allocations: 0 / 475 MB, free: 7.488 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.604e-05/0.01112, allocations: 131.1 kB / 475.2 MB, free: 7.359 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01112, allocations: 0 / 475.2 MB, free: 7.359 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002564/0.01137, allocations: 15.94 kB / 475.2 MB, free: 7.344 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.0001808/0.01155, allocations: 111.2 kB / 475.3 MB, free: 7.227 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.01166, allocations: 27.61 kB / 475.3 MB, free: 7.195 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01166, allocations: 4 kB / 475.3 MB, free: 7.191 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.89e-05/0.01168, allocations: 15.69 kB / 475.3 MB, free: 7.172 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.01182, allocations: 8 kB / 475.3 MB, free: 7.164 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.01212, allocations: 102.5 kB / 475.4 MB, free: 7.035 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.01216, allocations: 63.28 kB / 475.5 MB, free: 6.953 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.758e-05/0.01219, allocations: 4 kB / 475.5 MB, free: 6.949 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.01221, allocations: 8.5 kB / 475.5 MB, free: 6.938 MB / 442.8 MB Notification: Performance of SimCode: time 8.61e-07/0.01221, allocations: 3.938 kB / 475.5 MB, free: 6.934 MB / 442.8 MB Notification: Performance of Templates: time 0.002881/0.01509, allocations: 0.6101 MB / 476.1 MB, free: 6.324 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","",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.485321335028857]