Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009839/0.000984, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241.8 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 44.16 MB / 336.1 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002297, allocations: 65 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1697, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.005041/0.1748, allocations: 1.687 MB / 470.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.1758, allocations: 455.2 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.1758, allocations: 4 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.1764, allocations: 447.2 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1768, allocations: 243.5 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1772, allocations: 163.2 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1774, allocations: 167.7 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1775, allocations: 23.97 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1776, allocations: 111.7 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.1779, allocations: 199.6 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1779, allocations: 4 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.178, allocations: 47.92 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.1782, allocations: 83.69 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1783, allocations: 110.9 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.1787, allocations: 271.2 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1787, allocations: 0 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1787, allocations: 0 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1787, allocations: 0 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009851/0.1797, allocations: 0.6414 MB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.1798, allocations: 15.97 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.1798, allocations: 38.73 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.346e-05/0.1799, allocations: 44.38 kB / 473.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.1803, allocations: 288.2 kB / 473.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1803, allocations: 8.375 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.1803, allocations: 12.28 kB / 473.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1806, allocations: 61.61 kB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1806, allocations: 3.938 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1806, allocations: 0 / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1806, allocations: 0 / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1807, allocations: 35.97 kB / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.1815, allocations: 416.5 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1816, allocations: 50.59 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.1817, allocations: 20.94 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.1817, allocations: 0 / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.1818, allocations: 38.56 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1818, allocations: 4 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001099/0.1829, allocations: 307.9 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.183, allocations: 55.34 kB / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009264/0.1839, allocations: 0.8691 MB / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1839, allocations: 33.64 kB / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1841, allocations: 220 kB / 475.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.1842, allocations: 27.64 kB / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1842, allocations: 21.72 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.1845, allocations: 362.8 kB / 476.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.1846, allocations: 31.97 kB / 476.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.1847, allocations: 35.97 kB / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1848, allocations: 77.05 kB / 476.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1848, allocations: 3.938 kB / 476.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002339/0.1851, allocations: 145.1 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1851, allocations: 7.938 kB / 476.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1851, allocations: 0 / 476.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1851, allocations: 3.984 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1853, allocations: 23.88 kB / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1853, allocations: 0 / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.1853, allocations: 11.98 kB / 476.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1853, allocations: 0 / 476.5 MB, free: 6.668 MB / 350.1 MB 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 (8): * Single equations (assignments): 8 * Array equations: 0 * 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.0001952/0.1855, allocations: 217.8 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.1856, allocations: 43.44 kB / 476.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.1859, allocations: 173.8 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.186, allocations: 7.938 kB / 476.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.186, allocations: 0 / 476.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.186, allocations: 0 / 476.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.1866, allocations: 0.5148 MB / 477.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1866, allocations: 4 kB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.1867, allocations: 15.98 kB / 477.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1867, allocations: 4.031 kB / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1867, allocations: 8 kB / 477.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1867, allocations: 0 / 477.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1867, allocations: 0 / 477.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.187, allocations: 255.7 kB / 477.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.1871, allocations: 108.5 kB / 477.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1872, allocations: 12 kB / 477.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.1873, allocations: 11.98 kB / 477.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1873, allocations: 4 kB / 477.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1873, allocations: 0 / 477.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00065/0.188, allocations: 0.655 MB / 478.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.188, allocations: 0 / 478.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1883, allocations: 28 kB / 478.5 MB, free: 4.508 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * 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.001904/0.1902, allocations: 1.149 MB / 479.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1904, allocations: 71.95 kB / 479.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1904, allocations: 0 / 479.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1905, allocations: 43.91 kB / 479.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.191, allocations: 25.97 kB / 479.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.1947, allocations: 3.466 MB / 483.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.1952, allocations: 0.8302 MB / 484.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.727e-05/0.1953, allocations: 32.7 kB / 484.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1955, allocations: 111.4 kB / 484.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1955, allocations: 0 / 484.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.2132, allocations: 6.069 MB / 490.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/0.2135, allocations: 239.1 kB / 490.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.103, allocations: 0 / 490.5 MB, free: 8.586 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches