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.008417/0.008417, allocations: 1.788 MB / 21.65 MB, free: 2.809 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.001267/0.001267, allocations: 82.92 kB / 25.48 MB, free: 6.395 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.001696/0.001696, allocations: 164.4 kB / 28.89 MB, free: 3.363 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.9117/0.9117, 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.7118/0.7118, allocations: 102.5 MB / 368.3 MB, free: 0.7617 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.493e-06/1.493e-06, allocations: 0 / 415 MB, free: 2.266 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.436e-05, allocations: 4.844 kB / 415 MB, free: 2.262 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002003/0.002028, allocations: 1.061 MB / 416.1 MB, free: 1.195 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.003867, allocations: 1.443 MB / 417.5 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.003891, allocations: 0 / 417.5 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.003906, allocations: 3.938 kB / 417.5 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.004332, allocations: 111.5 kB / 417.7 MB, free: 15.62 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.004335, allocations: 4 kB / 417.7 MB, free: 15.62 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 3.48e-05/0.00437, allocations: 0 / 417.7 MB, free: 15.62 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.004406, allocations: 4 kB / 417.7 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.004432, allocations: 3.984 kB / 417.7 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.856e-05/0.004471, allocations: 7.938 kB / 417.7 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.004477, allocations: 0 / 417.7 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.004834, allocations: 175.7 kB / 417.8 MB, free: 15.43 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-06/0.00484, allocations: 0 / 417.8 MB, free: 15.43 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 9.748e-06/0.004849, allocations: 3.938 kB / 417.8 MB, free: 15.43 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.005033, allocations: 115.7 kB / 418 MB, free: 15.31 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005037, allocations: 7.984 kB / 418 MB, free: 15.3 MB / 394.8 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005038, allocations: 0 / 418 MB, free: 15.3 MB / 394.8 MB Notification: Performance of Transformations before backend: time 3.075e-06/0.005041, allocations: 0 / 418 MB, free: 15.3 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.0002204/0.005261, allocations: 236.8 kB / 418.2 MB, free: 15.05 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.466e-05/0.005296, allocations: 12.03 kB / 418.2 MB, free: 15.04 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.00532, allocations: 0.9375 kB / 418.2 MB, free: 15.04 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.478e-05/0.005385, allocations: 109.8 kB / 418.3 MB, free: 14.91 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.005394, allocations: 4.375 kB / 418.3 MB, free: 14.9 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.005403, allocations: 384 / 418.3 MB, free: 14.9 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.329e-05/0.005477, allocations: 38.25 kB / 418.4 MB, free: 14.86 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005484, allocations: 192 / 418.4 MB, free: 14.86 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.005489, allocations: 4.375 kB / 418.4 MB, free: 14.86 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.005498, allocations: 7.938 kB / 418.4 MB, free: 14.85 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.005522, allocations: 11.92 kB / 418.4 MB, free: 14.84 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.008e-05/0.005612, allocations: 61 kB / 418.4 MB, free: 14.76 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.005688, allocations: 30.58 kB / 418.5 MB, free: 14.72 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.005705, allocations: 8.859 kB / 418.5 MB, free: 14.71 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.00589, allocations: 36.11 kB / 418.5 MB, free: 14.68 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.005916, allocations: 34.55 kB / 418.6 MB, free: 14.63 MB / 394.8 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.005916, allocations: 4 kB / 418.6 MB, free: 14.63 MB / 394.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001047/0.006021, allocations: 49.62 kB / 418.6 MB, free: 14.57 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.006054, allocations: 51.41 kB / 418.7 MB, free: 14.51 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.922e-05/0.006084, allocations: 89.86 kB / 418.7 MB, free: 14.41 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.006095, allocations: 25.7 kB / 418.8 MB, free: 14.38 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.006118, allocations: 80.14 kB / 418.8 MB, free: 14.3 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.006152, allocations: 23.83 kB / 418.9 MB, free: 14.28 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.00618, allocations: 13.72 kB / 418.9 MB, free: 14.26 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.006269, allocations: 314.8 kB / 419.2 MB, free: 13.94 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.006279, allocations: 7.984 kB / 419.2 MB, free: 13.93 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.006287, allocations: 0 / 419.2 MB, free: 13.93 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.006318, allocations: 20.84 kB / 419.2 MB, free: 13.91 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.00632, allocations: 0 / 419.2 MB, free: 13.91 MB / 394.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.562e-05/0.006376, allocations: 41.64 kB / 419.3 MB, free: 13.86 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006387, allocations: 4 kB / 419.3 MB, free: 13.86 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.006393, allocations: 7.984 kB / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.006405, allocations: 0 / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.006452, allocations: 4 kB / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.006454, allocations: 0 / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.006465, allocations: 336 / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.006474, allocations: 15.88 kB / 419.3 MB, free: 13.83 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.401e-05/0.006528, allocations: 109.8 kB / 419.4 MB, free: 13.71 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.006535, allocations: 0 / 419.4 MB, free: 13.71 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.632e-05/0.006621, allocations: 61.12 kB / 419.5 MB, free: 13.65 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006622, allocations: 0 / 419.5 MB, free: 13.65 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006624, allocations: 0 / 419.5 MB, free: 13.65 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006626, allocations: 0 / 419.5 MB, free: 13.65 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.509e-05/0.006691, allocations: 69.83 kB / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006692, allocations: 0 / 419.5 MB, free: 13.56 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.006713, allocations: 8 kB / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006716, allocations: 4 kB / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.466e-06/0.006719, allocations: 4 kB / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.00672, allocations: 0 / 419.5 MB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.006722, allocations: 3.984 kB / 419.5 MB, free: 13.54 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.548e-05/0.006788, allocations: 77.03 kB / 419.6 MB, free: 13.45 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-06/0.006792, allocations: 4 kB / 419.6 MB, free: 13.45 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-06/0.006799, allocations: 0 / 419.6 MB, free: 13.45 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.006808, allocations: 0 / 419.6 MB, free: 13.45 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.006824, allocations: 4 kB / 419.6 MB, free: 13.44 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.006826, allocations: 0 / 419.6 MB, free: 13.44 MB / 394.8 MB Notification: Performance of sorting global known variables: time 6.252e-06/0.006832, allocations: 4.859 kB / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.006832, allocations: 0 / 419.6 MB, free: 13.43 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002017/0.007034, allocations: 23.92 kB / 419.7 MB, free: 13.41 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.0001369/0.007171, allocations: 100.3 kB / 419.8 MB, free: 13.3 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 5.984e-05/0.007231, allocations: 16.84 kB / 419.8 MB, free: 13.28 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.007234, allocations: 4 kB / 419.8 MB, free: 13.28 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 1.391e-05/0.007248, allocations: 12.8 kB / 419.8 MB, free: 13.26 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.323e-05/0.007301, allocations: 7.938 kB / 419.8 MB, free: 13.25 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.007508, allocations: 96.75 kB / 419.9 MB, free: 13.13 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.007537, allocations: 51.36 kB / 419.9 MB, free: 13.06 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 2.728e-05/0.007564, allocations: 8 kB / 419.9 MB, free: 13.05 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.007597, allocations: 59.3 kB / 420 MB, free: 13 MB / 394.8 MB Notification: Performance of SimCode: time 5.31e-07/0.007598, allocations: 0 / 420 MB, free: 13 MB / 394.8 MB Notification: Performance of Templates: time 0.002496/0.01009, allocations: 0.6978 MB / 420.7 MB, free: 12.3 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 -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.268214397598058]