Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 79.91 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003704/0.146, allocations: 2.03 MB / 482.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1481, allocations: 1.239 MB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1483, allocations: 8 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1486, allocations: 51.52 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.1491, allocations: 211.1 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.1501, allocations: 436.8 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.1504, allocations: 295.1 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1506, allocations: 60.98 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.1508, allocations: 123.5 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.151, allocations: 191.2 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.1511, allocations: 16 kB / 484.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1512, allocations: 63.98 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1514, allocations: 139.5 kB / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.1516, allocations: 174.6 kB / 485.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.1522, allocations: 394.6 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1522, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1522, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1522, allocations: 4 kB / 485.5 MB, free: 15.78 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.001341/0.1536, allocations: 0.7966 MB / 486.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1536, allocations: 12.03 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.1537, allocations: 42.73 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/0.1542, allocations: 72.17 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007874/0.155, allocations: 471.7 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.155, allocations: 4.375 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.155, allocations: 19.92 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.1554, allocations: 135.1 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1554, allocations: 0 / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1554, allocations: 4 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1555, allocations: 4 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.1558, allocations: 71.95 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1569, allocations: 0.6876 MB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.1572, allocations: 109.2 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1574, allocations: 57.77 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.1574, allocations: 8.141 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.1575, allocations: 34.56 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.1575, allocations: 3.938 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001881/0.1594, allocations: 0.5212 MB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1594, allocations: 81.11 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.1609, allocations: 0.9181 MB / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.161, allocations: 29.7 kB / 489.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.1612, allocations: 268.2 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.1613, allocations: 51.27 kB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.1614, allocations: 33.7 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1616, allocations: 378.7 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.1618, allocations: 55.91 kB / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1621, allocations: 73.67 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.1626, allocations: 137.6 kB / 490.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1626, allocations: 0 / 490.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007171/0.1633, allocations: 232.9 kB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1634, allocations: 8 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1634, allocations: 3.938 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1634, allocations: 4 kB / 490.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.1637, allocations: 35.97 kB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1637, allocations: 0 / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1639, allocations: 15.98 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.164, allocations: 8 kB / 490.9 MB, free: 10.16 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 (16): * Single equations (assignments): 16 * 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.000286/0.1643, allocations: 209.7 kB / 491.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.1645, allocations: 59.25 kB / 491.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/0.1654, allocations: 267.2 kB / 491.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1654, allocations: 4 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1654, allocations: 4 kB / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1654, allocations: 0 / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.1671, allocations: 0.7984 MB / 492.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1671, allocations: 0 / 492.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.1673, allocations: 35.97 kB / 492.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.1674, allocations: 0 / 492.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.1674, allocations: 4 kB / 492.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.1674, allocations: 11.88 kB / 492.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1674, allocations: 0 / 492.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.1683, allocations: 398 kB / 492.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.1686, allocations: 152.3 kB / 492.8 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.1687, allocations: 8 kB / 492.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.169, allocations: 15.92 kB / 492.8 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.1691, allocations: 15.98 kB / 492.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.1692, allocations: 7.984 kB / 492.8 MB, free: 8.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001207/0.1704, allocations: 0.6708 MB / 493.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1704, allocations: 0 / 493.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.1711, allocations: 59.98 kB / 493.6 MB, free: 7.363 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 (16): * Single equations (assignments): 16 * 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.002468/0.1735, allocations: 1.221 MB / 494.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.1742, allocations: 159.7 kB / 494.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1742, allocations: 0 / 494.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.1745, allocations: 75.89 kB / 495 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.1755, allocations: 91.02 kB / 495.1 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00947/0.185, allocations: 5.221 MB / 0.4886 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.1855, allocations: 0.8653 MB / 0.4894 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.1857, allocations: 79.22 kB / 0.4895 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.1859, allocations: 175.4 kB / 0.4897 GB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.186, allocations: 0 / 0.4897 GB, free: 15.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.2152, allocations: 9.718 MB / 0.4992 GB, free: 5.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.29, allocations: 3.891 kB / 0.4992 GB, free: 5.824 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches