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.008197/0.008197, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0008799/0.0008799, allocations: 83.78 kB / 25.4 MB, free: 7 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.0009446/0.0009446, allocations: 162.2 kB / 29.33 MB, free: 3.137 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.912/0.912, allocations: 177.1 MB / 210.3 MB, free: 3.453 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.6096/0.6096, allocations: 102.4 MB / 369.8 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.493e-06/1.493e-06, allocations: 0 / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.625e-05, allocations: 7.375 kB / 470.4 MB, free: 18.85 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001568/0.001584, allocations: 1.052 MB / 471.5 MB, free: 18.2 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004095/0.001993, allocations: 195.9 kB / 471.6 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.002023, allocations: 0 / 471.6 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.54e-05/0.002088, allocations: 0 / 471.6 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.426e-06/0.002096, allocations: 3.125 kB / 471.6 MB, free: 18.08 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.002471, allocations: 82.33 kB / 471.7 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 3.527e-05/0.002506, allocations: 13.48 kB / 471.7 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.002539, allocations: 0 / 471.7 MB, free: 18.05 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.002565, allocations: 7.922 kB / 471.7 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.272e-05/0.002578, allocations: 0 / 471.7 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.002587, allocations: 0 / 471.7 MB, free: 18.04 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.002742, allocations: 91.88 kB / 471.8 MB, free: 18.02 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.002762, allocations: 6.375 kB / 471.8 MB, free: 18.02 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-06/0.002772, allocations: 0.5625 kB / 471.8 MB, free: 18.02 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.002892, allocations: 79.34 kB / 471.9 MB, free: 17.99 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002894, allocations: 0 / 471.9 MB, free: 17.99 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002894, allocations: 2.938 kB / 471.9 MB, free: 17.99 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.002897, allocations: 0.5312 kB / 471.9 MB, free: 17.99 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.0001953/0.003092, allocations: 345.2 kB / 472.3 MB, free: 17.62 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.003129, allocations: 8.781 kB / 472.3 MB, free: 17.62 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.003154, allocations: 6.562 kB / 472.3 MB, free: 17.62 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.003229, allocations: 117.7 kB / 472.4 MB, free: 17.48 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.003237, allocations: 384 / 472.4 MB, free: 17.48 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.003243, allocations: 5.062 kB / 472.4 MB, free: 17.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.386e-05/0.003297, allocations: 26.27 kB / 472.4 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.003303, allocations: 1.031 kB / 472.4 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.003309, allocations: 3.75 kB / 472.4 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.003333, allocations: 4.875 kB / 472.4 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-06/0.003342, allocations: 7.875 kB / 472.4 MB, free: 17.45 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.116e-05/0.003433, allocations: 105.6 kB / 472.5 MB, free: 17.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.003482, allocations: 35.67 kB / 472.6 MB, free: 17.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-06/0.00349, allocations: 9.594 kB / 472.6 MB, free: 17.28 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-06/0.003493, allocations: 0 / 472.6 MB, free: 17.28 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.003508, allocations: 36.27 kB / 472.6 MB, free: 17.23 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.003508, allocations: 0 / 472.6 MB, free: 17.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 8.842e-05/0.003597, allocations: 41.67 kB / 472.7 MB, free: 17.2 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.424e-05/0.003611, allocations: 53.66 kB / 472.7 MB, free: 17.14 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.741e-05/0.003648, allocations: 160.7 kB / 472.9 MB, free: 16.96 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.003653, allocations: 25.7 kB / 472.9 MB, free: 16.93 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.626e-05/0.003669, allocations: 129.8 kB / 473 MB, free: 16.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.00369, allocations: 11.28 kB / 473 MB, free: 16.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.003713, allocations: 19.66 kB / 473.1 MB, free: 16.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.003977, allocations: 0.4912 MB / 473.5 MB, free: 32.27 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-06/0.003985, allocations: 0 / 473.5 MB, free: 32.27 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.003992, allocations: 2.906 kB / 473.5 MB, free: 32.27 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.15e-05/0.004013, allocations: 15.27 kB / 473.6 MB, free: 32.26 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.004015, allocations: 0 / 473.6 MB, free: 32.26 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.931e-05/0.004065, allocations: 42.41 kB / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.004075, allocations: 7.062 kB / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.004079, allocations: 0 / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.004091, allocations: 0 / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-06/0.004095, allocations: 4.516 kB / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.004097, allocations: 2.969 kB / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.004108, allocations: 0 / 473.6 MB, free: 32.22 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.004114, allocations: 5.188 kB / 473.6 MB, free: 32.22 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.861e-05/0.004173, allocations: 155.5 kB / 473.8 MB, free: 32.06 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.004179, allocations: 0 / 473.8 MB, free: 32.06 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.004195, allocations: 6.312 kB / 473.8 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.004204, allocations: 2.875 kB / 473.8 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.004206, allocations: 0 / 473.8 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.004211, allocations: 0 / 473.8 MB, free: 32.05 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.079e-05/0.004282, allocations: 106.3 kB / 473.9 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.004284, allocations: 0 / 473.9 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.004285, allocations: 7.188 kB / 473.9 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004286, allocations: 2.062 kB / 473.9 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.004289, allocations: 0 / 473.9 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.00429, allocations: 2.906 kB / 473.9 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004291, allocations: 0 / 473.9 MB, free: 31.93 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.741e-05/0.004348, allocations: 80.38 kB / 474 MB, free: 31.84 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.004354, allocations: 2.938 kB / 474 MB, free: 31.84 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.004361, allocations: 5.953 kB / 474 MB, free: 31.84 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-06/0.004368, allocations: 0 / 474 MB, free: 31.84 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.004376, allocations: 0 / 474 MB, free: 31.84 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.004379, allocations: 6.75 kB / 474 MB, free: 31.83 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.004417, allocations: 119.2 kB / 474.1 MB, free: 31.71 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.004417, allocations: 0 / 474.1 MB, free: 31.71 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002079/0.004625, allocations: 20.78 kB / 474.1 MB, free: 31.71 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.0001373/0.004762, allocations: 117.7 kB / 474.2 MB, free: 31.62 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.379e-05/0.004816, allocations: 24.88 kB / 474.3 MB, free: 31.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.004817, allocations: 0 / 474.3 MB, free: 31.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-06/0.004825, allocations: 10.84 kB / 474.3 MB, free: 31.59 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.004958, allocations: 9.328 kB / 474.3 MB, free: 31.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001272/0.005085, allocations: 93.27 kB / 474.4 MB, free: 31.48 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.328e-05/0.005109, allocations: 58.02 kB / 474.4 MB, free: 31.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.264e-05/0.005131, allocations: 1.094 kB / 474.4 MB, free: 31.41 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.005166, allocations: 69.05 kB / 474.5 MB, free: 31.34 MB / 426.8 MB Notification: Performance of SimCode: time 8.01e-07/0.005167, allocations: 0.5 kB / 474.5 MB, free: 31.34 MB / 426.8 MB Notification: Performance of Templates: time 0.00246/0.007627, allocations: 0.7316 MB / 475.2 MB, free: 31.3 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.4072485198266804]