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 0.3.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.3.1-main/package.mo): time 0.01292/0.01292, allocations: 1.764 MB / 21.25 MB, free: 0.6836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 100.6 kB / 24.81 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 196.4 kB / 28.49 MB, free: 3.609 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 225.6 MB / 257.6 MB, free: 11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.235/1.235, allocations: 129.1 MB / 442.4 MB, free: 14.32 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.3.1-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: Skipped loading package TILMedia (1.8.2 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02917/0.02917, allocations: 20.88 MB / 0.6262 GB, free: 13.58 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2316, allocations: 80.49 MB / 0.7048 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001957/0.2335, allocations: 1.021 MB / 0.7058 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004978/0.234, allocations: 211.3 kB / 0.706 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.2341, allocations: 0 / 0.706 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.024e-05/0.2341, allocations: 0 / 0.706 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-06/0.2342, allocations: 0 / 0.706 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.2347, allocations: 87.78 kB / 0.7061 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.2348, allocations: 11.92 kB / 0.7061 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.2348, allocations: 0 / 0.7061 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.2349, allocations: 3.938 kB / 0.7061 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.631e-05/0.2349, allocations: 3.984 kB / 0.7061 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2349, allocations: 4 kB / 0.7061 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.2351, allocations: 99.81 kB / 0.7062 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.2352, allocations: 0 / 0.7062 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.2352, allocations: 7.922 kB / 0.7062 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2354, allocations: 47.86 kB / 0.7063 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.2354, allocations: 4 kB / 0.7063 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.175e-06/0.2354, allocations: 8 kB / 0.7063 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2354, allocations: 0 / 0.7063 GB, free: 11.44 MB / 0.5294 GB 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.000477/0.2359, allocations: 242.4 kB / 0.7065 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2359, allocations: 8.031 kB / 0.7065 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2359, allocations: 4.891 kB / 0.7065 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.2361, allocations: 118.5 kB / 0.7067 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-06/0.2361, allocations: 384 / 0.7067 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.2361, allocations: 4.375 kB / 0.7067 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.2362, allocations: 42.2 kB / 0.7067 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2362, allocations: 4.188 kB / 0.7067 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2362, allocations: 3.938 kB / 0.7067 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.2363, allocations: 0 / 0.7067 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.2363, allocations: 4 kB / 0.7067 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.2365, allocations: 124.7 kB / 0.7068 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.2366, allocations: 34.61 kB / 0.7069 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.2366, allocations: 12.88 kB / 0.7069 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.2366, allocations: 4 kB / 0.7069 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.2367, allocations: 30.56 kB / 0.7069 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2367, allocations: 7.938 kB / 0.7069 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000206/0.2369, allocations: 53.67 kB / 0.707 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.2369, allocations: 51.41 kB / 0.707 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.237, allocations: 89.86 kB / 0.7071 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.237, allocations: 33.69 kB / 0.7071 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.2371, allocations: 88.3 kB / 0.7072 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.2371, allocations: 7.906 kB / 0.7072 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.2372, allocations: 13.72 kB / 0.7072 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2373, allocations: 310.8 kB / 0.7075 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.2374, allocations: 4 kB / 0.7075 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.2374, allocations: 11.98 kB / 0.7075 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/0.2374, allocations: 20.8 kB / 0.7076 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2374, allocations: 0 / 0.7076 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.466e-05/0.2375, allocations: 41.75 kB / 0.7076 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2375, allocations: 11.94 kB / 0.7076 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2375, allocations: 3.938 kB / 0.7076 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.2375, allocations: 4 kB / 0.7076 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.2375, allocations: 0 / 0.7076 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2376, allocations: 3.984 kB / 0.7076 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.2376, allocations: 0 / 0.7076 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2376, allocations: 0 / 0.7076 GB, free: 9.887 MB / 0.5294 GB 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 0.0001156/0.2377, allocations: 113.8 kB / 0.7077 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.2377, allocations: 3.938 kB / 0.7077 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.2377, allocations: 11.62 kB / 0.7078 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2377, allocations: 0 / 0.7078 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.2377, allocations: 4 kB / 0.7078 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2377, allocations: 0 / 0.7078 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.2379, allocations: 124.7 kB / 0.7079 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2379, allocations: 0 / 0.7079 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-06/0.2379, allocations: 3.938 kB / 0.7079 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.2379, allocations: 0 / 0.7079 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2379, allocations: 3.938 kB / 0.7079 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.2379, allocations: 0 / 0.7079 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2379, allocations: 8 kB / 0.7079 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.238, allocations: 73.06 kB / 0.708 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.238, allocations: 0 / 0.708 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.238, allocations: 11.94 kB / 0.708 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.2381, allocations: 0 / 0.708 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.2381, allocations: 0 / 0.708 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.2381, allocations: 0 / 0.708 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.2381, allocations: 83.31 kB / 0.7081 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2381, allocations: 4 kB / 0.7081 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002181/0.2384, allocations: 19.94 kB / 0.7081 GB, free: 9.359 MB / 0.5294 GB 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.0001968/0.2385, allocations: 107.2 kB / 0.7082 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.2386, allocations: 16.11 kB / 0.7082 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2386, allocations: 4 kB / 0.7082 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.2387, allocations: 4 kB / 0.7082 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.2388, allocations: 0 / 0.7082 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.2391, allocations: 126.9 kB / 0.7083 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.2395, allocations: 0.6806 MB / 0.709 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.2395, allocations: 11.44 kB / 0.709 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.2395, allocations: 0 / 0.709 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of Templates: time 0.002602/0.2421, allocations: 0.6556 MB / 0.7096 GB, free: 7.688 MB / 0.5294 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins1/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: 9.304117773004691]