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.00838/0.00838, allocations: 1.795 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.0007143/0.0007143, allocations: 87.83 kB / 25.15 MB, free: 7.469 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.0008402/0.0008402, allocations: 159.5 kB / 29.06 MB, free: 3.664 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.9956/0.9956, allocations: 177.2 MB / 210 MB, free: 3.598 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.6086/0.6086, allocations: 102.4 MB / 369.5 MB, free: 328 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.392e-06/1.392e-06, allocations: 0 / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.622e-05, allocations: 2.312 kB / 469.9 MB, free: 19.01 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001085/0.001101, allocations: 1.058 MB / 471 MB, free: 18.36 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.001448, allocations: 199 kB / 471.2 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.001473, allocations: 1.219 kB / 471.2 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.212e-05/0.001556, allocations: 0 / 471.2 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 9.588e-06/0.001565, allocations: 0 / 471.2 MB, free: 18.25 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.001963, allocations: 83.7 kB / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.332e-05/0.002006, allocations: 2.906 kB / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.252e-05/0.002039, allocations: 6.125 kB / 471.3 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.752e-05/0.002066, allocations: 6.297 kB / 471.3 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.516e-05/0.002081, allocations: 0 / 471.3 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.002091, allocations: 0 / 471.3 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.002233, allocations: 101.1 kB / 471.4 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.002259, allocations: 0 / 471.4 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.002275, allocations: 4.25 kB / 471.4 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.002387, allocations: 70.77 kB / 471.4 MB, free: 18.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002389, allocations: 0 / 471.4 MB, free: 18.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00239, allocations: 6.062 kB / 471.4 MB, free: 18.15 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.002393, allocations: 0 / 471.4 MB, free: 18.15 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.0002146/0.002608, allocations: 344.3 kB / 471.8 MB, free: 17.79 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.002642, allocations: 11.5 kB / 471.8 MB, free: 17.79 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.002672, allocations: 1.281 kB / 471.8 MB, free: 17.79 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.349e-05/0.002755, allocations: 119.4 kB / 471.9 MB, free: 17.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.002763, allocations: 1.25 kB / 471.9 MB, free: 17.65 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.002773, allocations: 3.844 kB / 471.9 MB, free: 17.65 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.22e-05/0.002845, allocations: 34.45 kB / 471.9 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.002853, allocations: 192 / 471.9 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.002861, allocations: 3 kB / 471.9 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.002885, allocations: 3.344 kB / 471.9 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.109e-05/0.002896, allocations: 6.625 kB / 472 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.003001, allocations: 117.7 kB / 472.1 MB, free: 17.47 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/0.003062, allocations: 35.47 kB / 472.1 MB, free: 17.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.068e-05/0.003073, allocations: 7.688 kB / 472.1 MB, free: 17.42 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-06/0.003078, allocations: 7.312 kB / 472.1 MB, free: 17.41 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.003093, allocations: 33.39 kB / 472.1 MB, free: 17.37 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.003094, allocations: 1.406 kB / 472.2 MB, free: 17.37 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001154/0.003209, allocations: 42.42 kB / 472.2 MB, free: 17.34 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.003228, allocations: 51.41 kB / 472.2 MB, free: 17.28 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.003274, allocations: 162.2 kB / 472.4 MB, free: 17.11 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.00328, allocations: 29.7 kB / 472.4 MB, free: 17.07 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.003293, allocations: 126.9 kB / 472.6 MB, free: 16.95 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.003317, allocations: 11.88 kB / 472.6 MB, free: 16.94 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.003336, allocations: 17.75 kB / 472.6 MB, free: 16.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003011/0.003637, allocations: 499.5 kB / 473.1 MB, free: 32.42 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.003651, allocations: 2.594 kB / 473.1 MB, free: 32.42 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.003658, allocations: 11.56 kB / 473.1 MB, free: 32.41 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/0.003681, allocations: 12.09 kB / 473.1 MB, free: 32.4 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.003683, allocations: 0 / 473.1 MB, free: 32.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.032e-05/0.003723, allocations: 47.03 kB / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.003734, allocations: 7.594 kB / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.00374, allocations: 0 / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.003755, allocations: 1.188 kB / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-06/0.003759, allocations: 0 / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.003764, allocations: 0 / 473.1 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.003773, allocations: 3.938 kB / 473.2 MB, free: 32.36 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.003781, allocations: 6.062 kB / 473.2 MB, free: 32.36 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.422e-05/0.003835, allocations: 156.5 kB / 473.3 MB, free: 32.19 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-06/0.003839, allocations: 5.953 kB / 473.3 MB, free: 32.19 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.003856, allocations: 3.688 kB / 473.3 MB, free: 32.18 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.003864, allocations: 2.531 kB / 473.3 MB, free: 32.18 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.003867, allocations: 0 / 473.3 MB, free: 32.18 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.003869, allocations: 3.938 kB / 473.3 MB, free: 32.18 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.32e-05/0.003913, allocations: 119 kB / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003913, allocations: 0.8125 kB / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.003914, allocations: 0 / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.92e-07/0.003914, allocations: 0 / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.00392, allocations: 2.766 kB / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.003921, allocations: 0 / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003921, allocations: 2.156 kB / 473.4 MB, free: 32.04 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.297e-05/0.003964, allocations: 74.92 kB / 473.5 MB, free: 31.96 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.00397, allocations: 6.422 kB / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-06/0.003977, allocations: 0 / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.837e-06/0.003981, allocations: 0 / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.003994, allocations: 5.875 kB / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.003996, allocations: 4.594 kB / 473.5 MB, free: 31.95 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.296e-05/0.004028, allocations: 128.2 kB / 473.7 MB, free: 31.83 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004029, allocations: 0 / 473.7 MB, free: 31.83 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001399/0.004168, allocations: 23.19 kB / 473.7 MB, free: 31.82 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.0001226/0.004291, allocations: 115.3 kB / 473.8 MB, free: 31.73 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 6.211e-05/0.004353, allocations: 12.69 kB / 473.8 MB, free: 31.72 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004355, allocations: 2.969 kB / 473.8 MB, free: 31.72 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/0.004361, allocations: 15.03 kB / 473.8 MB, free: 31.71 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.004468, allocations: 5.891 kB / 473.8 MB, free: 31.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001631/0.004631, allocations: 96.22 kB / 473.9 MB, free: 31.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.147e-05/0.004652, allocations: 54.02 kB / 474 MB, free: 31.53 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.793e-05/0.00467, allocations: 7.906 kB / 474 MB, free: 31.52 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.004686, allocations: 8.5 kB / 474 MB, free: 31.51 MB / 426.8 MB Notification: Performance of SimCode: time 4.4e-07/0.004687, allocations: 3.938 kB / 474 MB, free: 31.51 MB / 426.8 MB Notification: Performance of Templates: time 0.00207/0.006757, allocations: 0.6404 MB / 474.6 MB, free: 31.48 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.7519804127514362]