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.01952/0.01952, allocations: 1.458 MB / 20.81 MB, free: 3.617 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.00968/0.00968, allocations: 75.31 kB / 24.44 MB, free: 7.539 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.002293/0.002293, allocations: 157.2 kB / 28.2 MB, free: 4.68 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.47/1.47, allocations: 177.1 MB / 209 MB, free: 2.816 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.06/1.06, allocations: 102.5 MB / 368.3 MB, free: 1.312 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.573e-06/1.573e-06, allocations: 0 / 468.3 MB, free: 13.55 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.537e-05, allocations: 2.312 kB / 468.3 MB, free: 13.55 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002196/0.002231, allocations: 1.021 MB / 469.3 MB, free: 12.53 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.004531, allocations: 1.396 MB / 470.7 MB, free: 11.11 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.004567, allocations: 4 kB / 470.7 MB, free: 11.11 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.004581, allocations: 0 / 470.7 MB, free: 11.11 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005145/0.005095, allocations: 103.5 kB / 470.8 MB, free: 11.01 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.005099, allocations: 0 / 470.8 MB, free: 11.01 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.005149, allocations: 11.98 kB / 470.8 MB, free: 11 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.005187, allocations: 0 / 470.8 MB, free: 11 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.005215, allocations: 4 kB / 470.8 MB, free: 10.99 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.005267, allocations: 11.92 kB / 470.8 MB, free: 10.98 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.005274, allocations: 0 / 470.8 MB, free: 10.98 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.005693, allocations: 171.7 kB / 471 MB, free: 10.81 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.0057, allocations: 0 / 471 MB, free: 10.81 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.005719, allocations: 7.938 kB / 471 MB, free: 10.8 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005943, allocations: 111.7 kB / 471.1 MB, free: 10.7 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.005947, allocations: 0 / 471.1 MB, free: 10.7 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005948, allocations: 4 kB / 471.1 MB, free: 10.69 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005952, allocations: 0 / 471.1 MB, free: 10.69 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.0003432/0.006295, allocations: 266.1 kB / 471.4 MB, free: 10.4 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.006341, allocations: 12.03 kB / 471.4 MB, free: 10.39 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.006392, allocations: 0.9375 kB / 471.4 MB, free: 10.39 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.00662, allocations: 113.7 kB / 471.5 MB, free: 10.25 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.006637, allocations: 4.375 kB / 471.5 MB, free: 10.25 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.006647, allocations: 384 / 471.5 MB, free: 10.25 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.006777, allocations: 38.25 kB / 471.5 MB, free: 10.21 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.006785, allocations: 4.188 kB / 471.5 MB, free: 10.2 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.006794, allocations: 384 / 471.5 MB, free: 10.2 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.006804, allocations: 11.92 kB / 471.6 MB, free: 10.19 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.815e-05/0.006862, allocations: 15.98 kB / 471.6 MB, free: 10.18 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.007031, allocations: 101.3 kB / 471.7 MB, free: 10.05 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.00715, allocations: 38.55 kB / 471.7 MB, free: 10 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.007187, allocations: 12.86 kB / 471.7 MB, free: 9.984 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.007482, allocations: 36.06 kB / 471.8 MB, free: 9.949 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.007518, allocations: 30.56 kB / 471.8 MB, free: 9.91 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.007519, allocations: 0 / 471.8 MB, free: 9.91 MB / 442.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002122/0.007731, allocations: 61.69 kB / 471.8 MB, free: 9.844 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.00779, allocations: 59.28 kB / 471.9 MB, free: 9.773 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.007852, allocations: 89.86 kB / 472 MB, free: 9.676 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.007871, allocations: 25.7 kB / 472 MB, free: 9.645 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.00792, allocations: 80.14 kB / 472.1 MB, free: 9.562 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.007962, allocations: 19.89 kB / 472.1 MB, free: 9.543 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.007998, allocations: 13.72 kB / 472.1 MB, free: 9.523 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.008168, allocations: 314.8 kB / 472.4 MB, free: 9.207 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.008186, allocations: 4 kB / 472.4 MB, free: 9.203 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.008206, allocations: 11.98 kB / 472.4 MB, free: 9.191 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.356e-05/0.008259, allocations: 20.86 kB / 472.5 MB, free: 9.168 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008261, allocations: 4 kB / 472.5 MB, free: 9.164 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.777e-05/0.008359, allocations: 53.62 kB / 472.5 MB, free: 9.105 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.008376, allocations: 8 kB / 472.5 MB, free: 9.098 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.008381, allocations: 0 / 472.5 MB, free: 9.098 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.008399, allocations: 0 / 472.5 MB, free: 9.098 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.008462, allocations: 4 kB / 472.5 MB, free: 9.094 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.00847, allocations: 3.938 kB / 472.5 MB, free: 9.09 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.00849, allocations: 7.938 kB / 472.5 MB, free: 9.082 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008496, allocations: 7.922 kB / 472.6 MB, free: 9.074 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 8.644e-05/0.008583, allocations: 109.8 kB / 472.7 MB, free: 8.957 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.008601, allocations: 15.95 kB / 472.7 MB, free: 8.941 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.008733, allocations: 57.22 kB / 472.7 MB, free: 8.879 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008734, allocations: 0 / 472.7 MB, free: 8.879 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.00874, allocations: 384 / 472.7 MB, free: 8.879 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.008745, allocations: 3.938 kB / 472.7 MB, free: 8.875 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.008846, allocations: 105.3 kB / 472.8 MB, free: 8.742 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008847, allocations: 0 / 472.8 MB, free: 8.742 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.008876, allocations: 7.984 kB / 472.9 MB, free: 8.734 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.008882, allocations: 7.984 kB / 472.9 MB, free: 8.727 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.008888, allocations: 0 / 472.9 MB, free: 8.727 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008889, allocations: 4 kB / 472.9 MB, free: 8.723 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.008889, allocations: 0 / 472.9 MB, free: 8.723 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.009001, allocations: 77.06 kB / 472.9 MB, free: 8.629 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-06/0.009008, allocations: 4 kB / 472.9 MB, free: 8.625 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.00902, allocations: 4 kB / 472.9 MB, free: 8.621 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.009031, allocations: 0 / 472.9 MB, free: 8.621 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.009049, allocations: 3.984 kB / 472.9 MB, free: 8.617 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.009053, allocations: 4 kB / 473 MB, free: 8.613 MB / 442.8 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.009101, allocations: 83.22 kB / 473 MB, free: 8.531 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/0.009101, allocations: 3.938 kB / 473 MB, free: 8.527 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002294/0.009331, allocations: 19.94 kB / 473.1 MB, free: 8.508 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.0002024/0.009533, allocations: 119.2 kB / 473.2 MB, free: 8.383 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.009628, allocations: 19.98 kB / 473.2 MB, free: 8.363 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009629, allocations: 0 / 473.2 MB, free: 8.363 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.009649, allocations: 8 kB / 473.2 MB, free: 8.355 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.0098, allocations: 4 kB / 473.2 MB, free: 8.352 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.01008, allocations: 104.8 kB / 473.3 MB, free: 8.223 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.514e-05/0.01016, allocations: 59.34 kB / 473.4 MB, free: 8.145 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 3.007e-05/0.01019, allocations: 8 kB / 473.4 MB, free: 8.137 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.01022, allocations: 16.44 kB / 473.4 MB, free: 8.121 MB / 442.8 MB Notification: Performance of SimCode: time 3.41e-07/0.01022, allocations: 0 / 473.4 MB, free: 8.121 MB / 442.8 MB Notification: Performance of Templates: time 0.003429/0.01365, allocations: 0.6099 MB / 474 MB, free: 7.512 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=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.653002185979858]