Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.0009731/0.0009731, allocations: 106.7 kB / 17.33 MB, free: 6.02 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.001001/0.001001, allocations: 193.3 kB / 18.25 MB, free: 5.109 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.468/1.468, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2499/0.2499, allocations: 44.18 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.17 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.154, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003185/0.1573, allocations: 1.699 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007517/0.158, allocations: 443.2 kB / 471 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.1581, allocations: 4 kB / 471 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1584, allocations: 47.86 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1586, allocations: 47.83 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.159, allocations: 169.7 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1591, allocations: 75.77 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1592, allocations: 20 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.1593, allocations: 35.83 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.993e-05/0.1594, allocations: 43.83 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1594, allocations: 8 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.1595, allocations: 51.98 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.1596, allocations: 23.86 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1596, allocations: 27.8 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1598, allocations: 107.9 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1598, allocations: 0 / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1598, allocations: 3.938 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1598, allocations: 4 kB / 471.6 MB, free: 11.85 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.0004988/0.1603, allocations: 407 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1604, allocations: 16.03 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.1604, allocations: 34.75 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.1605, allocations: 8.844 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1607, allocations: 200.7 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1607, allocations: 8.125 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1607, allocations: 4 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1609, allocations: 69.59 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1609, allocations: 0 / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1609, allocations: 0 / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1609, allocations: 8 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1611, allocations: 39.97 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.1615, allocations: 324.6 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1618, allocations: 62.55 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.1618, allocations: 28.95 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1619, allocations: 0 / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1619, allocations: 34.56 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/0.1619, allocations: 0 / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001406/0.1633, allocations: 421.3 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1634, allocations: 51.41 kB / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1635, allocations: 176 kB / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1635, allocations: 33.7 kB / 473.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.1636, allocations: 108 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1637, allocations: 35.53 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.1637, allocations: 21.72 kB / 473.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1638, allocations: 330.8 kB / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1639, allocations: 51.95 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1641, allocations: 51.95 kB / 474.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.1643, allocations: 124.8 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1643, allocations: 4 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003009/0.1646, allocations: 169.2 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1647, allocations: 11.94 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1647, allocations: 0 / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1647, allocations: 0 / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1648, allocations: 27.97 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1648, allocations: 0 / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.1649, allocations: 12 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.1649, allocations: 4 kB / 474.4 MB, free: 8.797 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.0001008/0.165, allocations: 137.8 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.165, allocations: 11.84 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.1654, allocations: 190.7 kB / 474.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1655, allocations: 4 kB / 474.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1655, allocations: 3.938 kB / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1655, allocations: 0 / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.1661, allocations: 0.4921 MB / 475.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1661, allocations: 8.062 kB / 475.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.1662, allocations: 23.98 kB / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1662, allocations: 0 / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1662, allocations: 0 / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1663, allocations: 7.938 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1663, allocations: 3.984 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.1666, allocations: 265 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1667, allocations: 96.91 kB / 475.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.1667, allocations: 0 / 475.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.1668, allocations: 15.98 kB / 475.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.1669, allocations: 11.92 kB / 475.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1669, allocations: 8.062 kB / 475.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.634e-05/0.167, allocations: 138.9 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.167, allocations: 0 / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1673, allocations: 31.94 kB / 475.9 MB, free: 7.25 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.001535/0.1688, allocations: 1.155 MB / 477 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.1692, allocations: 131.8 kB / 477.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1692, allocations: 0 / 477.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1693, allocations: 71.89 kB / 477.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1697, allocations: 18.64 kB / 477.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1718, allocations: 1.89 MB / 479.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1721, allocations: 0.708 MB / 479.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.041e-05/0.1722, allocations: 32.52 kB / 479.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.1722, allocations: 35.42 kB / 479.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1722, allocations: 0 / 479.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.1854, allocations: 3.159 MB / 483 MB, free: 188 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.1857, allocations: 237.6 kB / 483.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/1.99, allocations: 8 kB / 483.3 MB, free: 15.92 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches