Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001644/0.001644, allocations: 101.5 kB / 17.63 MB, free: 5.344 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.001142/0.001142, allocations: 192 kB / 18.56 MB, free: 4.434 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.454/1.454, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.2053/0.2053, allocations: 44.17 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001653, allocations: 54.16 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.153, allocations: 60.83 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.004695/0.1577, allocations: 1.638 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1589, allocations: 443.1 kB / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.159, allocations: 0 / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1594, allocations: 75.77 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1598, allocations: 63.75 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.1604, allocations: 191.2 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1606, allocations: 75.83 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1608, allocations: 23.98 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.1609, allocations: 43.83 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1611, allocations: 51.77 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1611, allocations: 7.984 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.1613, allocations: 47.98 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.1614, allocations: 23.92 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.1614, allocations: 35.73 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1617, allocations: 111.9 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1617, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1617, allocations: 0 / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1617, allocations: 4 kB / 472.2 MB, free: 11.41 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.0007103/0.1624, allocations: 422.9 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.1625, allocations: 8.031 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.117e-05/0.1626, allocations: 42.67 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1626, allocations: 8.844 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1629, allocations: 206.7 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1629, allocations: 4.375 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.163, allocations: 4.281 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.1632, allocations: 73.61 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1632, allocations: 3.938 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1633, allocations: 0 / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1633, allocations: 4 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.1634, allocations: 43.95 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.164, allocations: 316.8 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1643, allocations: 66.58 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.003e-05/0.1644, allocations: 28.95 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1644, allocations: 0 / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1645, allocations: 30.56 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1645, allocations: 4 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001681/0.1662, allocations: 433 kB / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.1663, allocations: 55.34 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1665, allocations: 218.1 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1666, allocations: 29.7 kB / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.1667, allocations: 108.1 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.1667, allocations: 47.33 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.1668, allocations: 21.72 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.167, allocations: 330.8 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.1671, allocations: 47.97 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1673, allocations: 51.95 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.1676, allocations: 128.8 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1676, allocations: 0 / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003692/0.168, allocations: 161.5 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.168, allocations: 11.92 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.168, allocations: 3.984 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.168, allocations: 11.92 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1682, allocations: 23.98 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1682, allocations: 4 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.1683, allocations: 7.984 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1683, allocations: 8 kB / 475.1 MB, free: 8.262 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 (11): * Single equations (assignments): 11 * 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.0001465/0.1684, allocations: 129.8 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1685, allocations: 11.81 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.1689, allocations: 190.9 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.169, allocations: 7.938 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.169, allocations: 0 / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.169, allocations: 3.984 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/0.1698, allocations: 0.5038 MB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1698, allocations: 0 / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1699, allocations: 27.98 kB / 476 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1699, allocations: 0 / 476 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.17, allocations: 4 kB / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.17, allocations: 0 / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.17, allocations: 0 / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.1704, allocations: 277.5 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.1705, allocations: 92.91 kB / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1705, allocations: 8.188 kB / 476.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1706, allocations: 15.98 kB / 476.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.1707, allocations: 15.98 kB / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1707, allocations: 0 / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1709, allocations: 161.6 kB / 476.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1709, allocations: 3.938 kB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1712, allocations: 24 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001868/0.1731, allocations: 1.153 MB / 477.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.1735, allocations: 131.8 kB / 477.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1735, allocations: 4 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1737, allocations: 72.02 kB / 477.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.1742, allocations: 26.61 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.177, allocations: 1.932 MB / 479.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.1774, allocations: 0.7275 MB / 480.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1775, allocations: 28.52 kB / 480.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.1776, allocations: 43.42 kB / 480.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1776, allocations: 192 / 480.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.2074, allocations: 3.467 MB / 484.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.835, allocations: 6.641 kB / 484.1 MB, free: 15.21 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches