Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.00113/0.00113, allocations: 108.9 kB / 17.33 MB, free: 6 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.0012/0.0012, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.431/1.431, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2352/0.2352, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001352, allocations: 68.3 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1476, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004522/0.1522, allocations: 1.992 MB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.154, allocations: 0.8534 MB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1543, allocations: 0 / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.1549, allocations: 235.5 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005322/0.1555, allocations: 175.5 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1567, allocations: 460.3 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004992/0.1573, allocations: 279.3 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.1575, allocations: 72.83 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.1577, allocations: 131.4 kB / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.1581, allocations: 191.4 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.1581, allocations: 12 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.1583, allocations: 71.95 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.1585, allocations: 95.62 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.1587, allocations: 115.1 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.1591, allocations: 306.8 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1592, allocations: 0 / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1592, allocations: 0 / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1592, allocations: 0 / 473.8 MB, free: 9.66 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009503/0.1601, allocations: 0.6458 MB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.1602, allocations: 8.031 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.1603, allocations: 42.73 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1604, allocations: 48.31 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.1608, allocations: 314.2 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1608, allocations: 12.38 kB / 474.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.1609, allocations: 16.36 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.1612, allocations: 97.59 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.1612, allocations: 19.83 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1612, allocations: 0 / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1613, allocations: 4 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.1615, allocations: 71.89 kB / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1625, allocations: 496.3 kB / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1628, allocations: 90.48 kB / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.1628, allocations: 36.84 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.1629, allocations: 11.98 kB / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.1629, allocations: 34.5 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.163, allocations: 0 / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001148/0.1641, allocations: 380 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.1642, allocations: 59.33 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.1649, allocations: 0.5409 MB / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1649, allocations: 33.69 kB / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1651, allocations: 212.3 kB / 476.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.1652, allocations: 51.19 kB / 476.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.1653, allocations: 37.7 kB / 477 MB, free: 6.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1655, allocations: 350.8 kB / 477.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1656, allocations: 47.97 kB / 477.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1657, allocations: 54.33 kB / 477.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.166, allocations: 132.6 kB / 477.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.166, allocations: 0 / 477.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003562/0.1663, allocations: 191 kB / 477.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1664, allocations: 4 kB / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1664, allocations: 0 / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1664, allocations: 0 / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1666, allocations: 47.91 kB / 477.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1666, allocations: 3.984 kB / 477.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.1667, allocations: 4 kB / 477.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1667, allocations: 8 kB / 477.8 MB, free: 5.383 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 (17): * Single equations (assignments): 17 * 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.000178/0.1669, allocations: 177.7 kB / 478 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.167, allocations: 35.53 kB / 478 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.1674, allocations: 237.4 kB / 478.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1675, allocations: 0 / 478.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1675, allocations: 3.938 kB / 478.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1675, allocations: 7.984 kB / 478.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.1683, allocations: 0.6287 MB / 478.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1683, allocations: 0 / 478.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1684, allocations: 31.98 kB / 478.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1684, allocations: 0 / 478.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1685, allocations: 4 kB / 478.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.954e-06/0.1685, allocations: 7.938 kB / 478.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1685, allocations: 0 / 478.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1689, allocations: 302.9 kB / 479.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.169, allocations: 108.7 kB / 479.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.169, allocations: 8 kB / 479.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1692, allocations: 15.92 kB / 479.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.1692, allocations: 7.984 kB / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1693, allocations: 12 kB / 479.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004418/0.1697, allocations: 403.1 kB / 479.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1697, allocations: 0 / 479.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.1701, allocations: 55.89 kB / 479.8 MB, free: 3.258 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002801/0.1729, allocations: 1.424 MB / 481.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.1733, allocations: 139.9 kB / 481.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1733, allocations: 0 / 481.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1735, allocations: 71.91 kB / 481.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.1742, allocations: 75.36 kB / 481.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.1783, allocations: 3.154 MB / 484.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.1788, allocations: 0.8026 MB / 485.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.1789, allocations: 49.91 kB / 485.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.1791, allocations: 119.4 kB / 485.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1791, allocations: 4 kB / 485.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.1978, allocations: 7.011 MB / 492.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.1981, allocations: 233.8 kB / 492.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.118, allocations: 0 / 492.9 MB, free: 6.48 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches