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.01391/0.01391, allocations: 1.436 MB / 17.07 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1298/0.1298, allocations: 22.37 MB / 40.49 MB, free: 0.5234 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.001148/0.001148, allocations: 112.2 kB / 47.98 MB, free: 2.137 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.001458/0.001458, allocations: 188.5 kB / 55.58 MB, free: 6.168 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.524/1.524, allocations: 222.9 MB / 285.9 MB, free: 1.211 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9066/0.9066, allocations: 127.8 MB / 470.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 124.3 kB / 0.6353 GB, free: 11.2 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1676, allocations: 82.34 MB / 0.7157 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002654/0.1703, allocations: 1.296 MB / 0.717 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004761/0.1708, allocations: 159.4 kB / 0.7171 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.1709, allocations: 0 / 0.7171 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1712, allocations: 35.89 kB / 0.7172 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.1712, allocations: 11.98 kB / 0.7172 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1715, allocations: 39.78 kB / 0.7172 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1717, allocations: 43.95 kB / 0.7172 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.1717, allocations: 11.94 kB / 0.7173 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.1718, allocations: 19.92 kB / 0.7173 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.1719, allocations: 19.92 kB / 0.7173 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1719, allocations: 4 kB / 0.7173 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.172, allocations: 8 kB / 0.7173 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.172, allocations: 19.91 kB / 0.7173 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.1721, allocations: 15.88 kB / 0.7173 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1723, allocations: 51.81 kB / 0.7174 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1723, allocations: 0 / 0.7174 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1723, allocations: 0 / 0.7174 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1723, allocations: 4 kB / 0.7174 GB, free: 7.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005178/0.1728, allocations: 355.4 kB / 0.7177 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1729, allocations: 15.97 kB / 0.7177 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.1729, allocations: 8.828 kB / 0.7178 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1731, allocations: 188.1 kB / 0.7179 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1731, allocations: 8.375 kB / 0.7179 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1732, allocations: 384 / 0.7179 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1733, allocations: 46.25 kB / 0.718 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1733, allocations: 4.188 kB / 0.718 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1733, allocations: 7.938 kB / 0.718 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1733, allocations: 0 / 0.718 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.1734, allocations: 23.98 kB / 0.718 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.1739, allocations: 261 kB / 0.7183 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.174, allocations: 38.45 kB / 0.7183 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.174, allocations: 12.94 kB / 0.7183 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1741, allocations: 8 kB / 0.7183 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1741, allocations: 34.56 kB / 0.7184 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1741, allocations: 0 / 0.7184 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002165/0.1743, allocations: 73.58 kB / 0.7184 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1744, allocations: 55.34 kB / 0.7185 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1745, allocations: 129.2 kB / 0.7186 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1745, allocations: 33.62 kB / 0.7186 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1746, allocations: 104 kB / 0.7187 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/0.1746, allocations: 3.906 kB / 0.7187 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1747, allocations: 25.7 kB / 0.7188 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1748, allocations: 314.8 kB / 0.7191 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.1748, allocations: 19.98 kB / 0.7191 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.1749, allocations: 33.7 kB / 0.7191 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.115e-05/0.1749, allocations: 45.72 kB / 0.7192 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.175, allocations: 7.938 kB / 0.7192 GB, free: 5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002269/0.1752, allocations: 102.4 kB / 0.7193 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1752, allocations: 8 kB / 0.7193 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1752, allocations: 4 kB / 0.7193 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.1754, allocations: 28.72 kB / 0.7193 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.1755, allocations: 8 kB / 0.7193 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.1767, allocations: 1.392 MB / 0.7207 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.1767, allocations: 0 / 0.7207 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1767, allocations: 4.031 kB / 0.7207 GB, free: 3.297 MB / 0.5294 GB 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.674e-05/0.1768, allocations: 113.8 kB / 0.7208 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.1769, allocations: 11.84 kB / 0.7208 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.1769, allocations: 7.891 kB / 0.7208 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1769, allocations: 4 kB / 0.7208 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1769, allocations: 0 / 0.7208 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1769, allocations: 0 / 0.7208 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1771, allocations: 169.6 kB / 0.721 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1771, allocations: 0 / 0.721 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.1771, allocations: 11.92 kB / 0.721 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1772, allocations: 3.938 kB / 0.721 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.1772, allocations: 0 / 0.721 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1772, allocations: 0 / 0.721 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1772, allocations: 0 / 0.721 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.1773, allocations: 159.5 kB / 0.7211 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1774, allocations: 85.09 kB / 0.7212 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.1774, allocations: 3.938 kB / 0.7212 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1775, allocations: 4 kB / 0.7212 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.1775, allocations: 0 / 0.7212 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.1775, allocations: 4 kB / 0.7212 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.286e-05/0.1776, allocations: 103.3 kB / 0.7213 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1776, allocations: 3.938 kB / 0.7213 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002428/0.1778, allocations: 8 kB / 0.7213 GB, free: 2.52 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: 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.0002781/0.1781, allocations: 147.7 kB / 0.7215 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.1784, allocations: 154.6 kB / 0.7216 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1784, allocations: 0 / 0.7216 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.1785, allocations: 15.98 kB / 0.7216 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1788, allocations: 8 kB / 0.7216 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.179, allocations: 149 kB / 0.7218 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1794, allocations: 0.6961 MB / 0.7225 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.1794, allocations: 7.938 kB / 0.7225 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.1794, allocations: 15.42 kB / 0.7225 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.1794, allocations: 0 / 0.7225 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of Templates: time 0.003539/0.183, allocations: 0.8652 MB / 0.7233 GB, free: 428 kB / 0.5294 GB 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=50 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.mat","/var/lib/jenkins1/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