Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001258/0.001258, allocations: 108.9 kB / 17.33 MB, free: 5.984 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.001274/0.001274, allocations: 193.3 kB / 18.25 MB, free: 5.074 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.459/1.459, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2403/0.2403, allocations: 44.17 MB / 336.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 65.03 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.004509/0.1567, allocations: 1.688 MB / 470.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1579, allocations: 459.1 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.158, allocations: 0 / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1585, allocations: 43.88 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1588, allocations: 63.81 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.1595, allocations: 165.2 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1597, allocations: 79.77 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.1599, allocations: 19.98 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.763e-05/0.16, allocations: 39.84 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1601, allocations: 47.83 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1601, allocations: 4 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1603, allocations: 51.97 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.1604, allocations: 23.92 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.1605, allocations: 31.8 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1608, allocations: 115.8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1608, allocations: 0 / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.1608, allocations: 0 / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1608, allocations: 3.938 kB / 471.6 MB, free: 11.79 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.0007342/0.1616, allocations: 411 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.1616, allocations: 8.031 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.1617, allocations: 38.75 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.1618, allocations: 8.844 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1621, allocations: 209.7 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1621, allocations: 4.375 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.1621, allocations: 8.312 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.1624, allocations: 69.55 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1624, allocations: 3.906 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1624, allocations: 4 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1624, allocations: 4 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1626, allocations: 39.95 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.1632, allocations: 324.7 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.1635, allocations: 58.53 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1637, allocations: 28.97 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1637, allocations: 4 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1638, allocations: 34.56 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.1638, allocations: 0 / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001957/0.1657, allocations: 424.7 kB / 473.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1658, allocations: 55.41 kB / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1661, allocations: 186.2 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1661, allocations: 33.7 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.1662, allocations: 100.1 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.1663, allocations: 39.44 kB / 473.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.1663, allocations: 21.72 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1665, allocations: 326.8 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.1667, allocations: 55.95 kB / 474.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.1669, allocations: 52.52 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.1673, allocations: 124.7 kB / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1673, allocations: 0 / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004701/0.1678, allocations: 173.4 kB / 474.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1678, allocations: 6.656 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1678, allocations: 0 / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.1679, allocations: 7.938 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.168, allocations: 23.98 kB / 474.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1681, allocations: 4 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1682, allocations: 15.98 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1682, allocations: 4 kB / 474.5 MB, free: 8.707 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.0001555/0.1684, allocations: 137.8 kB / 474.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.1684, allocations: 7.906 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/0.169, allocations: 190.6 kB / 474.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.169, allocations: 3.938 kB / 474.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.169, allocations: 3.938 kB / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.1691, allocations: 4 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1701, allocations: 0.4921 MB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1701, allocations: 4 kB / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1703, allocations: 23.98 kB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1703, allocations: 4.062 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.1703, allocations: 8 kB / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.1703, allocations: 7.922 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1704, allocations: 0 / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.1709, allocations: 269 kB / 475.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/0.171, allocations: 92.91 kB / 475.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.1711, allocations: 4 kB / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1712, allocations: 11.98 kB / 475.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.1713, allocations: 11.92 kB / 475.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1713, allocations: 8 kB / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.1715, allocations: 144.1 kB / 475.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1715, allocations: 4 kB / 475.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.1719, allocations: 27.98 kB / 475.9 MB, free: 7.148 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.002248/0.1742, allocations: 1.154 MB / 477.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005048/0.1747, allocations: 139.9 kB / 477.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1747, allocations: 0 / 477.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.175, allocations: 67.89 kB / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.1756, allocations: 27.92 kB / 477.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.1789, allocations: 1.896 MB / 479.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.1794, allocations: 0.7158 MB / 479.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.1796, allocations: 28.53 kB / 479.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1797, allocations: 35.42 kB / 480 MB, free: 3.117 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1797, allocations: 0 / 480 MB, free: 3.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.1975, allocations: 3.229 MB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/0.1978, allocations: 236.3 kB / 483.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.015, allocations: 0 / 483.4 MB, free: 15.72 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches