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.008325/0.008325, allocations: 1.781 MB / 21.57 MB, free: 2.91 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.0008479/0.0008479, allocations: 88.34 kB / 25.4 MB, free: 7.152 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.0008144/0.0008144, allocations: 161.7 kB / 29.34 MB, free: 3.27 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.9781/0.9781, allocations: 177.1 MB / 210.3 MB, free: 3.457 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.6319/0.6319, allocations: 102.5 MB / 369.9 MB, free: 272 kB / 330.7 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.262e-06/1.262e-06, allocations: 0 / 470.4 MB, free: 18.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.392e-05, allocations: 5.219 kB / 470.4 MB, free: 18.85 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.0009535/0.0009674, allocations: 1.053 MB / 471.5 MB, free: 18.2 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002063, allocations: 1.437 MB / 472.9 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.002085, allocations: 0 / 472.9 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.002097, allocations: 0 / 472.9 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.002374, allocations: 104.6 kB / 473 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.515e-06/0.002377, allocations: 0 / 473 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 2.566e-05/0.002402, allocations: 8.062 kB / 473 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.207e-05/0.002434, allocations: 10.39 kB / 473 MB, free: 17.15 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/0.00246, allocations: 4.531 kB / 473 MB, free: 17.15 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.00249, allocations: 2.844 kB / 473 MB, free: 17.15 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.002496, allocations: 0.7188 kB / 473 MB, free: 17.15 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.002732, allocations: 171.9 kB / 473.2 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-06/0.002738, allocations: 3.938 kB / 473.2 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-06/0.002746, allocations: 3.938 kB / 473.2 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.002867, allocations: 111.1 kB / 473.3 MB, free: 17.07 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002869, allocations: 0 / 473.3 MB, free: 17.07 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002869, allocations: 0 / 473.3 MB, free: 17.07 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.002873, allocations: 5.156 kB / 473.3 MB, free: 17.07 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.0001587/0.003031, allocations: 367.1 kB / 473.7 MB, free: 16.68 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.003064, allocations: 10.5 kB / 473.7 MB, free: 16.68 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.003086, allocations: 4.219 kB / 473.7 MB, free: 16.68 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.251e-05/0.003119, allocations: 111.4 kB / 473.8 MB, free: 16.55 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.003126, allocations: 384 / 473.8 MB, free: 16.55 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-06/0.003132, allocations: 3 kB / 473.8 MB, free: 16.55 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.778e-05/0.003189, allocations: 39.59 kB / 473.9 MB, free: 16.52 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003196, allocations: 192 / 473.9 MB, free: 16.52 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.003201, allocations: 1.469 kB / 473.9 MB, free: 16.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.003206, allocations: 6.188 kB / 473.9 MB, free: 16.51 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.003225, allocations: 8.484 kB / 473.9 MB, free: 16.51 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.341e-05/0.003298, allocations: 101.7 kB / 474 MB, free: 16.39 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.336e-05/0.003351, allocations: 40.73 kB / 474 MB, free: 16.36 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.003365, allocations: 16.92 kB / 474 MB, free: 16.34 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.003524, allocations: 42.31 kB / 474.1 MB, free: 16.33 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.003538, allocations: 36.02 kB / 474.1 MB, free: 16.29 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.003538, allocations: 0 / 474.1 MB, free: 16.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 8.877e-05/0.003627, allocations: 50.38 kB / 474.1 MB, free: 16.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.567e-05/0.003643, allocations: 51.41 kB / 474.2 MB, free: 16.19 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.465e-05/0.003658, allocations: 142.2 kB / 474.3 MB, free: 16.04 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-06/0.003663, allocations: 29.98 kB / 474.4 MB, free: 16.01 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.00375, allocations: 126.9 kB / 474.5 MB, free: 31.88 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.003776, allocations: 19.42 kB / 474.5 MB, free: 31.86 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.003795, allocations: 19.12 kB / 474.5 MB, free: 31.84 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.003912, allocations: 0.4892 MB / 475 MB, free: 31.34 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.003921, allocations: 0 / 475 MB, free: 31.34 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.003929, allocations: 8.25 kB / 475 MB, free: 31.34 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.003959, allocations: 25.27 kB / 475 MB, free: 31.32 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.003961, allocations: 0 / 475 MB, free: 31.32 MB / 426.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.246e-05/0.004003, allocations: 46.06 kB / 475.1 MB, free: 31.29 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.004013, allocations: 10.38 kB / 475.1 MB, free: 31.29 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.004017, allocations: 2.625 kB / 475.1 MB, free: 31.29 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.004025, allocations: 0 / 475.1 MB, free: 31.29 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.00407, allocations: 14.27 kB / 475.1 MB, free: 31.28 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.004073, allocations: 0 / 475.1 MB, free: 31.28 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-06/0.004082, allocations: 11.89 kB / 475.1 MB, free: 31.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.004085, allocations: 2.625 kB / 475.1 MB, free: 31.27 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 6.552e-05/0.00415, allocations: 156.5 kB / 475.3 MB, free: 31.11 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-06/0.004154, allocations: 5.688 kB / 475.3 MB, free: 31.11 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.004214, allocations: 53.95 kB / 475.3 MB, free: 31.06 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.02e-07/0.004215, allocations: 0 / 475.3 MB, free: 31.06 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004217, allocations: 2.625 kB / 475.3 MB, free: 31.06 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.004219, allocations: 1.828 kB / 475.4 MB, free: 31.06 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.946e-05/0.004259, allocations: 99.83 kB / 475.4 MB, free: 30.94 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.004259, allocations: 0 / 475.4 MB, free: 30.94 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.315e-05/0.004272, allocations: 14.69 kB / 475.5 MB, free: 30.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.004273, allocations: 2.625 kB / 475.5 MB, free: 30.93 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-06/0.004276, allocations: 0 / 475.5 MB, free: 30.93 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.004277, allocations: 0 / 475.5 MB, free: 30.93 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004277, allocations: 0 / 475.5 MB, free: 30.93 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.176e-05/0.004319, allocations: 83.23 kB / 475.5 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.004323, allocations: 5.859 kB / 475.6 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-06/0.004329, allocations: 0.5938 kB / 475.6 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-06/0.004333, allocations: 0.5625 kB / 475.6 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-06/0.004343, allocations: 6.625 kB / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.004344, allocations: 1.281 kB / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.004372, allocations: 119.2 kB / 475.7 MB, free: 30.73 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004372, allocations: 0 / 475.7 MB, free: 30.73 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001204/0.004493, allocations: 21.98 kB / 475.7 MB, free: 30.72 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.0001077/0.0046, allocations: 118.3 kB / 475.8 MB, free: 30.62 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.615e-05/0.004657, allocations: 20.56 kB / 475.8 MB, free: 30.61 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.004658, allocations: 0.9062 kB / 475.8 MB, free: 30.61 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.004671, allocations: 27.83 kB / 475.9 MB, free: 30.59 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.406e-05/0.004755, allocations: 7.281 kB / 475.9 MB, free: 30.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/0.004905, allocations: 100.2 kB / 476 MB, free: 30.48 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.308e-05/0.004928, allocations: 59.33 kB / 476 MB, free: 30.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.004946, allocations: 0.9062 kB / 476 MB, free: 30.41 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.004974, allocations: 69.23 kB / 476.1 MB, free: 30.34 MB / 426.8 MB Notification: Performance of SimCode: time 3.71e-07/0.004975, allocations: 1.125 kB / 476.1 MB, free: 30.34 MB / 426.8 MB Notification: Performance of Templates: time 0.001803/0.006777, allocations: 0.7016 MB / 476.8 MB, free: 30.27 MB / 426.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 -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.653028951957822]