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.0082/0.0082, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0008336/0.0008336, allocations: 86.66 kB / 25.15 MB, free: 6.316 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.001335/0.001335, allocations: 168 kB / 29.06 MB, free: 3.348 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.9313/0.9313, allocations: 177.1 MB / 210 MB, free: 3.605 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.5941/0.5941, allocations: 102.5 MB / 369.5 MB, free: 396 kB / 330.7 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.764e-06/1.764e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.432e-05, allocations: 4.172 kB / 469.9 MB, free: 18.97 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001474/0.001498, allocations: 1.05 MB / 471 MB, free: 18.33 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.003142, allocations: 1.439 MB / 472.4 MB, free: 17.34 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.003169, allocations: 2.781 kB / 472.4 MB, free: 17.34 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.003188, allocations: 0 / 472.4 MB, free: 17.34 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.003599, allocations: 108.1 kB / 472.5 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.003602, allocations: 0 / 472.5 MB, free: 17.29 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.641e-05/0.003649, allocations: 10.27 kB / 472.5 MB, free: 17.28 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.00369, allocations: 0 / 472.5 MB, free: 17.28 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.003716, allocations: 2.938 kB / 472.5 MB, free: 17.28 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.003756, allocations: 9 kB / 472.5 MB, free: 17.28 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.003763, allocations: 0 / 472.5 MB, free: 17.28 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.004079, allocations: 172.4 kB / 472.7 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.004089, allocations: 3.938 kB / 472.7 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.004105, allocations: 4.344 kB / 472.7 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.004261, allocations: 109.9 kB / 472.8 MB, free: 17.2 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004264, allocations: 0 / 472.8 MB, free: 17.2 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004265, allocations: 0 / 472.8 MB, free: 17.2 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.00427, allocations: 1 kB / 472.8 MB, free: 17.2 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.0002817/0.004551, allocations: 371.7 kB / 473.2 MB, free: 16.81 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.004603, allocations: 11.91 kB / 473.2 MB, free: 16.81 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.004649, allocations: 3.562 kB / 473.2 MB, free: 16.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.303e-05/0.004702, allocations: 111.4 kB / 473.3 MB, free: 16.68 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.004717, allocations: 4.375 kB / 473.3 MB, free: 16.68 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004728, allocations: 7.188 kB / 473.3 MB, free: 16.67 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.004823, allocations: 33.5 kB / 473.4 MB, free: 16.64 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004831, allocations: 3.031 kB / 473.4 MB, free: 16.64 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.00484, allocations: 384 / 473.4 MB, free: 16.64 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.004848, allocations: 4.5 kB / 473.4 MB, free: 16.64 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.406e-05/0.004882, allocations: 13.72 kB / 473.4 MB, free: 16.63 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.004984, allocations: 107.5 kB / 473.5 MB, free: 16.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.005066, allocations: 44.88 kB / 473.5 MB, free: 16.46 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.005093, allocations: 22.95 kB / 473.6 MB, free: 16.44 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.005302, allocations: 35.44 kB / 473.6 MB, free: 16.44 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.005325, allocations: 37.39 kB / 473.6 MB, free: 16.39 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.005326, allocations: 0.875 kB / 473.6 MB, free: 16.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001401/0.005466, allocations: 53.64 kB / 473.7 MB, free: 16.36 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.00549, allocations: 58.34 kB / 473.7 MB, free: 16.29 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.03e-05/0.005511, allocations: 143 kB / 473.9 MB, free: 16.14 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.005517, allocations: 29.03 kB / 473.9 MB, free: 16.11 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.005828, allocations: 127.8 kB / 474 MB, free: 31.98 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.005862, allocations: 10.34 kB / 474 MB, free: 31.97 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.005887, allocations: 24.38 kB / 474.1 MB, free: 31.94 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.006002, allocations: 492.1 kB / 474.5 MB, free: 31.45 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.006018, allocations: 13.14 kB / 474.6 MB, free: 31.45 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.006029, allocations: 7 kB / 474.6 MB, free: 31.44 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/0.006067, allocations: 20.25 kB / 474.6 MB, free: 31.43 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.006069, allocations: 2.219 kB / 474.6 MB, free: 31.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.545e-05/0.006125, allocations: 53.53 kB / 474.6 MB, free: 31.39 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.006138, allocations: 6.922 kB / 474.6 MB, free: 31.39 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.006143, allocations: 0 / 474.6 MB, free: 31.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.006159, allocations: 0 / 474.6 MB, free: 31.39 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.006221, allocations: 9.469 kB / 474.7 MB, free: 31.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.006229, allocations: 13.23 kB / 474.7 MB, free: 31.37 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-06/0.006238, allocations: 2.625 kB / 474.7 MB, free: 31.37 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006243, allocations: 0 / 474.7 MB, free: 31.37 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 6.971e-05/0.006313, allocations: 160.4 kB / 474.8 MB, free: 31.21 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-06/0.006318, allocations: 2.625 kB / 474.8 MB, free: 31.21 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.63e-05/0.006414, allocations: 56.83 kB / 474.9 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006416, allocations: 1.219 kB / 474.9 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.00642, allocations: 0 / 474.9 MB, free: 31.16 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.006424, allocations: 6.562 kB / 474.9 MB, free: 31.15 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.005e-05/0.006474, allocations: 119.7 kB / 475 MB, free: 31.01 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.006476, allocations: 0 / 475 MB, free: 31.01 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.006492, allocations: 5.25 kB / 475 MB, free: 31.01 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006494, allocations: 1.219 kB / 475 MB, free: 31.01 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.0065, allocations: 6.562 kB / 475 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006501, allocations: 0 / 475 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006502, allocations: 0 / 475 MB, free: 31 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.056e-05/0.006562, allocations: 92.12 kB / 475.1 MB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.006568, allocations: 10.58 kB / 475.1 MB, free: 30.91 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.006577, allocations: 0 / 475.1 MB, free: 30.91 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-06/0.006582, allocations: 4 kB / 475.1 MB, free: 30.91 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.006598, allocations: 2.625 kB / 475.1 MB, free: 30.91 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006601, allocations: 3.375 kB / 475.1 MB, free: 30.91 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.403e-05/0.006635, allocations: 125.8 kB / 475.3 MB, free: 30.79 MB / 426.8 MB Notification: Performance of sort global known variables: time 4e-08/0.006635, allocations: 2.031 kB / 475.3 MB, free: 30.79 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001477/0.006782, allocations: 14.44 kB / 475.3 MB, free: 30.78 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.0001558/0.006938, allocations: 110 kB / 475.4 MB, free: 30.69 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.007046, allocations: 31.98 kB / 475.4 MB, free: 30.67 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.007048, allocations: 2.625 kB / 475.4 MB, free: 30.67 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.007067, allocations: 18.84 kB / 475.4 MB, free: 30.66 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.00721, allocations: 4 kB / 475.4 MB, free: 30.66 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.007437, allocations: 101.9 kB / 475.5 MB, free: 30.55 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.424e-05/0.007461, allocations: 57.92 kB / 475.6 MB, free: 30.47 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.411e-05/0.007485, allocations: 3.703 kB / 475.6 MB, free: 30.47 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.007503, allocations: 13.41 kB / 475.6 MB, free: 30.46 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.007503, allocations: 3.938 kB / 475.6 MB, free: 30.46 MB / 426.8 MB Notification: Performance of Templates: time 0.002253/0.009756, allocations: 0.671 MB / 476.3 MB, free: 30.4 MB / 426.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","",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: 3.6277422863058746]