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.008015/0.008015, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0007736/0.0007736, allocations: 85.05 kB / 25.4 MB, free: 7 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.0008596/0.0008596, allocations: 158.9 kB / 29.33 MB, free: 3.137 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.9097/0.9097, allocations: 177.1 MB / 210.3 MB, free: 3.438 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.6048/0.6048, allocations: 102.4 MB / 369.8 MB, free: 196 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.713e-06/1.713e-06, allocations: 0 / 470.4 MB, free: 18.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.263e-05, allocations: 3.438 kB / 470.4 MB, free: 18.88 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001721/0.001754, allocations: 1.059 MB / 471.5 MB, free: 18.22 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.003342, allocations: 1.426 MB / 472.9 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.003379, allocations: 6.438 kB / 472.9 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.0034, allocations: 0 / 472.9 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.003879, allocations: 103.8 kB / 473 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.003883, allocations: 0 / 473 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.003925, allocations: 10.28 kB / 473 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.003967, allocations: 3.969 kB / 473 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.003996, allocations: 4 kB / 473 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.00404, allocations: 5.031 kB / 473 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.004047, allocations: 0 / 473 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.004408, allocations: 177 kB / 473.2 MB, free: 17.13 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.004415, allocations: 6.453 kB / 473.2 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.196e-05/0.004427, allocations: 6.625 kB / 473.2 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.004576, allocations: 106.9 kB / 473.3 MB, free: 17.09 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.004579, allocations: 0 / 473.3 MB, free: 17.09 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00458, allocations: 2.625 kB / 473.3 MB, free: 17.09 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004584, allocations: 3.938 kB / 473.3 MB, free: 17.09 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.0001815/0.004765, allocations: 367.1 kB / 473.7 MB, free: 16.7 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.004799, allocations: 12.25 kB / 473.7 MB, free: 16.7 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.004823, allocations: 0.9375 kB / 473.7 MB, free: 16.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.225e-05/0.004866, allocations: 107.2 kB / 473.8 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.004874, allocations: 384 / 473.8 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.00488, allocations: 4.719 kB / 473.8 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.146e-05/0.004942, allocations: 35.06 kB / 473.8 MB, free: 16.54 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004948, allocations: 192 / 473.8 MB, free: 16.54 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.004955, allocations: 4.375 kB / 473.8 MB, free: 16.54 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.00496, allocations: 3.938 kB / 473.8 MB, free: 16.54 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.00498, allocations: 9.281 kB / 473.8 MB, free: 16.54 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.486e-05/0.005054, allocations: 98.45 kB / 473.9 MB, free: 16.42 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.005115, allocations: 45.8 kB / 474 MB, free: 16.38 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.00513, allocations: 16.22 kB / 474 MB, free: 16.37 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.005296, allocations: 34.94 kB / 474 MB, free: 16.36 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.005313, allocations: 36.02 kB / 474.1 MB, free: 16.32 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.005314, allocations: 1.938 kB / 474.1 MB, free: 16.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 9.309e-05/0.005407, allocations: 57.22 kB / 474.1 MB, free: 16.28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.005425, allocations: 54.78 kB / 474.2 MB, free: 16.21 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.956e-05/0.005444, allocations: 142.2 kB / 474.3 MB, free: 16.06 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/0.00545, allocations: 28.39 kB / 474.4 MB, free: 16.03 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-06/0.00546, allocations: 128.2 kB / 474.5 MB, free: 15.9 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.005488, allocations: 12.23 kB / 474.5 MB, free: 15.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.005509, allocations: 24.72 kB / 474.5 MB, free: 15.86 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004155/0.005924, allocations: 0.4888 MB / 475 MB, free: 31.37 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.005939, allocations: 3.156 kB / 475 MB, free: 31.37 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.005949, allocations: 3.719 kB / 475 MB, free: 31.37 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.005979, allocations: 18.22 kB / 475 MB, free: 31.36 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.005981, allocations: 1.25 kB / 475 MB, free: 31.36 MB / 426.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.892e-05/0.00603, allocations: 52.64 kB / 475.1 MB, free: 31.32 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.006041, allocations: 5.062 kB / 475.1 MB, free: 31.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.006046, allocations: 2.219 kB / 475.1 MB, free: 31.32 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.006057, allocations: 0 / 475.1 MB, free: 31.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/0.006108, allocations: 4.969 kB / 475.1 MB, free: 31.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.006111, allocations: 3.844 kB / 475.1 MB, free: 31.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.006121, allocations: 7.891 kB / 475.1 MB, free: 31.31 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.006125, allocations: 4 kB / 475.1 MB, free: 31.3 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 5.866e-05/0.006183, allocations: 166.3 kB / 475.3 MB, free: 31.14 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.006189, allocations: 3.031 kB / 475.3 MB, free: 31.14 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.591e-05/0.006285, allocations: 57.06 kB / 475.3 MB, free: 31.09 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006287, allocations: 0 / 475.3 MB, free: 31.09 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006289, allocations: 0 / 475.3 MB, free: 31.09 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.006293, allocations: 0 / 475.3 MB, free: 31.09 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.188e-05/0.006355, allocations: 110 kB / 475.4 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006356, allocations: 1.594 kB / 475.4 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.006373, allocations: 5.562 kB / 475.4 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.006376, allocations: 0 / 475.4 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-06/0.00638, allocations: 0 / 475.4 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.006381, allocations: 0.5312 kB / 475.4 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.006383, allocations: 2.688 kB / 475.4 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.682e-05/0.00644, allocations: 88.55 kB / 475.5 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-06/0.006444, allocations: 1.453 kB / 475.5 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.006452, allocations: 3.094 kB / 475.5 MB, free: 30.88 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-06/0.006457, allocations: 7.875 kB / 475.5 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.006468, allocations: 0 / 475.5 MB, free: 30.87 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.00647, allocations: 2.75 kB / 475.5 MB, free: 30.87 MB / 426.8 MB Notification: Performance of sorting global known variables: time 2.928e-05/0.006499, allocations: 121.8 kB / 475.7 MB, free: 30.75 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006499, allocations: 0 / 475.7 MB, free: 30.75 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001371/0.006636, allocations: 22.44 kB / 475.7 MB, free: 30.74 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.0001261/0.006762, allocations: 115.9 kB / 475.8 MB, free: 30.65 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 6.002e-05/0.006822, allocations: 20.22 kB / 475.8 MB, free: 30.64 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006824, allocations: 0 / 475.8 MB, free: 30.64 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.006834, allocations: 24.03 kB / 475.8 MB, free: 30.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.314e-05/0.006927, allocations: 5.156 kB / 475.9 MB, free: 30.62 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001663/0.007094, allocations: 99.36 kB / 475.9 MB, free: 30.51 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.203e-05/0.007116, allocations: 54.33 kB / 476 MB, free: 30.44 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.335e-05/0.007139, allocations: 6.219 kB / 476 MB, free: 30.44 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.007168, allocations: 72.08 kB / 476.1 MB, free: 30.37 MB / 426.8 MB Notification: Performance of SimCode: time 7.91e-07/0.007169, allocations: 0 / 476.1 MB, free: 30.37 MB / 426.8 MB Notification: Performance of Templates: time 0.002188/0.009357, allocations: 0.6965 MB / 476.8 MB, free: 30.31 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.3281983179040253]