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.01361/0.01361, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.001223/0.001223, allocations: 88.11 kB / 25.16 MB, free: 7.422 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.001461/0.001461, allocations: 170.5 kB / 29.06 MB, free: 3.637 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.8863/0.8863, allocations: 177.1 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.5795/0.5795, allocations: 102.4 MB / 369.5 MB, free: 15.87 MB / 346.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.052e-06/1.052e-06, allocations: 0 / 469.9 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.321e-05, allocations: 2.312 kB / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.0009827/0.0009959, allocations: 1.061 MB / 471 MB, free: 18.33 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.001304, allocations: 200.5 kB / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.001328, allocations: 6.281 kB / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.982e-05/0.001398, allocations: 0 / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.565e-06/0.001406, allocations: 0 / 471.2 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.001757, allocations: 79.28 kB / 471.2 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.001799, allocations: 10.83 kB / 471.3 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.829e-05/0.001827, allocations: 3.375 kB / 471.3 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.001851, allocations: 4.219 kB / 471.3 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.573e-05/0.001867, allocations: 3.938 kB / 471.3 MB, free: 18.17 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.001876, allocations: 0 / 471.3 MB, free: 18.17 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.002, allocations: 95.09 kB / 471.4 MB, free: 18.15 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.002022, allocations: 0 / 471.4 MB, free: 18.15 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.291e-05/0.002035, allocations: 2.562 kB / 471.4 MB, free: 18.15 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.002135, allocations: 72.16 kB / 471.4 MB, free: 18.12 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002137, allocations: 0 / 471.4 MB, free: 18.12 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002137, allocations: 1.844 kB / 471.4 MB, free: 18.12 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.002141, allocations: 3.938 kB / 471.4 MB, free: 18.12 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.0001833/0.002324, allocations: 345.4 kB / 471.8 MB, free: 17.76 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.002353, allocations: 13.75 kB / 471.8 MB, free: 17.75 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.002382, allocations: 1.281 kB / 471.8 MB, free: 17.75 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.002455, allocations: 121.5 kB / 471.9 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-06/0.002461, allocations: 384 / 471.9 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.002469, allocations: 2.766 kB / 471.9 MB, free: 17.61 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.003e-05/0.002529, allocations: 38.64 kB / 471.9 MB, free: 17.58 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.002534, allocations: 192 / 472 MB, free: 17.58 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.002541, allocations: 384 / 472 MB, free: 17.58 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.00256, allocations: 1.625 kB / 472 MB, free: 17.58 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.736e-06/0.002569, allocations: 6.469 kB / 472 MB, free: 17.57 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.32e-05/0.002652, allocations: 123.6 kB / 472.1 MB, free: 17.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.002704, allocations: 33.38 kB / 472.1 MB, free: 17.39 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-06/0.002713, allocations: 10.31 kB / 472.1 MB, free: 17.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-06/0.002717, allocations: 0 / 472.1 MB, free: 17.38 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.00273, allocations: 37.45 kB / 472.2 MB, free: 17.34 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.00273, allocations: 0 / 472.2 MB, free: 17.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 9.136e-05/0.002822, allocations: 43.52 kB / 472.2 MB, free: 17.3 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.53e-05/0.002837, allocations: 52.66 kB / 472.3 MB, free: 17.24 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.541e-05/0.002872, allocations: 159.5 kB / 472.4 MB, free: 17.07 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-06/0.002876, allocations: 25.7 kB / 472.4 MB, free: 17.04 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.002993, allocations: 134.6 kB / 472.6 MB, free: 32.91 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.003012, allocations: 3.953 kB / 472.6 MB, free: 32.9 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.003029, allocations: 18.78 kB / 472.6 MB, free: 32.88 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.003119, allocations: 0.4938 MB / 473.1 MB, free: 32.38 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.003126, allocations: 0 / 473.1 MB, free: 32.38 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/0.003132, allocations: 3.438 kB / 473.1 MB, free: 32.38 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.759e-05/0.00315, allocations: 14.44 kB / 473.1 MB, free: 32.37 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.003151, allocations: 0 / 473.1 MB, free: 32.37 MB / 426.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.085e-05/0.003182, allocations: 45.34 kB / 473.1 MB, free: 32.33 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.003192, allocations: 7.812 kB / 473.1 MB, free: 32.33 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.003196, allocations: 0 / 473.1 MB, free: 32.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.003205, allocations: 0 / 473.1 MB, free: 32.33 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.003208, allocations: 2.812 kB / 473.2 MB, free: 32.33 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.003212, allocations: 0 / 473.2 MB, free: 32.33 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-06/0.00322, allocations: 3.938 kB / 473.2 MB, free: 32.33 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.003226, allocations: 6.625 kB / 473.2 MB, free: 32.32 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 4.463e-05/0.003271, allocations: 155.5 kB / 473.3 MB, free: 32.16 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-06/0.003274, allocations: 3.469 kB / 473.3 MB, free: 32.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.044e-05/0.003285, allocations: 3.688 kB / 473.3 MB, free: 32.16 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.003289, allocations: 2.625 kB / 473.3 MB, free: 32.16 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.003292, allocations: 0 / 473.3 MB, free: 32.16 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.003294, allocations: 3.938 kB / 473.3 MB, free: 32.15 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.4e-05/0.003328, allocations: 122.3 kB / 473.4 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.003328, allocations: 2.094 kB / 473.4 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.003329, allocations: 0 / 473.4 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.00333, allocations: 3.094 kB / 473.5 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.003335, allocations: 0 / 473.5 MB, free: 32.01 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.003336, allocations: 4 kB / 473.5 MB, free: 32 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.003336, allocations: 0 / 473.5 MB, free: 32 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.527e-05/0.003372, allocations: 79.78 kB / 473.5 MB, free: 31.92 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-06/0.003376, allocations: 3.953 kB / 473.5 MB, free: 31.91 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-06/0.003382, allocations: 3.531 kB / 473.5 MB, free: 31.91 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-06/0.003386, allocations: 0 / 473.5 MB, free: 31.91 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.003398, allocations: 3.781 kB / 473.5 MB, free: 31.91 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.003399, allocations: 1.094 kB / 473.5 MB, free: 31.91 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.467e-05/0.003494, allocations: 126.1 kB / 473.7 MB, free: 31.79 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003494, allocations: 0.5 kB / 473.7 MB, free: 31.79 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001267/0.003621, allocations: 25.31 kB / 473.7 MB, free: 31.79 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.0001055/0.003726, allocations: 111.3 kB / 473.8 MB, free: 31.7 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.298e-05/0.003779, allocations: 15.86 kB / 473.8 MB, free: 31.69 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.00378, allocations: 1.031 kB / 473.8 MB, free: 31.69 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.003786, allocations: 18.34 kB / 473.8 MB, free: 31.67 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.338e-05/0.00388, allocations: 11.45 kB / 473.8 MB, free: 31.67 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001385/0.004018, allocations: 93.95 kB / 473.9 MB, free: 31.56 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.166e-05/0.00404, allocations: 54.3 kB / 474 MB, free: 31.49 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.119e-05/0.004051, allocations: 0 / 474 MB, free: 31.49 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.004064, allocations: 11.22 kB / 474 MB, free: 31.48 MB / 426.8 MB Notification: Performance of SimCode: time 5.71e-07/0.004065, allocations: 0 / 474 MB, free: 31.48 MB / 426.8 MB Notification: Performance of Templates: time 0.001981/0.006046, allocations: 0.7139 MB / 474.7 MB, free: 31.44 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.353570995852351]