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.01309/0.01309, allocations: 1.429 MB / 17.06 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1184/0.1184, allocations: 22.38 MB / 40.49 MB, free: 0.5 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.001078/0.001078, allocations: 116.4 kB / 47.98 MB, free: 2.121 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.001298/0.001298, allocations: 184.5 kB / 55.58 MB, free: 6.152 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.424/1.424, allocations: 222.9 MB / 285.9 MB, free: 1.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9215/0.9215, allocations: 127.8 MB / 470.6 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 131.8 kB / 0.6353 GB, free: 11.15 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1715, allocations: 82.35 MB / 0.7157 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002273/0.1738, allocations: 1.286 MB / 0.717 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.1742, allocations: 163.5 kB / 0.7171 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.1743, allocations: 7.938 kB / 0.7171 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.1744, allocations: 23.97 kB / 0.7172 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.893e-05/0.1745, allocations: 11.92 kB / 0.7172 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.1747, allocations: 39.72 kB / 0.7172 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.1748, allocations: 43.91 kB / 0.7172 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.1749, allocations: 4 kB / 0.7173 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.1749, allocations: 27.86 kB / 0.7173 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.683e-05/0.175, allocations: 27.91 kB / 0.7173 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.175, allocations: 0 / 0.7173 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-05/0.1751, allocations: 15.98 kB / 0.7173 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1751, allocations: 11.94 kB / 0.7173 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.1752, allocations: 19.86 kB / 0.7174 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1753, allocations: 43.81 kB / 0.7174 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1753, allocations: 0 / 0.7174 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1753, allocations: 0 / 0.7174 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1753, allocations: 0 / 0.7174 GB, free: 7.016 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.0004395/0.1758, allocations: 363.2 kB / 0.7177 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1758, allocations: 12.02 kB / 0.7178 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.1759, allocations: 12.89 kB / 0.7178 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.176, allocations: 180.3 kB / 0.7179 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-06/0.1761, allocations: 384 / 0.7179 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1761, allocations: 8.359 kB / 0.7179 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1762, allocations: 54.19 kB / 0.718 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1762, allocations: 192 / 0.718 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1762, allocations: 7.875 kB / 0.718 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1762, allocations: 0 / 0.718 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.1763, allocations: 19.98 kB / 0.718 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.1767, allocations: 280.8 kB / 0.7183 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.1767, allocations: 38.44 kB / 0.7183 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.1768, allocations: 16.86 kB / 0.7183 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1768, allocations: 0 / 0.7183 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1768, allocations: 30.56 kB / 0.7184 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1768, allocations: 0 / 0.7184 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001789/0.177, allocations: 69.77 kB / 0.7184 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1771, allocations: 59.41 kB / 0.7185 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1772, allocations: 126.1 kB / 0.7186 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1772, allocations: 29.7 kB / 0.7186 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.1773, allocations: 92.03 kB / 0.7187 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.418e-06/0.1773, allocations: 7.953 kB / 0.7187 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.1773, allocations: 25.7 kB / 0.7188 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.1774, allocations: 314.8 kB / 0.7191 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.1775, allocations: 23.98 kB / 0.7191 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.313e-05/0.1775, allocations: 29.7 kB / 0.7191 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.815e-05/0.1776, allocations: 53.7 kB / 0.7192 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1776, allocations: 3.938 kB / 0.7192 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002078/0.1778, allocations: 102.4 kB / 0.7193 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1778, allocations: 4 kB / 0.7193 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1778, allocations: 3.969 kB / 0.7193 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.178, allocations: 20.84 kB / 0.7193 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.1781, allocations: 11.94 kB / 0.7193 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.1791, allocations: 1.392 MB / 0.7207 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.1791, allocations: 7.969 kB / 0.7207 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1792, allocations: 0 / 0.7207 GB, free: 3.262 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 8.483e-05/0.1792, allocations: 125.9 kB / 0.7208 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1793, allocations: 11.89 kB / 0.7208 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.1793, allocations: 11.91 kB / 0.7208 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1793, allocations: 0 / 0.7208 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.1793, allocations: 0 / 0.7208 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1793, allocations: 0 / 0.7208 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1795, allocations: 161.7 kB / 0.721 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1795, allocations: 4 kB / 0.721 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.1795, allocations: 3.938 kB / 0.721 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1795, allocations: 3.938 kB / 0.721 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.1795, allocations: 4 kB / 0.721 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1795, allocations: 7.938 kB / 0.721 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1796, allocations: 160 / 0.721 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.1797, allocations: 159.5 kB / 0.7211 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.1797, allocations: 81.11 kB / 0.7212 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.1798, allocations: 3.938 kB / 0.7212 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.1798, allocations: 0 / 0.7212 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.1798, allocations: 0 / 0.7212 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1799, allocations: 4 kB / 0.7212 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.1799, allocations: 110.4 kB / 0.7213 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1799, allocations: 0 / 0.7213 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002387/0.1802, allocations: 8 kB / 0.7213 GB, free: 2.48 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.0002198/0.1804, allocations: 137.7 kB / 0.7215 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.1807, allocations: 170.6 kB / 0.7216 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1807, allocations: 0 / 0.7216 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.1807, allocations: 12.03 kB / 0.7216 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.181, allocations: 11.44 kB / 0.7217 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.1812, allocations: 144.8 kB / 0.7218 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1815, allocations: 0.6922 MB / 0.7225 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.1815, allocations: 15.98 kB / 0.7225 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.1815, allocations: 11.44 kB / 0.7225 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.1815, allocations: 3.938 kB / 0.7225 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.003118/0.1847, allocations: 0.8662 MB / 0.7233 GB, free: 380 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