Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) 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 TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|NonlinearSystems.initialization.1..Calls|NonlinearSystems.initialization.1..Iterations|NonlinearSystems.initialization.1..Jacobians|NonlinearSystems.initialization.1..Residues|Time|_derdummy|_dummy|a|a_times_table_input|b|table.columns.1.|table.n|table.smoothness|table.tableOnFile|table.table.1,1.|table.table.1,2.|table.table.2,1.|table.table.2,2.|table.u.1.|table.y.1.|table_result",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|NonlinearSystems.initialization.1..Calls|NonlinearSystems.initialization.1..Iterations|NonlinearSystems.initialization.1..Jacobians|NonlinearSystems.initialization.1..Residues|Time|_derdummy|_dummy|a|a_times_table_input|b|table.columns.1.|table.n|table.smoothness|table.tableOnFile|table.table.1,1.|table.table.1,2.|table.table.2,1.|table.table.2,2.|table.u.1.|table.y.1.|table_result",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01656/0.01656, allocations: 1.42 MB / 16.66 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1485/0.1485, allocations: 22.38 MB / 40.07 MB, free: 0.7969 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 96.05 kB / 47.53 MB, free: 2.504 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 184.5 kB / 55.12 MB, free: 6.551 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 285.5 MB, free: 1.398 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8403/0.8403, allocations: 127.8 MB / 470.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 124.9 kB / 0.5528 GB, free: 42.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1816, allocations: 82.35 MB / 0.6332 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002903/0.1845, allocations: 1.353 MB / 0.6345 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004402/0.185, allocations: 159.5 kB / 0.6347 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.1851, allocations: 0 / 0.6347 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.1853, allocations: 27.91 kB / 0.6347 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.1854, allocations: 11.98 kB / 0.6347 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1856, allocations: 31.89 kB / 0.6347 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1858, allocations: 51.84 kB / 0.6348 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.1858, allocations: 4 kB / 0.6348 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.1859, allocations: 23.91 kB / 0.6348 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.186, allocations: 23.92 kB / 0.6348 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.186, allocations: 0 / 0.6348 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.1861, allocations: 12 kB / 0.6348 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.1862, allocations: 11.98 kB / 0.6349 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.1862, allocations: 15.88 kB / 0.6349 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1864, allocations: 48.09 kB / 0.6349 GB, free: 11.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1864, allocations: 7.938 kB / 0.6349 GB, free: 11.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1864, allocations: 0 / 0.6349 GB, free: 11.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1864, allocations: 0 / 0.6349 GB, free: 11.55 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004633/0.1869, allocations: 363.3 kB / 0.6353 GB, free: 11.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.187, allocations: 8.031 kB / 0.6353 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.187, allocations: 8.844 kB / 0.6353 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1872, allocations: 189.7 kB / 0.6355 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1872, allocations: 384 / 0.6355 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1872, allocations: 12.36 kB / 0.6355 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1874, allocations: 50.25 kB / 0.6355 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1874, allocations: 192 / 0.6355 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1874, allocations: 3.938 kB / 0.6355 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1874, allocations: 7.938 kB / 0.6355 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.669e-05/0.1875, allocations: 27.92 kB / 0.6356 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.1879, allocations: 265 kB / 0.6358 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.188, allocations: 34.52 kB / 0.6359 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.188, allocations: 8.859 kB / 0.6359 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.188, allocations: 96 / 0.6359 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1881, allocations: 42.55 kB / 0.6359 GB, free: 10.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1881, allocations: 0 / 0.6359 GB, free: 10.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002103/0.1883, allocations: 73.72 kB / 0.636 GB, free: 10.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1883, allocations: 51.41 kB / 0.636 GB, free: 10.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1885, allocations: 137.6 kB / 0.6362 GB, free: 10.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1885, allocations: 25.7 kB / 0.6362 GB, free: 10.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.1885, allocations: 99.97 kB / 0.6363 GB, free: 9.969 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.1886, allocations: 3.906 kB / 0.6363 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.1886, allocations: 25.72 kB / 0.6363 GB, free: 9.934 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1887, allocations: 318.8 kB / 0.6366 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.1888, allocations: 16 kB / 0.6366 GB, free: 9.598 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.1888, allocations: 33.7 kB / 0.6367 GB, free: 9.559 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.1889, allocations: 53.64 kB / 0.6367 GB, free: 9.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1889, allocations: 3.938 kB / 0.6367 GB, free: 9.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002119/0.1891, allocations: 98.47 kB / 0.6368 GB, free: 9.391 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1891, allocations: 8 kB / 0.6368 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1892, allocations: 7.969 kB / 0.6368 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.1893, allocations: 20.84 kB / 0.6368 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.1894, allocations: 8 kB / 0.6368 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.1906, allocations: 1.388 MB / 0.6382 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.1906, allocations: 7.984 kB / 0.6382 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1906, allocations: 4 kB / 0.6382 GB, free: 7.801 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (table.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1907, allocations: 117.8 kB / 0.6383 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1908, allocations: 11.84 kB / 0.6383 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.1909, allocations: 73.52 kB / 0.6384 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1909, allocations: 0 / 0.6384 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.1909, allocations: 0 / 0.6384 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1909, allocations: 4 kB / 0.6384 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1911, allocations: 169.6 kB / 0.6386 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1911, allocations: 0 / 0.6386 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.1911, allocations: 4 kB / 0.6386 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1911, allocations: 7.875 kB / 0.6386 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1912, allocations: 0 / 0.6386 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1912, allocations: 0 / 0.6386 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1912, allocations: 7.938 kB / 0.6386 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.1913, allocations: 163.5 kB / 0.6387 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1914, allocations: 81.14 kB / 0.6388 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1914, allocations: 7.938 kB / 0.6388 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.1915, allocations: 0 / 0.6388 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.1915, allocations: 0 / 0.6388 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1915, allocations: 4 kB / 0.6388 GB, free: 7.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.1916, allocations: 99.27 kB / 0.6389 GB, free: 6.965 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1916, allocations: 0 / 0.6389 GB, free: 6.965 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1918, allocations: 11.98 kB / 0.6389 GB, free: 6.953 MB / 462.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: 1 (table.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002824/0.1921, allocations: 127.5 kB / 0.6391 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1924, allocations: 162.6 kB / 0.6392 GB, free: 6.664 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1924, allocations: 0 / 0.6392 GB, free: 6.664 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.1924, allocations: 8 kB / 0.6392 GB, free: 6.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.1927, allocations: 11.25 kB / 0.6392 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.193, allocations: 149.3 kB / 0.6394 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1932, allocations: 0.6885 MB / 0.6401 GB, free: 5.762 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.1933, allocations: 8.109 kB / 0.6401 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.1933, allocations: 15.38 kB / 0.6401 GB, free: 5.738 MB / 462.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1933, allocations: 3.938 kB / 0.6401 GB, free: 5.734 MB / 462.1 MB Notification: Performance of Templates: time 0.003441/0.1967, allocations: 0.8809 MB / 0.6409 GB, free: 4.875 MB / 462.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches