Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001103/0.001103, allocations: 106.5 kB / 17.2 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.001306/0.001306, 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.496/1.496, allocations: 222.9 MB / 241.8 MB, free: 15.46 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.2347/0.2347, allocations: 44.18 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 69.02 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00496/0.1541, allocations: 1.629 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1555, allocations: 431.2 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.1556, allocations: 4 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.1566, allocations: 455.1 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000512/0.1571, allocations: 243.5 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.1579, allocations: 151 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.1583, allocations: 159.7 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1585, allocations: 12.17 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.1587, allocations: 107.7 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.159, allocations: 203.6 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.1591, allocations: 7.984 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1592, allocations: 19.98 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1594, allocations: 79.69 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1595, allocations: 103 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.16, allocations: 239.3 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.16, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.16, allocations: 4 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.16, allocations: 3.938 kB / 472.4 MB, free: 10.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00131/0.1613, allocations: 0.6375 MB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.1614, allocations: 12.03 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.366e-05/0.1615, allocations: 30.75 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1616, allocations: 36.47 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.162, allocations: 296.2 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1621, allocations: 4.375 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1621, allocations: 12.12 kB / 473.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1624, allocations: 49.67 kB / 473.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1624, allocations: 0 / 473.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1624, allocations: 7.938 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1624, allocations: 4 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.1627, allocations: 35.97 kB / 473.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.1634, allocations: 400.7 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1636, allocations: 46.55 kB / 474 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1637, allocations: 24.94 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.1638, allocations: 3.938 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.1638, allocations: 30.56 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.1639, allocations: 4 kB / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006265/0.1645, allocations: 125.2 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.1646, allocations: 55.34 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.1658, allocations: 0.8652 MB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1658, allocations: 25.7 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.1661, allocations: 219.9 kB / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.1661, allocations: 7.844 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.1662, allocations: 21.72 kB / 475.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1664, allocations: 362.7 kB / 475.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1665, allocations: 19.98 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.1666, allocations: 15.92 kB / 475.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1668, allocations: 44.83 kB / 475.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1668, allocations: 0 / 475.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002672/0.1671, allocations: 117.1 kB / 475.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1671, allocations: 4 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1671, allocations: 0 / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1671, allocations: 0 / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1673, allocations: 11.98 kB / 475.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1673, allocations: 0 / 475.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.1674, allocations: 4 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1674, allocations: 0 / 475.9 MB, free: 7.191 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 (3): * Single equations (assignments): 3 * 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.000259/0.1677, allocations: 225.6 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.1678, allocations: 39.53 kB / 476.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.1681, allocations: 125 kB / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1681, allocations: 0 / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1681, allocations: 0 / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1681, allocations: 0 / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.1685, allocations: 293.4 kB / 476.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1685, allocations: 4 kB / 476.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.1686, allocations: 11.98 kB / 476.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1686, allocations: 0 / 476.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1686, allocations: 4 kB / 476.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1686, allocations: 0 / 476.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1687, allocations: 3.984 kB / 476.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.169, allocations: 206.9 kB / 476.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.1691, allocations: 108.5 kB / 476.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1691, allocations: 8 kB / 476.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1692, allocations: 11.98 kB / 477 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.1693, allocations: 8 kB / 477 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1693, allocations: 0 / 477 MB, free: 6.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000855/0.1702, allocations: 0.6511 MB / 477.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1702, allocations: 3.938 kB / 477.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1706, allocations: 19.94 kB / 477.6 MB, free: 5.383 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 (3): * Single equations (assignments): 3 * 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.001512/0.1721, allocations: 0.9995 MB / 478.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1723, allocations: 39.97 kB / 478.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1723, allocations: 4 kB / 478.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.1724, allocations: 19.98 kB / 478.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1728, allocations: 21.95 kB / 478.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.1767, allocations: 3.278 MB / 482 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.1771, allocations: 0.8185 MB / 482.8 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.726e-05/0.1772, allocations: 11.98 kB / 482.8 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1774, allocations: 107.4 kB / 482.9 MB, free: 76 kB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1774, allocations: 0 / 482.9 MB, free: 76 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.1939, allocations: 5.52 MB / 488.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.1942, allocations: 235.3 kB / 488.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.082, allocations: 0 / 488.7 MB, free: 10.4 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches