Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 103.2 kB / 17.21 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.19 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1406, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00417/0.1449, allocations: 2.151 MB / 481.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1474, allocations: 1.388 MB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.1477, allocations: 11.88 kB / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.148, allocations: 43.7 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.1486, allocations: 191.4 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1501, allocations: 0.59 MB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005154/0.1506, allocations: 339 kB / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1508, allocations: 68.98 kB / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.1511, allocations: 135.3 kB / 484.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.1515, allocations: 199.2 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.1515, allocations: 8 kB / 484.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.1517, allocations: 63.92 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1519, allocations: 147.5 kB / 484.7 MB, free: 304 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.1521, allocations: 190.5 kB / 484.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.1526, allocations: 418.5 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1527, allocations: 0 / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1527, allocations: 0 / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.1527, allocations: 0 / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001322/0.154, allocations: 0.8394 MB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1541, allocations: 8.875 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1541, allocations: 42.73 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/0.1547, allocations: 104.1 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006711/0.1553, allocations: 0.4885 MB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1554, allocations: 8.375 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.1554, allocations: 15.94 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.1558, allocations: 159.2 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1558, allocations: 7.938 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1558, allocations: 4 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1558, allocations: 4 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.1562, allocations: 119.8 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1573, allocations: 0.7191 MB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1577, allocations: 145.1 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.1578, allocations: 65.81 kB / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.1579, allocations: 11.97 kB / 488 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1579, allocations: 38.5 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.1579, allocations: 0 / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002142/0.1601, allocations: 0.7517 MB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.1601, allocations: 81.11 kB / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1613, allocations: 0.9299 MB / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1613, allocations: 33.7 kB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.1616, allocations: 276.3 kB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.1616, allocations: 70.98 kB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1618, allocations: 37.7 kB / 490.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1619, allocations: 321.9 kB / 490.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.1622, allocations: 112.1 kB / 490.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.1625, allocations: 125.8 kB / 490.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.1631, allocations: 257.6 kB / 491 MB, free: 9.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1631, allocations: 7.938 kB / 491 MB, free: 9.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007486/0.1638, allocations: 348.6 kB / 491.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1639, allocations: 4 kB / 491.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1639, allocations: 4 kB / 491.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1639, allocations: 0 / 491.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1642, allocations: 47.95 kB / 491.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1642, allocations: 4 kB / 491.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.1644, allocations: 31.81 kB / 491.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.1645, allocations: 4 kB / 491.5 MB, free: 9.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002723/0.1647, allocations: 225.7 kB / 491.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.1649, allocations: 59.25 kB / 491.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009368/0.1658, allocations: 406.5 kB / 492.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.1658, allocations: 4 kB / 492.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.1659, allocations: 0 / 492.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1659, allocations: 3.984 kB / 492.2 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.1676, allocations: 0.9661 MB / 493.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1676, allocations: 0 / 493.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.1679, allocations: 59.88 kB / 493.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1679, allocations: 0 / 493.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.1679, allocations: 8 kB / 493.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1679, allocations: 3.938 kB / 493.2 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1679, allocations: 0 / 493.2 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.1688, allocations: 0.5135 MB / 493.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.1691, allocations: 160.3 kB / 493.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.1691, allocations: 4 kB / 493.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.1694, allocations: 23.91 kB / 493.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.1695, allocations: 19.97 kB / 493.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1695, allocations: 8 kB / 493.9 MB, free: 6.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009394/0.1705, allocations: 0.6786 MB / 494.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1705, allocations: 0 / 494.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.1709, allocations: 67.98 kB / 494.7 MB, free: 5.941 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.002067/0.173, allocations: 1.342 MB / 496 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.1736, allocations: 267.8 kB / 496.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1737, allocations: 0 / 496.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.174, allocations: 143.8 kB / 496.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.1748, allocations: 82.56 kB / 496.5 MB, free: 4.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/0.1834, allocations: 5.807 MB / 0.4905 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.184, allocations: 0.8921 MB / 0.4914 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.1843, allocations: 111.2 kB / 0.4915 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.1846, allocations: 187.4 kB / 0.4917 GB, free: 13.12 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1846, allocations: 0 / 0.4917 GB, free: 13.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.2096, allocations: 10.12 MB / 0.5016 GB, free: 3.082 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.2098, allocations: 239.3 kB / 0.5018 GB, free: 2.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.385, allocations: 3.938 kB / 0.5018 GB, free: 2.82 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches