Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001224/0.001224, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001146/0.001146, allocations: 194 kB / 18.12 MB, free: 5.383 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.488/1.488, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2343/0.2343, allocations: 44.18 MB / 336.1 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 68.27 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.154, allocations: 60.82 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003499/0.1575, allocations: 1.703 MB / 470.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.1585, allocations: 463.1 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.1586, allocations: 0 / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.1592, allocations: 443.2 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.1596, allocations: 247.5 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.1601, allocations: 162.2 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.1604, allocations: 163.6 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1605, allocations: 31.97 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1607, allocations: 103.7 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.1609, allocations: 211.5 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.161, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1611, allocations: 47.97 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1612, allocations: 95.62 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.435e-05/0.1613, allocations: 103 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.1618, allocations: 267.2 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1618, allocations: 3.938 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1618, allocations: 0 / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1618, allocations: 0 / 472.6 MB, free: 10.7 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.0008262/0.1626, allocations: 0.6492 MB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1627, allocations: 8.031 kB / 473.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.1627, allocations: 34.75 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.1628, allocations: 48.38 kB / 473.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.1632, allocations: 308.1 kB / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1632, allocations: 384 / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1632, allocations: 8.375 kB / 473.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1634, allocations: 65.61 kB / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1634, allocations: 0 / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1634, allocations: 0 / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1634, allocations: 4 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1636, allocations: 47.89 kB / 473.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.1642, allocations: 416.6 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1644, allocations: 66.58 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.1645, allocations: 28.97 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1646, allocations: 3.938 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1646, allocations: 30.56 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.1646, allocations: 0 / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001553/0.1662, allocations: 0.4998 MB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1662, allocations: 59.41 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008668/0.1671, allocations: 0.8535 MB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1671, allocations: 25.7 kB / 475.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1673, allocations: 216.1 kB / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.1673, allocations: 39.45 kB / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.1674, allocations: 25.72 kB / 476 MB, free: 7.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1675, allocations: 366.7 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1677, allocations: 51.97 kB / 476.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1678, allocations: 51.95 kB / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.1681, allocations: 124.8 kB / 476.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1681, allocations: 3.938 kB / 476.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003587/0.1685, allocations: 197.4 kB / 476.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1685, allocations: 10.34 kB / 476.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1685, allocations: 0 / 476.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1685, allocations: 3.938 kB / 476.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1686, allocations: 27.92 kB / 476.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1687, allocations: 0 / 476.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.1687, allocations: 11.98 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1688, allocations: 4 kB / 476.9 MB, free: 6.219 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.000194/0.169, allocations: 221.8 kB / 477.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.169, allocations: 43.44 kB / 477.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.1695, allocations: 233.3 kB / 477.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.1695, allocations: 3.938 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1695, allocations: 0 / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1695, allocations: 4 kB / 477.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008063/0.1703, allocations: 0.5975 MB / 478 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1704, allocations: 4 kB / 478 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1705, allocations: 28.03 kB / 478 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1705, allocations: 7.984 kB / 478 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1705, allocations: 8 kB / 478 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1705, allocations: 0 / 478 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1705, allocations: 0 / 478 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.1709, allocations: 312.5 kB / 478.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.171, allocations: 108.6 kB / 478.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1711, allocations: 4 kB / 478.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1712, allocations: 11.98 kB / 478.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1713, allocations: 7.984 kB / 478.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1713, allocations: 8.125 kB / 478.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000657/0.1719, allocations: 0.6511 MB / 479.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1719, allocations: 4 kB / 479.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1722, allocations: 39.91 kB / 479.1 MB, free: 3.82 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.001857/0.1741, allocations: 1.183 MB / 480.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.1745, allocations: 131.9 kB / 480.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1745, allocations: 0 / 480.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1746, allocations: 67.89 kB / 480.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.1751, allocations: 25.95 kB / 480.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.1796, allocations: 3.632 MB / 484.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.1801, allocations: 0.8419 MB / 485 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1802, allocations: 28.52 kB / 485 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.1804, allocations: 123.4 kB / 485.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.154e-06/0.1804, allocations: 0 / 485.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.2004, allocations: 6.27 MB / 491.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/0.2008, allocations: 232.4 kB / 491.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.063, allocations: 64 / 491.7 MB, free: 7.391 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches