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.008106/0.008106, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.0007789/0.0007789, allocations: 87.94 kB / 25.15 MB, free: 7.426 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.0008667/0.0008667, allocations: 166.5 kB / 29.06 MB, free: 3.637 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.8882/0.8882, allocations: 177.1 MB / 210 MB, free: 3.586 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.5758/0.5758, allocations: 102.4 MB / 369.5 MB, free: 392 kB / 330.7 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.232e-06/1.232e-06, allocations: 0 / 469.9 MB, free: 18.94 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.028e-05, allocations: 2.969 kB / 469.9 MB, free: 18.93 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001133/0.001153, allocations: 1.061 MB / 471 MB, free: 18.28 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.002384, allocations: 1.437 MB / 472.4 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.002405, allocations: 1.875 kB / 472.4 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.002423, allocations: 0 / 472.4 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.002798, allocations: 104.6 kB / 472.5 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.776e-06/0.002801, allocations: 0 / 472.5 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 3.684e-05/0.002838, allocations: 11.3 kB / 472.5 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.002872, allocations: 3.938 kB / 472.5 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.002893, allocations: 0 / 472.5 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.002928, allocations: 10.91 kB / 472.5 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.002935, allocations: 0.5 kB / 472.5 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.003235, allocations: 171.9 kB / 472.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.003243, allocations: 6.719 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.229e-05/0.003256, allocations: 0 / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.003396, allocations: 110.7 kB / 472.8 MB, free: 17.15 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.003398, allocations: 2.688 kB / 472.8 MB, free: 17.15 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003399, allocations: 0 / 472.8 MB, free: 17.15 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003403, allocations: 0 / 472.8 MB, free: 17.15 MB / 410.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.0001844/0.003587, allocations: 371.1 kB / 473.2 MB, free: 16.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.003621, allocations: 8.062 kB / 473.2 MB, free: 16.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.003654, allocations: 4.438 kB / 473.2 MB, free: 16.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.58e-05/0.00369, allocations: 111.8 kB / 473.3 MB, free: 16.63 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.003699, allocations: 1.406 kB / 473.3 MB, free: 16.63 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.003706, allocations: 4.312 kB / 473.3 MB, free: 16.63 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.377e-05/0.003779, allocations: 36.38 kB / 473.4 MB, free: 16.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.003785, allocations: 192 / 473.4 MB, free: 16.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.003793, allocations: 3.094 kB / 473.4 MB, free: 16.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.0038, allocations: 3.938 kB / 473.4 MB, free: 16.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.003828, allocations: 13.11 kB / 473.4 MB, free: 16.59 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.656e-05/0.003915, allocations: 111.5 kB / 473.5 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.003988, allocations: 42.62 kB / 473.5 MB, free: 16.41 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.004009, allocations: 21.97 kB / 473.5 MB, free: 16.39 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.004179, allocations: 35.47 kB / 473.6 MB, free: 16.39 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.004193, allocations: 37.39 kB / 473.6 MB, free: 16.35 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.004193, allocations: 2.906 kB / 473.6 MB, free: 16.35 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001155/0.004309, allocations: 47.83 kB / 473.7 MB, free: 16.31 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.004327, allocations: 58.88 kB / 473.7 MB, free: 16.25 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.672e-05/0.004343, allocations: 145.5 kB / 473.9 MB, free: 16.09 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.004348, allocations: 26.27 kB / 473.9 MB, free: 16.06 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-06/0.004358, allocations: 126.9 kB / 474 MB, free: 15.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.004394, allocations: 16.03 kB / 474 MB, free: 15.92 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.004424, allocations: 18.12 kB / 474 MB, free: 15.9 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003118/0.004736, allocations: 498.5 kB / 474.5 MB, free: 31.41 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.004749, allocations: 12.59 kB / 474.5 MB, free: 31.4 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.004757, allocations: 4.531 kB / 474.5 MB, free: 31.4 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.004792, allocations: 20.34 kB / 474.6 MB, free: 31.38 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.004795, allocations: 3.422 kB / 474.6 MB, free: 31.38 MB / 426.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.272e-05/0.004837, allocations: 48.59 kB / 474.6 MB, free: 31.34 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.004849, allocations: 9.062 kB / 474.6 MB, free: 31.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.004853, allocations: 1 kB / 474.6 MB, free: 31.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.004864, allocations: 0 / 474.6 MB, free: 31.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.004912, allocations: 13.5 kB / 474.6 MB, free: 31.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.004916, allocations: 7.438 kB / 474.7 MB, free: 31.33 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-06/0.004924, allocations: 0 / 474.7 MB, free: 31.33 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.004928, allocations: 0.9375 kB / 474.7 MB, free: 31.33 MB / 426.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 4.954e-05/0.004977, allocations: 159.5 kB / 474.8 MB, free: 31.17 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-06/0.004982, allocations: 8.281 kB / 474.8 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.97e-05/0.005062, allocations: 57.44 kB / 474.9 MB, free: 31.11 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005064, allocations: 3.719 kB / 474.9 MB, free: 31.11 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.005067, allocations: 0 / 474.9 MB, free: 31.11 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005069, allocations: 4.688 kB / 474.9 MB, free: 31.11 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.62e-05/0.005105, allocations: 114.6 kB / 475 MB, free: 30.97 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005106, allocations: 0.8438 kB / 475 MB, free: 30.97 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.005119, allocations: 5.188 kB / 475 MB, free: 30.97 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.005121, allocations: 3.625 kB / 475 MB, free: 30.97 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.005127, allocations: 3.938 kB / 475 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.005128, allocations: 3.312 kB / 475 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005128, allocations: 0 / 475 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.505e-05/0.005173, allocations: 84.48 kB / 475.1 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.005178, allocations: 13.53 kB / 475.1 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-06/0.005186, allocations: 4 kB / 475.1 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-06/0.00519, allocations: 0 / 475.1 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.005203, allocations: 2.781 kB / 475.1 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-06/0.005205, allocations: 0 / 475.1 MB, free: 30.87 MB / 426.8 MB Notification: Performance of sorting global known variables: time 2.608e-05/0.005231, allocations: 123.1 kB / 475.2 MB, free: 30.75 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005231, allocations: 2.656 kB / 475.2 MB, free: 30.75 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001397/0.005371, allocations: 19.75 kB / 475.3 MB, free: 30.75 MB / 426.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.0001082/0.005479, allocations: 118.9 kB / 475.4 MB, free: 30.65 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 7.293e-05/0.005552, allocations: 26.44 kB / 475.4 MB, free: 30.63 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.005553, allocations: 0 / 475.4 MB, free: 30.63 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.005564, allocations: 20.67 kB / 475.4 MB, free: 30.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.773e-05/0.005651, allocations: 4 kB / 475.4 MB, free: 30.62 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.005819, allocations: 106.6 kB / 475.5 MB, free: 30.5 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.065e-05/0.00584, allocations: 52.55 kB / 475.6 MB, free: 30.43 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.705e-05/0.005857, allocations: 4.094 kB / 475.6 MB, free: 30.43 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.005872, allocations: 11.28 kB / 475.6 MB, free: 30.43 MB / 426.8 MB Notification: Performance of SimCode: time 3.01e-07/0.005872, allocations: 3.938 kB / 475.6 MB, free: 30.42 MB / 426.8 MB Notification: Performance of Templates: time 0.00194/0.007812, allocations: 0.6759 MB / 476.3 MB, free: 30.36 MB / 426.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.266210492234677]