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.00621/0.00621, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.0006844/0.0006844, allocations: 87.47 kB / 24.16 MB, free: 396 kB / 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.0008008/0.0008008, allocations: 165 kB / 27.86 MB, free: 5.496 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.8336/0.8336, allocations: 177.2 MB / 208.6 MB, free: 2.969 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.6846/0.6846, allocations: 102.4 MB / 367.9 MB, free: 1.441 MB / 330.8 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 0.5.2 (/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.1.|dx.2.|dx.3.",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.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5366 GB, free: 39.74 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.172e-05, allocations: 6.547 kB / 0.5366 GB, free: 39.73 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001578/0.001599, allocations: 1.018 MB / 0.5376 GB, free: 39.07 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.000456/0.002055, allocations: 196.6 kB / 0.5378 GB, free: 38.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.002083, allocations: 2.438 kB / 0.5378 GB, free: 38.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 7.223e-05/0.002155, allocations: 1.469 kB / 0.5378 GB, free: 38.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 8.626e-06/0.002164, allocations: 0 / 0.5378 GB, free: 38.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.00267, allocations: 81.33 kB / 0.5379 GB, free: 38.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 4.794e-05/0.002718, allocations: 5.312 kB / 0.5379 GB, free: 38.92 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.002761, allocations: 8.641 kB / 0.5379 GB, free: 38.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.002794, allocations: 2.031 kB / 0.5379 GB, free: 38.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.963e-05/0.002813, allocations: 2.156 kB / 0.5379 GB, free: 38.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.002827, allocations: 4.891 kB / 0.5379 GB, free: 38.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.003007, allocations: 95.61 kB / 0.538 GB, free: 38.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.003036, allocations: 1.531 kB / 0.538 GB, free: 38.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.003052, allocations: 1.125 kB / 0.538 GB, free: 38.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.003197, allocations: 74.55 kB / 0.5381 GB, free: 38.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.0032, allocations: 0 / 0.5381 GB, free: 38.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003201, allocations: 4.125 kB / 0.5381 GB, free: 38.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003205, allocations: 0 / 0.5381 GB, free: 38.86 MB / 490.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.0002544/0.003459, allocations: 249.2 kB / 0.5383 GB, free: 38.59 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.003498, allocations: 10.25 kB / 0.5383 GB, free: 38.59 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.003536, allocations: 0.9375 kB / 0.5383 GB, free: 38.59 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.003634, allocations: 104.2 kB / 0.5384 GB, free: 38.47 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.003646, allocations: 1.5 kB / 0.5384 GB, free: 38.47 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.003656, allocations: 2.906 kB / 0.5384 GB, free: 38.47 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.229e-05/0.003748, allocations: 35.17 kB / 0.5385 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.003757, allocations: 192 / 0.5385 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003766, allocations: 384 / 0.5385 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.003785, allocations: 3.062 kB / 0.5385 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.00381, allocations: 23.08 kB / 0.5385 GB, free: 38.42 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.003944, allocations: 102.9 kB / 0.5386 GB, free: 38.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.405e-05/0.004018, allocations: 33.11 kB / 0.5386 GB, free: 38.27 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.004036, allocations: 10.27 kB / 0.5386 GB, free: 38.26 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.004044, allocations: 0 / 0.5386 GB, free: 38.26 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.004061, allocations: 32.56 kB / 0.5387 GB, free: 38.22 MB / 490.8 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.004063, allocations: 0 / 0.5387 GB, free: 38.22 MB / 490.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001556/0.004218, allocations: 54.64 kB / 0.5387 GB, free: 38.19 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.004242, allocations: 59.34 kB / 0.5388 GB, free: 38.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.34e-05/0.004286, allocations: 97.36 kB / 0.5389 GB, free: 38.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.004292, allocations: 25.7 kB / 0.5389 GB, free: 37.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.082e-05/0.004303, allocations: 90.5 kB / 0.539 GB, free: 37.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.00433, allocations: 8.156 kB / 0.539 GB, free: 37.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.004359, allocations: 12.84 kB / 0.539 GB, free: 37.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.004396, allocations: 317.2 kB / 0.5393 GB, free: 37.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.004413, allocations: 6.688 kB / 0.5393 GB, free: 37.56 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.004425, allocations: 4.781 kB / 0.5393 GB, free: 37.56 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.004464, allocations: 23.42 kB / 0.5393 GB, free: 37.55 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004466, allocations: 0.8438 kB / 0.5393 GB, free: 37.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.293e-05/0.004529, allocations: 49.31 kB / 0.5394 GB, free: 37.51 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.004545, allocations: 7.781 kB / 0.5394 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.00455, allocations: 0 / 0.5394 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.004563, allocations: 0 / 0.5394 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-06/0.004564, allocations: 1.094 kB / 0.5394 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.004569, allocations: 0 / 0.5394 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.004584, allocations: 11.11 kB / 0.5394 GB, free: 37.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.004594, allocations: 1.125 kB / 0.5394 GB, free: 37.5 MB / 490.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 4.263e-05/0.004637, allocations: 111.5 kB / 0.5395 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.004644, allocations: 0 / 0.5395 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.15e-05/0.004656, allocations: 4.781 kB / 0.5395 GB, free: 37.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.004666, allocations: 2.25 kB / 0.5395 GB, free: 37.38 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.004671, allocations: 1.281 kB / 0.5395 GB, free: 37.38 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.004674, allocations: 3.938 kB / 0.5395 GB, free: 37.38 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.164e-05/0.004736, allocations: 110.1 kB / 0.5396 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.004738, allocations: 1.25 kB / 0.5396 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-07/0.004739, allocations: 0 / 0.5396 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.004741, allocations: 1.344 kB / 0.5396 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.004747, allocations: 1.25 kB / 0.5396 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.004749, allocations: 1.25 kB / 0.5396 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.004752, allocations: 7.359 kB / 0.5396 GB, free: 37.24 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.33e-05/0.004825, allocations: 74.66 kB / 0.5397 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.004832, allocations: 3.625 kB / 0.5397 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.004842, allocations: 192 / 0.5397 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.00485, allocations: 1.094 kB / 0.5397 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.004865, allocations: 5.234 kB / 0.5397 GB, free: 37.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.004868, allocations: 1.25 kB / 0.5397 GB, free: 37.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.57e-05/0.004884, allocations: 83.94 kB / 0.5398 GB, free: 37.09 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.004884, allocations: 7.812 kB / 0.5398 GB, free: 37.08 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002399/0.005124, allocations: 18.91 kB / 0.5398 GB, free: 37.08 MB / 490.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.0001604/0.005284, allocations: 115.7 kB / 0.5399 GB, free: 36.99 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 7.621e-05/0.005361, allocations: 13.91 kB / 0.5399 GB, free: 36.98 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.005363, allocations: 1.312 kB / 0.5399 GB, free: 36.98 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.005376, allocations: 18.03 kB / 0.54 GB, free: 36.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.005522, allocations: 1.375 kB / 0.54 GB, free: 36.98 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.005698, allocations: 94.09 kB / 0.5401 GB, free: 36.88 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.00573, allocations: 59.64 kB / 0.5401 GB, free: 36.81 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 1.771e-05/0.005748, allocations: 4.375 kB / 0.5401 GB, free: 36.81 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.005765, allocations: 8.5 kB / 0.5401 GB, free: 36.8 MB / 490.8 MB Notification: Performance of SimCode: time 4.91e-07/0.005766, allocations: 1.875 kB / 0.5401 GB, free: 36.8 MB / 490.8 MB Notification: Performance of Templates: time 0.002784/0.00855, allocations: 0.63 MB / 0.5407 GB, free: 36.75 MB / 490.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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",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.586048210039735]