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.0153/0.0153, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001895/0.001895, allocations: 82.53 kB / 24.03 MB, free: 2.59 MB / 14.72 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.002314/0.002314, allocations: 153.4 kB / 27.71 MB, free: 3.844 MB / 19.63 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 1.502/1.502, allocations: 177.1 MB / 208.4 MB, free: 7.664 MB / 190.1 MB " [Timeout remaining time 178] 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 1.035/1.035, allocations: 102.5 MB / 367.8 MB, free: 4.602 MB / 334.1 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 0.3.1 (/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_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_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 0.5364 GB, free: 7.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.019e-05, allocations: 5.031 kB / 0.5364 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001646/0.001676, allocations: 1.02 MB / 0.5374 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004479/0.002124, allocations: 188.2 kB / 0.5376 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.002149, allocations: 1.406 kB / 0.5376 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.943e-05/0.002229, allocations: 7.922 kB / 0.5376 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.744e-06/0.002236, allocations: 0 / 0.5376 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.002718, allocations: 79.91 kB / 0.5377 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.00277, allocations: 2.875 kB / 0.5377 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.002812, allocations: 5.438 kB / 0.5377 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.208e-05/0.002845, allocations: 5.172 kB / 0.5377 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.019e-05/0.002865, allocations: 1.156 kB / 0.5377 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.002877, allocations: 0 / 0.5377 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.003053, allocations: 101.5 kB / 0.5378 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.00308, allocations: 3.938 kB / 0.5378 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.003096, allocations: 0 / 0.5378 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.003238, allocations: 69.06 kB / 0.5379 GB, free: 6.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.003241, allocations: 0 / 0.5379 GB, free: 6.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003241, allocations: 0 / 0.5379 GB, free: 6.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.003246, allocations: 7.906 kB / 0.5379 GB, free: 6.035 MB / 446.1 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.0003084/0.003555, allocations: 251.9 kB / 0.5381 GB, free: 5.762 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.003597, allocations: 9.344 kB / 0.5381 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.003627, allocations: 6.031 kB / 0.5381 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.00373, allocations: 104.2 kB / 0.5382 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.003742, allocations: 384 / 0.5382 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.003755, allocations: 1.375 kB / 0.5382 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.00386, allocations: 35.59 kB / 0.5383 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.00387, allocations: 192 / 0.5383 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.003879, allocations: 384 / 0.5383 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.003899, allocations: 2.875 kB / 0.5383 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.003926, allocations: 11.56 kB / 0.5383 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.00406, allocations: 107.6 kB / 0.5384 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.004141, allocations: 37.52 kB / 0.5384 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.004159, allocations: 8.516 kB / 0.5384 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.004171, allocations: 1 kB / 0.5384 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.004191, allocations: 39.69 kB / 0.5385 GB, free: 5.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.004192, allocations: 0 / 0.5385 GB, free: 5.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001626/0.004355, allocations: 50.95 kB / 0.5385 GB, free: 5.332 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.004377, allocations: 51.41 kB / 0.5386 GB, free: 5.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.004431, allocations: 104.7 kB / 0.5387 GB, free: 5.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.004439, allocations: 31.05 kB / 0.5387 GB, free: 5.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.004457, allocations: 80.14 kB / 0.5388 GB, free: 5.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.004486, allocations: 9.375 kB / 0.5388 GB, free: 5.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.004508, allocations: 12.28 kB / 0.5388 GB, free: 5.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.004547, allocations: 320.3 kB / 0.5391 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.004561, allocations: 4.156 kB / 0.5391 GB, free: 4.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.004571, allocations: 5.281 kB / 0.5391 GB, free: 4.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.004601, allocations: 19.62 kB / 0.5391 GB, free: 4.688 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004603, allocations: 0 / 0.5391 GB, free: 4.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.449e-05/0.004657, allocations: 49.97 kB / 0.5392 GB, free: 4.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.004671, allocations: 11.12 kB / 0.5392 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.004675, allocations: 0 / 0.5392 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.004689, allocations: 0 / 0.5392 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.00469, allocations: 1.562 kB / 0.5392 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.004695, allocations: 0 / 0.5392 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.004707, allocations: 7.891 kB / 0.5392 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.004716, allocations: 1.438 kB / 0.5392 GB, free: 4.633 MB / 446.1 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.067e-05/0.004757, allocations: 108.3 kB / 0.5393 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.004764, allocations: 192 / 0.5393 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-06/0.004773, allocations: 8.766 kB / 0.5393 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.004781, allocations: 6.172 kB / 0.5393 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.004785, allocations: 4 kB / 0.5393 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.004787, allocations: 3.938 kB / 0.5393 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.173e-05/0.004839, allocations: 107.3 kB / 0.5394 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.00484, allocations: 3.938 kB / 0.5394 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.004841, allocations: 0 / 0.5394 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.004842, allocations: 1.188 kB / 0.5394 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.004847, allocations: 0 / 0.5394 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.004849, allocations: 5.312 kB / 0.5394 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.00485, allocations: 3.984 kB / 0.5394 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.006e-05/0.00491, allocations: 75.16 kB / 0.5395 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-06/0.004914, allocations: 5.844 kB / 0.5395 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.004924, allocations: 1.312 kB / 0.5395 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.004932, allocations: 0 / 0.5395 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.00495, allocations: 1.406 kB / 0.5395 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.004952, allocations: 0 / 0.5395 GB, free: 4.273 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.656e-05/0.004969, allocations: 77.62 kB / 0.5396 GB, free: 4.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.004969, allocations: 0 / 0.5396 GB, free: 4.199 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.005182, allocations: 20 kB / 0.5396 GB, free: 4.195 MB / 446.1 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.0001593/0.005341, allocations: 119.5 kB / 0.5397 GB, free: 4.098 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.012e-05/0.005411, allocations: 19.83 kB / 0.5397 GB, free: 4.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.005417, allocations: 0 / 0.5397 GB, free: 4.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.005429, allocations: 9.094 kB / 0.5397 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.005575, allocations: 2.547 kB / 0.5398 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.005758, allocations: 97.34 kB / 0.5398 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.005793, allocations: 60.75 kB / 0.5399 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.966e-05/0.005813, allocations: 5.562 kB / 0.5399 GB, free: 3.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.005831, allocations: 8.5 kB / 0.5399 GB, free: 3.895 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.005831, allocations: 1.562 kB / 0.5399 GB, free: 3.895 MB / 446.1 MB Notification: Performance of Templates: time 0.003228/0.009059, allocations: 0.6307 MB / 0.5405 GB, free: 3.574 MB / 446.1 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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_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_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_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: 5.702835291624069]