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.01749/0.01749, allocations: 1.796 MB / 21.15 MB, free: 3.25 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.002328/0.002328, allocations: 80.67 kB / 24.89 MB, free: 5.754 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.002702/0.002702, allocations: 166.7 kB / 28.74 MB, free: 3.367 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 1.583/1.583, allocations: 177.2 MB / 209.6 MB, free: 2.414 MB / 186.7 MB " [Timeout remaining time 178] 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 1.094/1.094, allocations: 102.5 MB / 369.1 MB, free: 0.9297 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.953e-06/1.953e-06, allocations: 0 / 469.1 MB, free: 13.07 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.925e-05/5.121e-05, allocations: 6.25 kB / 469.1 MB, free: 13.06 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002506/0.002557, allocations: 1.036 MB / 470.1 MB, free: 12.03 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.00507, allocations: 1.4 MB / 471.5 MB, free: 10.61 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.005109, allocations: 4 kB / 471.5 MB, free: 10.61 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.005128, allocations: 3.938 kB / 471.6 MB, free: 10.6 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.005669, allocations: 99.58 kB / 471.6 MB, free: 10.5 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.005674, allocations: 3.938 kB / 471.7 MB, free: 10.5 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.005727, allocations: 11.97 kB / 471.7 MB, free: 10.49 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.00577, allocations: 0 / 471.7 MB, free: 10.49 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.758e-05/0.005807, allocations: 8 kB / 471.7 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.005858, allocations: 7.938 kB / 471.7 MB, free: 10.47 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.156e-06/0.005866, allocations: 0 / 471.7 MB, free: 10.47 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.006336, allocations: 171.7 kB / 471.8 MB, free: 10.3 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.006344, allocations: 0 / 471.8 MB, free: 10.3 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.006365, allocations: 7.938 kB / 471.9 MB, free: 10.3 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.006646, allocations: 119.6 kB / 472 MB, free: 10.18 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.006651, allocations: 0 / 472 MB, free: 10.18 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006653, allocations: 0 / 472 MB, free: 10.18 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.006659, allocations: 0 / 472 MB, free: 10.18 MB / 442.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.0005125/0.007172, allocations: 364.2 kB / 472.3 MB, free: 9.789 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.007235, allocations: 15.97 kB / 472.3 MB, free: 9.773 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.00729, allocations: 0.9375 kB / 472.3 MB, free: 9.773 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.0074, allocations: 104.6 kB / 472.4 MB, free: 9.645 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.007421, allocations: 4.375 kB / 472.5 MB, free: 9.641 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.007432, allocations: 384 / 472.5 MB, free: 9.641 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.007568, allocations: 38.25 kB / 472.5 MB, free: 9.598 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.007579, allocations: 4.188 kB / 472.5 MB, free: 9.594 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.00759, allocations: 384 / 472.5 MB, free: 9.594 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.007599, allocations: 3.938 kB / 472.5 MB, free: 9.59 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.525e-05/0.007664, allocations: 19.92 kB / 472.5 MB, free: 9.57 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.00788, allocations: 112.6 kB / 472.6 MB, free: 9.426 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.00802, allocations: 43.2 kB / 472.7 MB, free: 9.371 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.008065, allocations: 19.67 kB / 472.7 MB, free: 9.348 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.008359, allocations: 39.95 kB / 472.7 MB, free: 9.309 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.008398, allocations: 33.39 kB / 472.8 MB, free: 9.266 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.008398, allocations: 0 / 472.8 MB, free: 9.266 MB / 442.8 MB Notification: Performance of matching and sorting (n=4): time 0.000206/0.008604, allocations: 57.62 kB / 472.8 MB, free: 9.203 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.00866, allocations: 59.34 kB / 472.9 MB, free: 9.133 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.008747, allocations: 146.2 kB / 473 MB, free: 8.977 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.008765, allocations: 25.7 kB / 473 MB, free: 8.945 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.008846, allocations: 126.9 kB / 473.2 MB, free: 8.816 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.008897, allocations: 15.89 kB / 473.2 MB, free: 8.801 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.008942, allocations: 23.38 kB / 473.2 MB, free: 8.77 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002825/0.009225, allocations: 492.1 kB / 473.7 MB, free: 8.277 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.009246, allocations: 4 kB / 473.7 MB, free: 8.273 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.009269, allocations: 11.98 kB / 473.7 MB, free: 8.262 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.00933, allocations: 23.69 kB / 473.7 MB, free: 8.234 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009333, allocations: 0 / 473.7 MB, free: 8.234 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.452e-05/0.009427, allocations: 53.62 kB / 473.8 MB, free: 8.176 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.009444, allocations: 8 kB / 473.8 MB, free: 8.168 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.00945, allocations: 0 / 473.8 MB, free: 8.168 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.00947, allocations: 0 / 473.8 MB, free: 8.168 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.009547, allocations: 8 kB / 473.8 MB, free: 8.16 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.009558, allocations: 3.938 kB / 473.8 MB, free: 8.156 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.009575, allocations: 3.938 kB / 473.8 MB, free: 8.152 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.009581, allocations: 0 / 473.8 MB, free: 8.152 MB / 442.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 0.0001689/0.00975, allocations: 168.5 kB / 474 MB, free: 7.977 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.009765, allocations: 3.953 kB / 474 MB, free: 7.973 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.009932, allocations: 65.16 kB / 474 MB, free: 7.902 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.009933, allocations: 0 / 474 MB, free: 7.902 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.009938, allocations: 0 / 474 MB, free: 7.902 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.009945, allocations: 3.938 kB / 474 MB, free: 7.898 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.01007, allocations: 108.6 kB / 474.1 MB, free: 7.758 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.01007, allocations: 4 kB / 474.1 MB, free: 7.754 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.01011, allocations: 15.98 kB / 474.2 MB, free: 7.738 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.01011, allocations: 0 / 474.2 MB, free: 7.738 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.01012, allocations: 0 / 474.2 MB, free: 7.738 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01012, allocations: 0 / 474.2 MB, free: 7.738 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01012, allocations: 0 / 474.2 MB, free: 7.738 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.01026, allocations: 96.72 kB / 474.3 MB, free: 7.621 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-06/0.01027, allocations: 4.031 kB / 474.3 MB, free: 7.617 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.01029, allocations: 0 / 474.3 MB, free: 7.617 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.705e-05/0.0103, allocations: 8 kB / 474.3 MB, free: 7.609 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.01034, allocations: 3.984 kB / 474.3 MB, free: 7.605 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.01034, allocations: 0 / 474.3 MB, free: 7.605 MB / 442.8 MB Notification: Performance of sorting global known variables: time 8.755e-05/0.01043, allocations: 127.1 kB / 474.4 MB, free: 7.48 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01043, allocations: 0 / 474.4 MB, free: 7.48 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002343/0.01066, allocations: 15.94 kB / 474.4 MB, free: 7.465 MB / 442.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.0002173/0.01088, allocations: 115.2 kB / 474.5 MB, free: 7.344 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01101, allocations: 35.67 kB / 474.6 MB, free: 7.305 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01101, allocations: 0 / 474.6 MB, free: 7.305 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.01104, allocations: 23.62 kB / 474.6 MB, free: 7.277 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.01118, allocations: 6.016 kB / 474.6 MB, free: 7.273 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.01145, allocations: 98.56 kB / 474.7 MB, free: 7.148 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.348e-05/0.01151, allocations: 59.34 kB / 474.7 MB, free: 7.07 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.812e-05/0.01154, allocations: 8 kB / 474.7 MB, free: 7.062 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.01156, allocations: 8.5 kB / 474.8 MB, free: 7.055 MB / 442.8 MB Notification: Performance of SimCode: time 5.71e-07/0.01156, allocations: 7.938 kB / 474.8 MB, free: 7.047 MB / 442.8 MB Notification: Performance of Templates: time 0.003418/0.01498, allocations: 0.6149 MB / 475.4 MB, free: 6.434 MB / 442.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","/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.730714639998041]