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.006115/0.006115, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.000704/0.000704, allocations: 93.39 kB / 24.91 MB, free: 7.27 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.0007311/0.0007311, allocations: 167.8 kB / 28.62 MB, free: 4.449 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.8521/0.8521, allocations: 177.1 MB / 209.4 MB, free: 2.977 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.7425/0.7425, allocations: 102.5 MB / 368.7 MB, free: 1.434 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.633e-06/1.633e-06, allocations: 0 / 0.5374 GB, free: 39.89 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.197e-05, allocations: 6.344 kB / 0.5374 GB, free: 39.89 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001176/0.001198, allocations: 1.022 MB / 0.5384 GB, free: 39.22 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003687/0.001566, allocations: 197.9 kB / 0.5385 GB, free: 39.11 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.001593, allocations: 0 / 0.5385 GB, free: 39.11 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 7.37e-05/0.001667, allocations: 5.312 kB / 0.5386 GB, free: 39.1 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 9.107e-06/0.001676, allocations: 3.938 kB / 0.5386 GB, free: 39.1 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.002099, allocations: 78.58 kB / 0.5386 GB, free: 39.07 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.002144, allocations: 12.5 kB / 0.5386 GB, free: 39.06 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.002182, allocations: 4.531 kB / 0.5386 GB, free: 39.06 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.002209, allocations: 2.531 kB / 0.5387 GB, free: 39.06 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.848e-05/0.002228, allocations: 0 / 0.5387 GB, free: 39.06 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.002239, allocations: 1.219 kB / 0.5387 GB, free: 39.06 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.002385, allocations: 97.7 kB / 0.5387 GB, free: 39.04 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.002414, allocations: 6.719 kB / 0.5388 GB, free: 39.03 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.432e-05/0.002428, allocations: 0 / 0.5388 GB, free: 39.03 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.002559, allocations: 71.23 kB / 0.5388 GB, free: 39.01 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002561, allocations: 1.219 kB / 0.5388 GB, free: 39.01 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.01e-07/0.002562, allocations: 0 / 0.5388 GB, free: 39.01 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.002566, allocations: 0 / 0.5388 GB, free: 39.01 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.0002404/0.002807, allocations: 246.9 kB / 0.5391 GB, free: 38.75 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.002853, allocations: 9.969 kB / 0.5391 GB, free: 38.75 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.002881, allocations: 2.062 kB / 0.5391 GB, free: 38.75 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.23e-05/0.002973, allocations: 111.4 kB / 0.5392 GB, free: 38.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.002982, allocations: 1.625 kB / 0.5392 GB, free: 38.62 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.002991, allocations: 1.531 kB / 0.5392 GB, free: 38.62 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.871e-05/0.003079, allocations: 35.08 kB / 0.5392 GB, free: 38.58 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003087, allocations: 1.438 kB / 0.5392 GB, free: 38.58 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003095, allocations: 1.594 kB / 0.5392 GB, free: 38.58 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.003111, allocations: 4.703 kB / 0.5392 GB, free: 38.58 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.762e-05/0.003129, allocations: 11.5 kB / 0.5392 GB, free: 38.58 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.00324, allocations: 105.3 kB / 0.5393 GB, free: 38.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.099e-05/0.003301, allocations: 33.02 kB / 0.5394 GB, free: 38.42 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.003315, allocations: 12.83 kB / 0.5394 GB, free: 38.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.003322, allocations: 2 kB / 0.5394 GB, free: 38.41 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.003335, allocations: 30.56 kB / 0.5394 GB, free: 38.38 MB / 490.8 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003336, allocations: 2.156 kB / 0.5394 GB, free: 38.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001278/0.003464, allocations: 50.02 kB / 0.5395 GB, free: 38.34 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.003488, allocations: 51.41 kB / 0.5395 GB, free: 38.28 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.003527, allocations: 100.1 kB / 0.5396 GB, free: 38.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.003532, allocations: 25.7 kB / 0.5396 GB, free: 38.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.115e-05/0.003543, allocations: 84.11 kB / 0.5397 GB, free: 38.06 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.003571, allocations: 9.484 kB / 0.5397 GB, free: 38.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.003592, allocations: 15.97 kB / 0.5397 GB, free: 38.04 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.477e-05/0.003627, allocations: 312 kB / 0.54 GB, free: 37.72 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.003638, allocations: 7.234 kB / 0.54 GB, free: 37.72 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.003646, allocations: 8.594 kB / 0.54 GB, free: 37.72 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.003676, allocations: 23.83 kB / 0.5401 GB, free: 37.71 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003678, allocations: 4.5 kB / 0.5401 GB, free: 37.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.969e-05/0.003718, allocations: 47.17 kB / 0.5401 GB, free: 37.67 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.00373, allocations: 5.25 kB / 0.5401 GB, free: 37.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.003736, allocations: 1.156 kB / 0.5401 GB, free: 37.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.003753, allocations: 0 / 0.5401 GB, free: 37.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.003754, allocations: 0 / 0.5401 GB, free: 37.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.003759, allocations: 5.109 kB / 0.5401 GB, free: 37.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.003769, allocations: 12.61 kB / 0.5401 GB, free: 37.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.003779, allocations: 1.188 kB / 0.5401 GB, free: 37.65 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 3.753e-05/0.003816, allocations: 112.6 kB / 0.5402 GB, free: 37.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-06/0.003819, allocations: 0.75 kB / 0.5402 GB, free: 37.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.174e-05/0.003831, allocations: 14.67 kB / 0.5403 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.003837, allocations: 1.125 kB / 0.5403 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.003842, allocations: 1.125 kB / 0.5403 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.003845, allocations: 3.938 kB / 0.5403 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.196e-05/0.003887, allocations: 108.9 kB / 0.5404 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.003888, allocations: 2.281 kB / 0.5404 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-07/0.003888, allocations: 0 / 0.5404 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.003889, allocations: 0 / 0.5404 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.003896, allocations: 3.953 kB / 0.5404 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003896, allocations: 1.656 kB / 0.5404 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.003897, allocations: 1.125 kB / 0.5404 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.905e-05/0.003946, allocations: 73.7 kB / 0.5404 GB, free: 37.32 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-06/0.003952, allocations: 4.312 kB / 0.5405 GB, free: 37.32 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.00396, allocations: 1.094 kB / 0.5405 GB, free: 37.32 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-06/0.003965, allocations: 2.688 kB / 0.5405 GB, free: 37.32 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.003976, allocations: 3.938 kB / 0.5405 GB, free: 37.31 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.003978, allocations: 1.188 kB / 0.5405 GB, free: 37.31 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.338e-05/0.003992, allocations: 79.72 kB / 0.5405 GB, free: 37.24 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.003992, allocations: 0 / 0.5405 GB, free: 37.24 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001415/0.004133, allocations: 23.56 kB / 0.5406 GB, free: 37.23 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.000126/0.004259, allocations: 112.3 kB / 0.5407 GB, free: 37.14 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 6.538e-05/0.004325, allocations: 17.88 kB / 0.5407 GB, free: 37.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.004326, allocations: 5.125 kB / 0.5407 GB, free: 37.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 8.206e-06/0.004334, allocations: 4.406 kB / 0.5407 GB, free: 37.14 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.004443, allocations: 4.875 kB / 0.5407 GB, free: 37.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.004611, allocations: 124.6 kB / 0.5408 GB, free: 37.01 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.162e-05/0.004643, allocations: 60.84 kB / 0.5409 GB, free: 36.94 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.004671, allocations: 10.94 kB / 0.5409 GB, free: 36.93 MB / 490.8 MB Notification: Performance of SimCode: time 3.4e-07/0.004672, allocations: 3.938 kB / 0.5409 GB, free: 36.93 MB / 490.8 MB Notification: Performance of Templates: time 0.001663/0.006335, allocations: 0.6709 MB / 0.5415 GB, free: 36.92 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: 5.449496460147202]