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.008254/0.008254, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.00119/0.00119, allocations: 80.8 kB / 26.19 MB, free: 6.078 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.001297/0.001297, allocations: 175 kB / 30.13 MB, free: 2.184 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.8811/0.8811, allocations: 177.1 MB / 211.1 MB, free: 2.262 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.7229/0.7229, allocations: 102.5 MB / 370.6 MB, free: 0.7812 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.804e-06/1.804e-06, allocations: 0 / 471.2 MB, free: 12.38 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.05e-05, allocations: 2.312 kB / 471.2 MB, free: 12.38 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002349/0.002379, allocations: 1.052 MB / 472.3 MB, free: 11.33 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.004813, allocations: 1.431 MB / 473.7 MB, free: 9.879 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.004857, allocations: 0 / 473.7 MB, free: 9.879 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.00488, allocations: 0 / 473.7 MB, free: 9.879 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.005443, allocations: 107.5 kB / 473.8 MB, free: 9.773 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.579e-06/0.005448, allocations: 0 / 473.8 MB, free: 9.773 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.005498, allocations: 4 kB / 473.8 MB, free: 9.77 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.005559, allocations: 7.984 kB / 473.8 MB, free: 9.762 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.005594, allocations: 7.938 kB / 473.8 MB, free: 9.754 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.00565, allocations: 3.938 kB / 473.8 MB, free: 9.75 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.005661, allocations: 4 kB / 473.8 MB, free: 9.746 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.006108, allocations: 167.7 kB / 474 MB, free: 9.582 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.006118, allocations: 3.938 kB / 474 MB, free: 9.578 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.165e-05/0.006129, allocations: 4 kB / 474 MB, free: 9.574 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.006302, allocations: 119.6 kB / 474.1 MB, free: 9.457 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.006306, allocations: 4 kB / 474.1 MB, free: 9.453 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006307, allocations: 0 / 474.1 MB, free: 9.453 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.006313, allocations: 0 / 474.1 MB, free: 9.453 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.0002593/0.006573, allocations: 372.4 kB / 474.5 MB, free: 9.055 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.006612, allocations: 8.031 kB / 474.5 MB, free: 9.047 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.074e-05/0.006632, allocations: 4.938 kB / 474.5 MB, free: 9.043 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.672e-05/0.006699, allocations: 104.6 kB / 474.6 MB, free: 8.914 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006713, allocations: 4.359 kB / 474.6 MB, free: 8.91 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.006723, allocations: 12.36 kB / 474.6 MB, free: 8.898 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.532e-05/0.006798, allocations: 34.2 kB / 474.6 MB, free: 8.859 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.006806, allocations: 4.188 kB / 474.6 MB, free: 8.855 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.006815, allocations: 4.375 kB / 474.6 MB, free: 8.852 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.006819, allocations: 3.938 kB / 474.7 MB, free: 8.848 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.006835, allocations: 11.98 kB / 474.7 MB, free: 8.836 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.188e-05/0.006927, allocations: 89.27 kB / 474.8 MB, free: 8.723 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.361e-05/0.007011, allocations: 43.09 kB / 474.8 MB, free: 8.668 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.007034, allocations: 19.67 kB / 474.8 MB, free: 8.645 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.007184, allocations: 40.06 kB / 474.9 MB, free: 8.605 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.007206, allocations: 37.33 kB / 474.9 MB, free: 8.559 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.007207, allocations: 0 / 474.9 MB, free: 8.559 MB / 442.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001081/0.007315, allocations: 49.69 kB / 474.9 MB, free: 8.504 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.007348, allocations: 51.41 kB / 475 MB, free: 8.441 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.007394, allocations: 146.2 kB / 475.1 MB, free: 8.285 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.007404, allocations: 25.7 kB / 475.2 MB, free: 8.254 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.007439, allocations: 126.9 kB / 475.3 MB, free: 8.125 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.007473, allocations: 15.84 kB / 475.3 MB, free: 8.109 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.0075, allocations: 23.38 kB / 475.3 MB, free: 8.078 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.007633, allocations: 0.4883 MB / 475.8 MB, free: 7.578 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.007644, allocations: 7.984 kB / 475.8 MB, free: 7.57 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.007655, allocations: 7.938 kB / 475.8 MB, free: 7.562 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.007687, allocations: 19.67 kB / 475.8 MB, free: 7.539 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007689, allocations: 0 / 475.8 MB, free: 7.539 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.964e-05/0.007729, allocations: 45.69 kB / 475.9 MB, free: 7.488 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.007741, allocations: 4 kB / 475.9 MB, free: 7.484 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007746, allocations: 0 / 475.9 MB, free: 7.484 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.007753, allocations: 4 kB / 475.9 MB, free: 7.48 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.281e-05/0.007786, allocations: 4 kB / 475.9 MB, free: 7.477 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-06/0.007787, allocations: 0 / 475.9 MB, free: 7.477 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-06/0.007795, allocations: 11.88 kB / 475.9 MB, free: 7.465 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.0078, allocations: 7.984 kB / 475.9 MB, free: 7.457 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.0002986/0.008099, allocations: 156.5 kB / 476.1 MB, free: 7.293 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.008106, allocations: 11.95 kB / 476.1 MB, free: 7.281 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.008169, allocations: 53.53 kB / 476.1 MB, free: 7.223 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-07/0.00817, allocations: 0 / 476.1 MB, free: 7.223 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.008171, allocations: 0 / 476.1 MB, free: 7.223 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008174, allocations: 0 / 476.1 MB, free: 7.223 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.015e-05/0.008234, allocations: 105.2 kB / 476.2 MB, free: 7.094 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.008235, allocations: 4 kB / 476.2 MB, free: 7.09 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.008247, allocations: 8 kB / 476.2 MB, free: 7.082 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.008248, allocations: 0 / 476.2 MB, free: 7.082 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-06/0.008251, allocations: 0 / 476.2 MB, free: 7.082 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008253, allocations: 3.984 kB / 476.3 MB, free: 7.078 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-07/0.008253, allocations: 0 / 476.3 MB, free: 7.078 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.87e-05/0.008312, allocations: 88.34 kB / 476.3 MB, free: 6.969 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-06/0.008315, allocations: 0 / 476.3 MB, free: 6.969 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-06/0.00832, allocations: 0 / 476.3 MB, free: 6.969 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-06/0.008325, allocations: 8 kB / 476.3 MB, free: 6.961 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.008338, allocations: 3.984 kB / 476.3 MB, free: 6.957 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.00834, allocations: 4 kB / 476.4 MB, free: 6.953 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.008371, allocations: 123.2 kB / 476.5 MB, free: 6.832 MB / 442.8 MB Notification: Performance of sort global known variables: time 4e-08/0.008371, allocations: 0 / 476.5 MB, free: 6.832 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.000141/0.008512, allocations: 19.94 kB / 476.5 MB, free: 6.812 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.0001304/0.008643, allocations: 115.2 kB / 476.6 MB, free: 6.691 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 6.707e-05/0.00871, allocations: 27.61 kB / 476.6 MB, free: 6.66 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008711, allocations: 0 / 476.6 MB, free: 6.66 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.008725, allocations: 19.67 kB / 476.7 MB, free: 6.637 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.018e-05/0.008815, allocations: 3.938 kB / 476.7 MB, free: 6.633 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.008996, allocations: 106.6 kB / 476.8 MB, free: 6.5 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.009026, allocations: 55.34 kB / 476.8 MB, free: 6.426 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.722e-05/0.009044, allocations: 7.938 kB / 476.8 MB, free: 6.418 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.009079, allocations: 70.2 kB / 476.9 MB, free: 6.348 MB / 442.8 MB Notification: Performance of SimCode: time 4.91e-07/0.009079, allocations: 0 / 476.9 MB, free: 6.348 MB / 442.8 MB Notification: Performance of Templates: time 0.002162/0.01124, allocations: 0.6961 MB / 477.6 MB, free: 5.656 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","",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.4359315312467515]