Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 71.38 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1527, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003603/0.1564, allocations: 1.683 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1575, allocations: 0.5805 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.1576, allocations: 0 / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1579, allocations: 79.7 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.1583, allocations: 103.6 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1588, allocations: 182.9 kB / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.159, allocations: 95.75 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1591, allocations: 20.23 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.1592, allocations: 43.83 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1593, allocations: 55.81 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.1594, allocations: 4 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1595, allocations: 47.98 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.1596, allocations: 27.91 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.1596, allocations: 39.67 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1599, allocations: 127.8 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1599, allocations: 4 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1599, allocations: 0 / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1599, allocations: 0 / 483.2 MB, free: 2.078 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.0005715/0.1605, allocations: 430.9 kB / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1605, allocations: 12.03 kB / 483.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.1606, allocations: 34.73 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.1606, allocations: 12.75 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1608, allocations: 204.1 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1609, allocations: 4.375 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.1609, allocations: 8.375 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1611, allocations: 73.53 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1611, allocations: 3.906 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1611, allocations: 4 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1611, allocations: 0 / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.1613, allocations: 43.95 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.1618, allocations: 324.7 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1621, allocations: 62.55 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1622, allocations: 28.95 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1622, allocations: 3.938 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1622, allocations: 38.56 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1622, allocations: 0 / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001537/0.1638, allocations: 433 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1638, allocations: 51.41 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1641, allocations: 223.2 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1641, allocations: 29.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1642, allocations: 112.1 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.1642, allocations: 39.44 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.1643, allocations: 25.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1644, allocations: 330.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1646, allocations: 51.95 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1647, allocations: 51.97 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.165, allocations: 128.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.165, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00034/0.1654, allocations: 173.4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1654, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1654, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1654, allocations: 3.938 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1655, allocations: 31.97 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1656, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.1656, allocations: 8 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1657, allocations: 7.984 kB / 486.1 MB, free: 14.91 MB / 366.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.000112/0.1658, allocations: 137.8 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.1658, allocations: 15.81 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.1663, allocations: 187.4 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1663, allocations: 3.938 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1663, allocations: 4 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1663, allocations: 7.969 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/0.167, allocations: 0.4961 MB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.167, allocations: 3.984 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1671, allocations: 23.98 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1671, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1671, allocations: 8.062 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1671, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1672, allocations: 7.938 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.1676, allocations: 285 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.1676, allocations: 92.91 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1676, allocations: 0 / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1678, allocations: 15.98 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1678, allocations: 4 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1678, allocations: 7.984 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.168, allocations: 172.2 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.168, allocations: 0 / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1683, allocations: 28 kB / 487.6 MB, free: 13.31 MB / 366.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.001628/0.1699, allocations: 1.163 MB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.1703, allocations: 131.9 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1703, allocations: 4 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1705, allocations: 71.89 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1709, allocations: 26.92 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.1733, allocations: 1.966 MB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1736, allocations: 0.7236 MB / 491.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.623e-05/0.1737, allocations: 32.53 kB / 491.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/0.1738, allocations: 43.42 kB / 491.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1738, allocations: 0 / 491.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1977, allocations: 3.53 MB / 495.3 MB, free: 5.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.511, allocations: 24.92 kB / 495.3 MB, free: 5.688 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches