Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002249/0.002249, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 71.55 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1457, allocations: 62.45 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003989/0.1497, allocations: 1.72 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1519, allocations: 1.175 MB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.152, allocations: 0 / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1523, allocations: 23.91 kB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1527, allocations: 71.77 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.1533, allocations: 163 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1534, allocations: 75.78 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1536, allocations: 23.98 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.1537, allocations: 39.78 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1539, allocations: 43.83 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1539, allocations: 4 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.1541, allocations: 87.95 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.1542, allocations: 31.84 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1542, allocations: 27.8 kB / 483.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1546, allocations: 147.9 kB / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1546, allocations: 4 kB / 483.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1546, allocations: 0 / 483.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1546, allocations: 0 / 483.2 MB, free: 1.887 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007505/0.1554, allocations: 419.1 kB / 483.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1554, allocations: 8.031 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.1555, allocations: 34.75 kB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.1555, allocations: 8.844 kB / 483.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1558, allocations: 206.5 kB / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1558, allocations: 384 / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1559, allocations: 8.375 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1561, allocations: 83.3 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1561, allocations: 0 / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1561, allocations: 8 kB / 484 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1561, allocations: 0 / 484 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1563, allocations: 39.95 kB / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.1569, allocations: 316.7 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.157, allocations: 42.56 kB / 484.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.718e-05/0.1571, allocations: 28.94 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1571, allocations: 0 / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1572, allocations: 38.55 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1572, allocations: 3.938 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008531/0.158, allocations: 229.2 kB / 484.7 MB, free: 268 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1581, allocations: 85.11 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1583, allocations: 161.8 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1583, allocations: 25.7 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1585, allocations: 104 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.1585, allocations: 19.72 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.1586, allocations: 21.7 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1588, allocations: 318.8 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.1589, allocations: 43.95 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.159, allocations: 49.69 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.1593, allocations: 84.8 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1593, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003114/0.1596, allocations: 129.8 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1596, allocations: 4 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1596, allocations: 0 / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1596, allocations: 0 / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1598, allocations: 23.92 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.1598, allocations: 3.984 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.218e-05/0.1599, allocations: 23.77 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1599, allocations: 4 kB / 485.7 MB, free: 15.11 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 (7): * Single equations (assignments): 7 * 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 9.38e-05/0.16, allocations: 125.8 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.16, allocations: 7.906 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.1604, allocations: 142.5 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1604, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1604, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1604, allocations: 7.938 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.1611, allocations: 418.5 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1612, allocations: 0 / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.1613, allocations: 15.98 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1613, allocations: 4 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1613, allocations: 7.938 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1613, allocations: 7.938 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1613, allocations: 0 / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.1617, allocations: 215.4 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.1618, allocations: 92.94 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1618, allocations: 3.938 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1619, allocations: 23.98 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.162, allocations: 7.984 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.162, allocations: 0 / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1621, allocations: 121.5 kB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1621, allocations: 0 / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1624, allocations: 40 kB / 487 MB, free: 13.79 MB / 366.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 (7): * Single equations (assignments): 7 * 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.001728/0.1641, allocations: 1.147 MB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.1645, allocations: 91.92 kB / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1645, allocations: 3.938 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1647, allocations: 47.97 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.1651, allocations: 22.98 kB / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1673, allocations: 1.667 MB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1676, allocations: 0.7007 MB / 490.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.1677, allocations: 28.72 kB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.1678, allocations: 31.42 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1678, allocations: 0 / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.1852, allocations: 3.398 MB / 494.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.1855, allocations: 241.9 kB / 494.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.172, allocations: 4 kB / 494.3 MB, free: 6.527 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches