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.006155/0.006155, allocations: 1.439 MB / 21.29 MB, free: 3.262 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.0006258/0.0006258, allocations: 92.86 kB / 24.9 MB, free: 7.266 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.0007076/0.0007076, allocations: 164.9 kB / 28.62 MB, free: 4.457 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.9001/0.9001, allocations: 177.1 MB / 209.4 MB, free: 2.996 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.7524/0.7524, allocations: 102.5 MB / 368.7 MB, free: 1.535 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 0.5.2 (/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.993e-06/1.993e-06, allocations: 0 / 0.5374 GB, free: 39.86 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.951e-05, allocations: 3.438 kB / 0.5374 GB, free: 39.85 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001316/0.001345, allocations: 1.033 MB / 0.5384 GB, free: 39.18 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.002888, allocations: 1.4 MB / 0.5398 GB, free: 38.2 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.002923, allocations: 0 / 0.5398 GB, free: 38.2 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.002942, allocations: 7.406 kB / 0.5398 GB, free: 38.19 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004434/0.003386, allocations: 102.4 kB / 0.5399 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.859e-06/0.003391, allocations: 2.062 kB / 0.5399 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 5e-05/0.003441, allocations: 5.156 kB / 0.5399 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.003496, allocations: 4.734 kB / 0.5399 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.003529, allocations: 6.844 kB / 0.5399 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.003568, allocations: 1.438 kB / 0.5399 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.003578, allocations: 0 / 0.5399 GB, free: 38.14 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.003912, allocations: 178.8 kB / 0.5401 GB, free: 38.09 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.003921, allocations: 3.938 kB / 0.5401 GB, free: 38.09 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.184e-05/0.003933, allocations: 2.781 kB / 0.5401 GB, free: 38.09 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.004124, allocations: 112.2 kB / 0.5402 GB, free: 38.05 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004127, allocations: 0 / 0.5402 GB, free: 38.05 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.004128, allocations: 1.25 kB / 0.5402 GB, free: 38.05 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.004138, allocations: 0 / 0.5402 GB, free: 38.05 MB / 490.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.0002656/0.004403, allocations: 262.9 kB / 0.5404 GB, free: 37.78 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.004455, allocations: 9 kB / 0.5404 GB, free: 37.78 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.004496, allocations: 3.594 kB / 0.5404 GB, free: 37.78 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.516e-05/0.004551, allocations: 106 kB / 0.5405 GB, free: 37.65 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.004566, allocations: 6.219 kB / 0.5405 GB, free: 37.65 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.004578, allocations: 3.094 kB / 0.5405 GB, free: 37.65 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.0047, allocations: 43.33 kB / 0.5406 GB, free: 37.61 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.004711, allocations: 192 / 0.5406 GB, free: 37.61 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004723, allocations: 1.938 kB / 0.5406 GB, free: 37.61 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.00473, allocations: 5.438 kB / 0.5406 GB, free: 37.61 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.004778, allocations: 5.906 kB / 0.5406 GB, free: 37.61 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.00489, allocations: 105.1 kB / 0.5407 GB, free: 37.48 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.004999, allocations: 38.02 kB / 0.5407 GB, free: 37.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.00503, allocations: 14.39 kB / 0.5407 GB, free: 37.44 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.005273, allocations: 33.8 kB / 0.5408 GB, free: 37.44 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005292, allocations: 37.22 kB / 0.5408 GB, free: 37.39 MB / 490.8 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005293, allocations: 0 / 0.5408 GB, free: 37.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001721/0.005465, allocations: 56.88 kB / 0.5409 GB, free: 37.36 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.005495, allocations: 56.5 kB / 0.5409 GB, free: 37.29 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.846e-05/0.005513, allocations: 91.89 kB / 0.541 GB, free: 37.19 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.00552, allocations: 25.7 kB / 0.541 GB, free: 37.16 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.005535, allocations: 89.28 kB / 0.5411 GB, free: 37.07 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.005576, allocations: 16.97 kB / 0.5411 GB, free: 37.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.0056, allocations: 13.19 kB / 0.5411 GB, free: 37.04 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.005652, allocations: 321.1 kB / 0.5415 GB, free: 36.72 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.005667, allocations: 2.844 kB / 0.5415 GB, free: 36.72 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.005682, allocations: 13.31 kB / 0.5415 GB, free: 36.71 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.005725, allocations: 29.94 kB / 0.5415 GB, free: 36.7 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005727, allocations: 0.9062 kB / 0.5415 GB, free: 36.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.157e-05/0.005778, allocations: 51.31 kB / 0.5415 GB, free: 36.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.005794, allocations: 4.125 kB / 0.5416 GB, free: 36.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.0058, allocations: 7.375 kB / 0.5416 GB, free: 36.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.005816, allocations: 0 / 0.5416 GB, free: 36.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.00588, allocations: 5.188 kB / 0.5416 GB, free: 36.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.005891, allocations: 7.922 kB / 0.5416 GB, free: 36.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.005902, allocations: 5.422 kB / 0.5416 GB, free: 36.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.005908, allocations: 2.406 kB / 0.5416 GB, free: 36.64 MB / 490.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.895e-05/0.005957, allocations: 112 kB / 0.5417 GB, free: 36.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-06/0.005961, allocations: 1.281 kB / 0.5417 GB, free: 36.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.006098, allocations: 61.44 kB / 0.5417 GB, free: 36.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.0061, allocations: 0.9688 kB / 0.5417 GB, free: 36.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.006107, allocations: 1.625 kB / 0.5417 GB, free: 36.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.006113, allocations: 5.125 kB / 0.5418 GB, free: 36.47 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.672e-05/0.006179, allocations: 100.8 kB / 0.5418 GB, free: 36.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.006182, allocations: 0.8125 kB / 0.5418 GB, free: 36.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.006209, allocations: 9.141 kB / 0.5419 GB, free: 36.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.006211, allocations: 0.875 kB / 0.5419 GB, free: 36.35 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.006222, allocations: 5.469 kB / 0.5419 GB, free: 36.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006223, allocations: 1.031 kB / 0.5419 GB, free: 36.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006224, allocations: 0 / 0.5419 GB, free: 36.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.026e-05/0.006304, allocations: 77.56 kB / 0.5419 GB, free: 36.27 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.006312, allocations: 9.938 kB / 0.5419 GB, free: 36.27 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.006325, allocations: 0 / 0.5419 GB, free: 36.27 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.006335, allocations: 2.219 kB / 0.5419 GB, free: 36.27 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.006352, allocations: 0 / 0.5419 GB, free: 36.27 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.006356, allocations: 2.844 kB / 0.542 GB, free: 36.27 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.537e-05/0.006372, allocations: 80.94 kB / 0.542 GB, free: 36.19 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006372, allocations: 0 / 0.542 GB, free: 36.19 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001492/0.006521, allocations: 19.42 kB / 0.542 GB, free: 36.18 MB / 490.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.0001466/0.006668, allocations: 116.1 kB / 0.5422 GB, free: 36.09 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 9.416e-05/0.006762, allocations: 24.61 kB / 0.5422 GB, free: 36.08 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.006764, allocations: 0 / 0.5422 GB, free: 36.08 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.006776, allocations: 10.23 kB / 0.5422 GB, free: 36.08 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.006888, allocations: 11.28 kB / 0.5422 GB, free: 36.07 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.007141, allocations: 119.8 kB / 0.5423 GB, free: 35.94 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.007183, allocations: 60.56 kB / 0.5424 GB, free: 35.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.007201, allocations: 10.09 kB / 0.5424 GB, free: 35.86 MB / 490.8 MB Notification: Performance of SimCode: time 3.41e-07/0.007202, allocations: 6 kB / 0.5424 GB, free: 35.86 MB / 490.8 MB Notification: Performance of Templates: time 0.002152/0.009354, allocations: 0.7182 MB / 0.5431 GB, free: 35.83 MB / 490.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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",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: 5.336171220988035]