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.01783/0.01783, allocations: 1.431 MB / 16.93 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1878/0.1878, allocations: 22.38 MB / 40.35 MB, free: 0.707 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.00179/0.001791, allocations: 104 kB / 47.84 MB, free: 2.387 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.002417/0.002417, allocations: 187.2 kB / 55.43 MB, free: 6.43 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.528/1.528, allocations: 222.9 MB / 285.8 MB, free: 1.293 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8848/0.8848, allocations: 127.8 MB / 470.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.00222, allocations: 124.3 kB / 0.5533 GB, free: 42.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.171, allocations: 82.35 MB / 0.6337 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002535/0.1736, allocations: 1.303 MB / 0.635 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.1741, allocations: 155.4 kB / 0.6352 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.1741, allocations: 4 kB / 0.6352 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1743, allocations: 19.97 kB / 0.6352 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.1744, allocations: 19.92 kB / 0.6352 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1746, allocations: 35.83 kB / 0.6352 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1747, allocations: 47.91 kB / 0.6353 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.1748, allocations: 8.281 kB / 0.6353 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.1748, allocations: 27.84 kB / 0.6353 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.1749, allocations: 19.92 kB / 0.6353 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1749, allocations: 4 kB / 0.6353 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.996e-05/0.175, allocations: 11.98 kB / 0.6354 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.1751, allocations: 8 kB / 0.6354 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.1751, allocations: 23.84 kB / 0.6354 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1752, allocations: 51.77 kB / 0.6354 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1752, allocations: 0 / 0.6354 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1753, allocations: 4 kB / 0.6354 GB, free: 11.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1753, allocations: 0 / 0.6354 GB, free: 11.11 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.0004743/0.1757, allocations: 351.4 kB / 0.6358 GB, free: 10.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1758, allocations: 12.03 kB / 0.6358 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1758, allocations: 8.844 kB / 0.6358 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.176, allocations: 180.2 kB / 0.636 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.176, allocations: 8.312 kB / 0.636 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1761, allocations: 4.375 kB / 0.636 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1762, allocations: 54.19 kB / 0.636 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1762, allocations: 192 / 0.636 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1762, allocations: 7.938 kB / 0.636 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1762, allocations: 0 / 0.636 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.1763, allocations: 19.98 kB / 0.6361 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.1767, allocations: 268.9 kB / 0.6363 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.1768, allocations: 42.44 kB / 0.6364 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.1768, allocations: 16.86 kB / 0.6364 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1768, allocations: 0 / 0.6364 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1769, allocations: 30.56 kB / 0.6364 GB, free: 9.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1769, allocations: 0 / 0.6364 GB, free: 9.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002139/0.1771, allocations: 77.67 kB / 0.6365 GB, free: 9.875 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1771, allocations: 51.41 kB / 0.6365 GB, free: 9.812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1772, allocations: 126.1 kB / 0.6366 GB, free: 9.676 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1773, allocations: 29.7 kB / 0.6367 GB, free: 9.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.1773, allocations: 99.98 kB / 0.6368 GB, free: 9.539 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.1773, allocations: 7.844 kB / 0.6368 GB, free: 9.531 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.1774, allocations: 25.7 kB / 0.6368 GB, free: 9.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1775, allocations: 314.8 kB / 0.6371 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.1776, allocations: 19.98 kB / 0.6371 GB, free: 9.164 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.1776, allocations: 33.7 kB / 0.6371 GB, free: 9.125 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.1777, allocations: 53.7 kB / 0.6372 GB, free: 9.066 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1777, allocations: 3.938 kB / 0.6372 GB, free: 9.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002192/0.1779, allocations: 102.5 kB / 0.6373 GB, free: 8.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1779, allocations: 4 kB / 0.6373 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.178, allocations: 0 / 0.6373 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.1781, allocations: 16.84 kB / 0.6373 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.1782, allocations: 15.94 kB / 0.6373 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.1795, allocations: 1.396 MB / 0.6387 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.1795, allocations: 4 kB / 0.6387 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1796, allocations: 4.031 kB / 0.6387 GB, free: 7.367 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 9.953e-05/0.1797, allocations: 123.6 kB / 0.6388 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.1797, allocations: 11.84 kB / 0.6388 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.1797, allocations: 7.906 kB / 0.6388 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1797, allocations: 8 kB / 0.6389 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.1797, allocations: 0 / 0.6389 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1798, allocations: 0 / 0.6389 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1799, allocations: 169.6 kB / 0.639 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1799, allocations: 0 / 0.639 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.18, allocations: 4 kB / 0.639 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.18, allocations: 4 kB / 0.639 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.18, allocations: 4 kB / 0.639 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.18, allocations: 3.938 kB / 0.639 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.18, allocations: 3.938 kB / 0.639 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.1801, allocations: 159.5 kB / 0.6392 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.1802, allocations: 85.02 kB / 0.6393 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.1802, allocations: 3.938 kB / 0.6393 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.1803, allocations: 4 kB / 0.6393 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.1803, allocations: 0 / 0.6393 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1803, allocations: 0 / 0.6393 GB, free: 6.695 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.319e-05/0.1804, allocations: 106.8 kB / 0.6394 GB, free: 6.594 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1804, allocations: 0 / 0.6394 GB, free: 6.594 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1806, allocations: 20 kB / 0.6394 GB, free: 6.574 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.0002823/0.1809, allocations: 126.5 kB / 0.6395 GB, free: 6.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.1812, allocations: 154.6 kB / 0.6397 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1812, allocations: 0 / 0.6397 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.285e-05/0.1812, allocations: 20.06 kB / 0.6397 GB, free: 6.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.1815, allocations: 7.984 kB / 0.6397 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.1818, allocations: 133.2 kB / 0.6398 GB, free: 6.109 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1821, allocations: 0.6885 MB / 0.6405 GB, free: 5.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.1821, allocations: 11.98 kB / 0.6405 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.1822, allocations: 15.38 kB / 0.6405 GB, free: 5.367 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1822, allocations: 0 / 0.6405 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Templates: time 0.003466/0.1856, allocations: 0.8774 MB / 0.6414 GB, free: 4.512 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