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.006259/0.006259, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007911/0.0007911, allocations: 90.09 kB / 24.91 MB, free: 7.27 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.0007883/0.0007883, allocations: 163.5 kB / 28.62 MB, free: 4.453 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.8803/0.8803, allocations: 177.1 MB / 209.4 MB, free: 2.973 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.7649/0.7649, allocations: 102.5 MB / 368.7 MB, free: 1.453 MB / 330.8 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 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_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.172e-06/1.172e-06, allocations: 0 / 0.5374 GB, free: 39.62 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.961e-05, allocations: 4.906 kB / 0.5374 GB, free: 39.61 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001131/0.001151, allocations: 1.026 MB / 0.5384 GB, free: 38.95 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.002407, allocations: 1.406 MB / 0.5397 GB, free: 37.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.002433, allocations: 0 / 0.5397 GB, free: 37.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.00245, allocations: 1.25 kB / 0.5397 GB, free: 37.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.002819, allocations: 104.1 kB / 0.5398 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.078e-06/0.002823, allocations: 1.406 kB / 0.5398 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 4.231e-05/0.002865, allocations: 7.469 kB / 0.5398 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.002907, allocations: 1.406 kB / 0.5398 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.002934, allocations: 5.719 kB / 0.5399 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.002971, allocations: 11.27 kB / 0.5399 GB, free: 37.9 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.002978, allocations: 0 / 0.5399 GB, free: 37.9 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.003291, allocations: 175.8 kB / 0.54 GB, free: 37.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.003298, allocations: 1.094 kB / 0.54 GB, free: 37.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.216e-05/0.003311, allocations: 6.031 kB / 0.54 GB, free: 37.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.003474, allocations: 118.6 kB / 0.5401 GB, free: 37.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.003477, allocations: 4 kB / 0.5402 GB, free: 37.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.312e-06/0.003478, allocations: 1.562 kB / 0.5402 GB, free: 37.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.003482, allocations: 0 / 0.5402 GB, free: 37.81 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.0001914/0.003673, allocations: 255.6 kB / 0.5404 GB, free: 37.54 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.003712, allocations: 11.58 kB / 0.5404 GB, free: 37.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.003743, allocations: 1.969 kB / 0.5404 GB, free: 37.54 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.988e-05/0.003783, allocations: 109.4 kB / 0.5405 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.003793, allocations: 1.469 kB / 0.5405 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.003802, allocations: 1.5 kB / 0.5405 GB, free: 37.41 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.00389, allocations: 40.67 kB / 0.5406 GB, free: 37.38 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.003898, allocations: 4.188 kB / 0.5406 GB, free: 37.38 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.003906, allocations: 384 / 0.5406 GB, free: 37.38 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.003912, allocations: 4.969 kB / 0.5406 GB, free: 37.37 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.00395, allocations: 13.94 kB / 0.5406 GB, free: 37.37 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.131e-05/0.004041, allocations: 103.4 kB / 0.5407 GB, free: 37.24 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.004122, allocations: 37.48 kB / 0.5407 GB, free: 37.21 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.004144, allocations: 11.17 kB / 0.5407 GB, free: 37.2 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.004319, allocations: 37.45 kB / 0.5408 GB, free: 37.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.004333, allocations: 32.59 kB / 0.5408 GB, free: 37.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.004334, allocations: 2.406 kB / 0.5408 GB, free: 37.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001329/0.004467, allocations: 61.22 kB / 0.5409 GB, free: 37.12 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.004488, allocations: 56.47 kB / 0.5409 GB, free: 37.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.365e-05/0.004501, allocations: 89.86 kB / 0.541 GB, free: 36.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.972e-06/0.004507, allocations: 29.7 kB / 0.541 GB, free: 36.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-06/0.004515, allocations: 85.48 kB / 0.5411 GB, free: 36.83 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.004544, allocations: 13.84 kB / 0.5411 GB, free: 36.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.004565, allocations: 18.12 kB / 0.5411 GB, free: 36.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.004599, allocations: 315.9 kB / 0.5414 GB, free: 36.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.004613, allocations: 7.656 kB / 0.5414 GB, free: 36.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.004624, allocations: 9.031 kB / 0.5414 GB, free: 36.48 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.004657, allocations: 26.62 kB / 0.5415 GB, free: 36.46 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004659, allocations: 0 / 0.5415 GB, free: 36.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.576e-05/0.004705, allocations: 55.05 kB / 0.5415 GB, free: 36.42 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.004718, allocations: 5.5 kB / 0.5415 GB, free: 36.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004722, allocations: 1.562 kB / 0.5415 GB, free: 36.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.004732, allocations: 1.125 kB / 0.5415 GB, free: 36.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.004775, allocations: 9.031 kB / 0.5415 GB, free: 36.42 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.004781, allocations: 5.281 kB / 0.5415 GB, free: 36.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.00479, allocations: 4.453 kB / 0.5416 GB, free: 36.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.004793, allocations: 1.25 kB / 0.5416 GB, free: 36.41 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 3.46e-05/0.004828, allocations: 118 kB / 0.5417 GB, free: 36.29 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-06/0.004831, allocations: 1.062 kB / 0.5417 GB, free: 36.29 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.004915, allocations: 59.28 kB / 0.5417 GB, free: 36.24 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.004917, allocations: 0 / 0.5417 GB, free: 36.24 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.004921, allocations: 1.844 kB / 0.5417 GB, free: 36.24 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.004925, allocations: 8.609 kB / 0.5417 GB, free: 36.24 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4e-05/0.004965, allocations: 101.2 kB / 0.5418 GB, free: 36.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004966, allocations: 0 / 0.5418 GB, free: 36.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.004978, allocations: 6.219 kB / 0.5418 GB, free: 36.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00498, allocations: 0.9688 kB / 0.5418 GB, free: 36.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.004985, allocations: 0 / 0.5418 GB, free: 36.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.004986, allocations: 1.062 kB / 0.5418 GB, free: 36.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.004987, allocations: 4.406 kB / 0.5418 GB, free: 36.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.747e-05/0.005035, allocations: 76.42 kB / 0.5419 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.00504, allocations: 3.25 kB / 0.5419 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.005048, allocations: 0 / 0.5419 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-06/0.005053, allocations: 9.344 kB / 0.5419 GB, free: 36.03 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.005067, allocations: 5.438 kB / 0.5419 GB, free: 36.03 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.005069, allocations: 1.062 kB / 0.5419 GB, free: 36.03 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.036e-05/0.005079, allocations: 79.22 kB / 0.542 GB, free: 35.95 MB / 490.8 MB Notification: Performance of sort global known variables: time 4e-08/0.00508, allocations: 2.188 kB / 0.542 GB, free: 35.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001371/0.005217, allocations: 19.12 kB / 0.542 GB, free: 35.95 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.0001139/0.005331, allocations: 118.6 kB / 0.5421 GB, free: 35.85 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 7.273e-05/0.005403, allocations: 19.8 kB / 0.5422 GB, free: 35.84 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.005405, allocations: 2.75 kB / 0.5422 GB, free: 35.84 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.005416, allocations: 13.86 kB / 0.5422 GB, free: 35.84 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.555e-05/0.005512, allocations: 5.875 kB / 0.5422 GB, free: 35.84 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.005681, allocations: 120.3 kB / 0.5423 GB, free: 35.71 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.769e-05/0.005708, allocations: 60.88 kB / 0.5424 GB, free: 35.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.005722, allocations: 11.03 kB / 0.5424 GB, free: 35.63 MB / 490.8 MB Notification: Performance of SimCode: time 3.41e-07/0.005722, allocations: 0 / 0.5424 GB, free: 35.63 MB / 490.8 MB Notification: Performance of Templates: time 0.001642/0.007365, allocations: 0.723 MB / 0.5431 GB, free: 35.59 MB / 490.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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_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_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: 5.334717561490834]