Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01273/0.01273, allocations: 1.794 MB / 21.35 MB, free: 3.195 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.001112/0.001112, allocations: 80.03 kB / 25.15 MB, free: 6.93 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.001281/0.001281, allocations: 162.5 kB / 29.06 MB, free: 3.52 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.9633/0.9633, allocations: 177.2 MB / 210 MB, free: 3.555 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.6616/0.6616, allocations: 102.5 MB / 369.5 MB, free: 352 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.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.[0-9,]+.",fileNamePrefix="ClaRa_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_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 469.9 MB, free: 19.06 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.03e-05, allocations: 2.312 kB / 469.9 MB, free: 19.05 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.00143/0.00146, allocations: 1.047 MB / 471 MB, free: 18.41 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003838/0.001844, allocations: 204.3 kB / 471.2 MB, free: 18.29 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.001871, allocations: 1.312 kB / 471.2 MB, free: 18.29 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.389e-05/0.001935, allocations: 0 / 471.2 MB, free: 18.29 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.276e-06/0.001944, allocations: 0 / 471.2 MB, free: 18.29 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.002309, allocations: 85.94 kB / 471.3 MB, free: 18.26 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.002355, allocations: 6.375 kB / 471.3 MB, free: 18.26 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.002389, allocations: 0.875 kB / 471.3 MB, free: 18.26 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.002418, allocations: 6.875 kB / 471.3 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.899e-05/0.002437, allocations: 3.984 kB / 471.3 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.002448, allocations: 1.406 kB / 471.3 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.002593, allocations: 97.12 kB / 471.4 MB, free: 18.23 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.002622, allocations: 0 / 471.4 MB, free: 18.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.002638, allocations: 3.062 kB / 471.4 MB, free: 18.23 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.002763, allocations: 74.08 kB / 471.5 MB, free: 18.2 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002765, allocations: 0 / 471.5 MB, free: 18.2 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.002766, allocations: 0.9062 kB / 471.5 MB, free: 18.2 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.002772, allocations: 0 / 471.5 MB, free: 18.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000258/0.00303, allocations: 351.8 kB / 471.8 MB, free: 17.83 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.003068, allocations: 11.41 kB / 471.8 MB, free: 17.83 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.003104, allocations: 1.453 kB / 471.8 MB, free: 17.83 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.003199, allocations: 120.8 kB / 471.9 MB, free: 17.69 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.003209, allocations: 384 / 471.9 MB, free: 17.69 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.003218, allocations: 384 / 471.9 MB, free: 17.69 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.003299, allocations: 32.45 kB / 472 MB, free: 17.66 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.003306, allocations: 2.094 kB / 472 MB, free: 17.66 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.003315, allocations: 384 / 472 MB, free: 17.66 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.003342, allocations: 3.219 kB / 472 MB, free: 17.66 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.159e-05/0.003354, allocations: 10.81 kB / 472 MB, free: 17.65 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.003464, allocations: 115.8 kB / 472.1 MB, free: 17.51 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.737e-05/0.003532, allocations: 40.41 kB / 472.1 MB, free: 17.47 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.003545, allocations: 11.92 kB / 472.1 MB, free: 17.46 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-06/0.003549, allocations: 0 / 472.1 MB, free: 17.46 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.003566, allocations: 34.14 kB / 472.2 MB, free: 17.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.003567, allocations: 0 / 472.2 MB, free: 17.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001242/0.003692, allocations: 49.06 kB / 472.2 MB, free: 17.38 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.003713, allocations: 51.41 kB / 472.3 MB, free: 17.31 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.825e-05/0.003761, allocations: 161.4 kB / 472.4 MB, free: 17.14 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.53e-06/0.003767, allocations: 26.67 kB / 472.5 MB, free: 17.11 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.582e-05/0.003783, allocations: 129.6 kB / 472.6 MB, free: 16.98 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.003808, allocations: 7.281 kB / 472.6 MB, free: 16.98 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.00383, allocations: 18.66 kB / 472.6 MB, free: 16.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004346/0.004264, allocations: 0.4892 MB / 473.1 MB, free: 32.46 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.00428, allocations: 0 / 473.1 MB, free: 32.46 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-06/0.004288, allocations: 2.719 kB / 473.1 MB, free: 32.46 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.004316, allocations: 22.52 kB / 473.1 MB, free: 32.44 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004318, allocations: 0 / 473.1 MB, free: 32.44 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.234e-05/0.00437, allocations: 42.17 kB / 473.2 MB, free: 32.41 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.004384, allocations: 8.875 kB / 473.2 MB, free: 32.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.00439, allocations: 0 / 473.2 MB, free: 32.41 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.004407, allocations: 0.5 kB / 473.2 MB, free: 32.41 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-06/0.004411, allocations: 4.438 kB / 473.2 MB, free: 32.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.004416, allocations: 0.8438 kB / 473.2 MB, free: 32.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.004426, allocations: 7.625 kB / 473.2 MB, free: 32.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.004436, allocations: 0.8438 kB / 473.2 MB, free: 32.4 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 5.794e-05/0.004493, allocations: 152.6 kB / 473.3 MB, free: 32.24 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-06/0.004498, allocations: 8.469 kB / 473.3 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.004518, allocations: 3.688 kB / 473.4 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.004527, allocations: 4.359 kB / 473.4 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.00453, allocations: 0 / 473.4 MB, free: 32.23 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.004533, allocations: 3.938 kB / 473.4 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.791e-05/0.004591, allocations: 111.1 kB / 473.5 MB, free: 32.09 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004591, allocations: 0 / 473.5 MB, free: 32.09 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/0.004593, allocations: 6.781 kB / 473.5 MB, free: 32.09 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.004595, allocations: 0 / 473.5 MB, free: 32.09 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.0046, allocations: 0.8438 kB / 473.5 MB, free: 32.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.004601, allocations: 3.938 kB / 473.5 MB, free: 32.08 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004602, allocations: 1.844 kB / 473.5 MB, free: 32.08 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.343e-05/0.004665, allocations: 76.61 kB / 473.6 MB, free: 32 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.004672, allocations: 6.719 kB / 473.6 MB, free: 32 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.004681, allocations: 0 / 473.6 MB, free: 32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.004686, allocations: 3.984 kB / 473.6 MB, free: 31.99 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.004699, allocations: 2.406 kB / 473.6 MB, free: 31.99 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.004702, allocations: 6.844 kB / 473.6 MB, free: 31.99 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.00474, allocations: 122.7 kB / 473.7 MB, free: 31.87 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.00474, allocations: 0 / 473.7 MB, free: 31.87 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001744/0.004914, allocations: 25.28 kB / 473.7 MB, free: 31.86 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.0001804/0.005095, allocations: 112.7 kB / 473.8 MB, free: 31.78 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 9.494e-05/0.005189, allocations: 17.34 kB / 473.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.005192, allocations: 1.25 kB / 473.8 MB, free: 31.76 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 9.158e-06/0.005201, allocations: 14.62 kB / 473.9 MB, free: 31.75 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.005325, allocations: 2.812 kB / 473.9 MB, free: 31.75 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.005515, allocations: 95.25 kB / 474 MB, free: 31.64 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.553e-05/0.005541, allocations: 58.28 kB / 474 MB, free: 31.57 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.827e-05/0.005559, allocations: 0 / 474 MB, free: 31.57 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.005578, allocations: 17.47 kB / 474 MB, free: 31.55 MB / 426.8 MB Notification: Performance of SimCode: time 8.92e-07/0.005579, allocations: 0 / 474 MB, free: 31.55 MB / 426.8 MB Notification: Performance of Templates: time 0.002527/0.008105, allocations: 0.6433 MB / 474.7 MB, free: 31.52 MB / 426.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7699671369045973]