Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.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.01239/0.01239, allocations: 1.785 MB / 22.37 MB, free: 2.113 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.0008138/0.0008138, allocations: 81.92 kB / 26.19 MB, free: 6.09 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.0009125/0.0009125, allocations: 165.5 kB / 30.12 MB, free: 2.195 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.9233/0.9233, allocations: 177.2 MB / 211.1 MB, free: 3.441 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.5979/0.5979, allocations: 102.4 MB / 370.6 MB, free: 220 kB / 330.7 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 471.2 MB, free: 18.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.816e-05, allocations: 5.5 kB / 471.2 MB, free: 18.78 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001999/0.002027, allocations: 1.053 MB / 472.2 MB, free: 18.12 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00043/0.002457, allocations: 195 kB / 472.4 MB, free: 18.01 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.002488, allocations: 0 / 472.4 MB, free: 18.01 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.687e-05/0.002565, allocations: 3.938 kB / 472.4 MB, free: 18.01 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-05/0.002576, allocations: 0 / 472.4 MB, free: 18.01 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.003036, allocations: 86.5 kB / 472.5 MB, free: 17.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.946e-05/0.003085, allocations: 10.89 kB / 472.5 MB, free: 17.97 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.003125, allocations: 4.469 kB / 472.5 MB, free: 17.97 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.793e-05/0.003153, allocations: 2.812 kB / 472.5 MB, free: 17.97 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.779e-05/0.003171, allocations: 0.7188 kB / 472.5 MB, free: 17.97 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.003181, allocations: 0 / 472.5 MB, free: 17.97 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.003364, allocations: 97.97 kB / 472.6 MB, free: 17.95 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.00339, allocations: 0 / 472.6 MB, free: 17.95 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.21e-05/0.003402, allocations: 6.781 kB / 472.6 MB, free: 17.94 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.003537, allocations: 70.17 kB / 472.7 MB, free: 17.92 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.00354, allocations: 0 / 472.7 MB, free: 17.92 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00354, allocations: 0 / 472.7 MB, free: 17.92 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003544, allocations: 0 / 472.7 MB, free: 17.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002395/0.003784, allocations: 356.5 kB / 473.1 MB, free: 17.54 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.00382, allocations: 12.75 kB / 473.1 MB, free: 17.54 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.003854, allocations: 1.281 kB / 473.1 MB, free: 17.54 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.003946, allocations: 115.5 kB / 473.2 MB, free: 17.41 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003956, allocations: 1.5 kB / 473.2 MB, free: 17.41 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-06/0.003962, allocations: 384 / 473.2 MB, free: 17.41 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.811e-05/0.00402, allocations: 32.19 kB / 473.2 MB, free: 17.38 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.004027, allocations: 0.8125 kB / 473.2 MB, free: 17.38 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004034, allocations: 384 / 473.2 MB, free: 17.38 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.004057, allocations: 3.938 kB / 473.2 MB, free: 17.38 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.398e-06/0.004067, allocations: 6.938 kB / 473.2 MB, free: 17.37 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.004176, allocations: 104.5 kB / 473.3 MB, free: 17.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.004241, allocations: 33.42 kB / 473.4 MB, free: 17.21 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-06/0.00425, allocations: 10.19 kB / 473.4 MB, free: 17.2 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-06/0.004254, allocations: 0 / 473.4 MB, free: 17.2 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.004269, allocations: 37.39 kB / 473.4 MB, free: 17.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.00427, allocations: 3.156 kB / 473.4 MB, free: 17.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001066/0.004376, allocations: 45.36 kB / 473.5 MB, free: 17.12 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.004398, allocations: 51.97 kB / 473.5 MB, free: 17.05 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.00444, allocations: 154.8 kB / 473.7 MB, free: 16.89 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.004446, allocations: 25.7 kB / 473.7 MB, free: 16.86 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.697e-05/0.004463, allocations: 134 kB / 473.8 MB, free: 16.73 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.00449, allocations: 9.516 kB / 473.8 MB, free: 16.72 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.004518, allocations: 19.36 kB / 473.8 MB, free: 16.7 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.000431/0.004949, allocations: 499.6 kB / 474.3 MB, free: 32.2 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.004964, allocations: 3.328 kB / 474.3 MB, free: 32.2 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.004972, allocations: 3.719 kB / 474.3 MB, free: 32.2 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.005002, allocations: 15.61 kB / 474.4 MB, free: 32.18 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005004, allocations: 4.094 kB / 474.4 MB, free: 32.18 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.376e-05/0.005068, allocations: 42.31 kB / 474.4 MB, free: 32.14 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.00508, allocations: 5.438 kB / 474.4 MB, free: 32.14 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.005086, allocations: 3.062 kB / 474.4 MB, free: 32.14 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.005096, allocations: 0.875 kB / 474.4 MB, free: 32.14 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.005097, allocations: 0 / 474.4 MB, free: 32.14 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005099, allocations: 0 / 474.4 MB, free: 32.14 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.005114, allocations: 0.9375 kB / 474.4 MB, free: 32.14 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.005123, allocations: 6.594 kB / 474.4 MB, free: 32.14 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.932e-05/0.005192, allocations: 153.4 kB / 474.6 MB, free: 31.98 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.0052, allocations: 6.953 kB / 474.6 MB, free: 31.98 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.005215, allocations: 4.531 kB / 474.6 MB, free: 31.97 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.005228, allocations: 7.406 kB / 474.6 MB, free: 31.97 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.00523, allocations: 0.7812 kB / 474.6 MB, free: 31.97 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005233, allocations: 0 / 474.6 MB, free: 31.97 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.69e-05/0.00531, allocations: 97.77 kB / 474.7 MB, free: 31.85 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.005312, allocations: 3.062 kB / 474.7 MB, free: 31.85 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.005313, allocations: 0 / 474.7 MB, free: 31.85 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005315, allocations: 3.125 kB / 474.7 MB, free: 31.85 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.005319, allocations: 3.188 kB / 474.7 MB, free: 31.85 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.005321, allocations: 4 kB / 474.7 MB, free: 31.85 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005322, allocations: 0 / 474.7 MB, free: 31.85 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.702e-05/0.005389, allocations: 78.86 kB / 474.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.005395, allocations: 3.953 kB / 474.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.005404, allocations: 2.75 kB / 474.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.005411, allocations: 0 / 474.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.005422, allocations: 0 / 474.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005426, allocations: 1.125 kB / 474.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.005471, allocations: 125.2 kB / 474.9 MB, free: 31.64 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.005471, allocations: 5.188 kB / 474.9 MB, free: 31.64 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002615/0.005733, allocations: 19.97 kB / 474.9 MB, free: 31.63 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001583/0.005891, allocations: 120.5 kB / 475 MB, free: 31.54 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.005957, allocations: 13.16 kB / 475.1 MB, free: 31.53 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005958, allocations: 0 / 475.1 MB, free: 31.53 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-06/0.005967, allocations: 15.69 kB / 475.1 MB, free: 31.51 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.006122, allocations: 6.906 kB / 475.1 MB, free: 31.51 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.006282, allocations: 98.7 kB / 475.2 MB, free: 31.4 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.141e-05/0.006303, allocations: 57.56 kB / 475.2 MB, free: 31.33 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.013e-05/0.006323, allocations: 2.906 kB / 475.2 MB, free: 31.33 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.006357, allocations: 68.08 kB / 475.3 MB, free: 31.26 MB / 426.8 MB Notification: Performance of SimCode: time 5.82e-07/0.006357, allocations: 0 / 475.3 MB, free: 31.26 MB / 426.8 MB Notification: Performance of Templates: time 0.002966/0.009323, allocations: 0.7295 MB / 476 MB, free: 31.22 MB / 426.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","",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.TestGenerateGrid_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _derdummy from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _dummy in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _dummy from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4541556341573596]