Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, 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.001365/0.001364, 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.423/1.423, 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.2321/0.2321, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.5 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1438, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004042/0.1479, allocations: 1.67 MB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.149, allocations: 0.5649 MB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.52e-05/0.1491, allocations: 0 / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005922/0.1498, allocations: 455.1 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.1504, allocations: 291.3 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.1508, allocations: 143.1 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.1511, allocations: 175.6 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1513, allocations: 28.2 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1515, allocations: 115.7 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.1517, allocations: 219.5 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1517, allocations: 4 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1519, allocations: 51.98 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.152, allocations: 91.67 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.646e-05/0.1521, allocations: 106.9 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.1525, allocations: 279.2 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1525, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1525, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1525, allocations: 0 / 484.3 MB, free: 0.9961 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.0009443/0.1535, allocations: 0.6569 MB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.1535, allocations: 8.031 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.1536, allocations: 42.69 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.1537, allocations: 44.38 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1541, allocations: 304.1 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1541, allocations: 4.375 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1541, allocations: 4.375 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.1543, allocations: 65.61 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1544, allocations: 3.938 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1544, allocations: 0 / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1544, allocations: 0 / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1545, allocations: 47.95 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.1551, allocations: 396.6 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1554, allocations: 58.58 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.911e-05/0.1555, allocations: 28.97 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1555, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1556, allocations: 34.56 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.1556, allocations: 0 / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001637/0.1572, allocations: 483.9 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1573, allocations: 59.28 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/0.1581, allocations: 0.8737 MB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1581, allocations: 29.7 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1583, allocations: 216.1 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.1584, allocations: 35.45 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.1584, allocations: 25.72 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1586, allocations: 362.8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1587, allocations: 43.97 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1588, allocations: 43.91 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1591, allocations: 100.8 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1591, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003395/0.1594, allocations: 177 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1594, allocations: 7.938 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1595, allocations: 0 / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1595, allocations: 3.938 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1596, allocations: 31.97 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1596, allocations: 4 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.1597, allocations: 4 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1597, allocations: 11.98 kB / 488.4 MB, free: 12.6 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.0002238/0.16, allocations: 213.8 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.1601, allocations: 43.44 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.1605, allocations: 209.8 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1606, allocations: 3.938 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1606, allocations: 4 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1606, allocations: 4 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008492/0.1614, allocations: 0.5701 MB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1615, allocations: 0 / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1616, allocations: 28.05 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1616, allocations: 7.984 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1616, allocations: 0 / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1616, allocations: 0 / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.1616, allocations: 4 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.1621, allocations: 292.6 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/0.1621, allocations: 112.5 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.1622, allocations: 11.98 kB / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1623, allocations: 12.17 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1624, allocations: 7.984 kB / 489.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1624, allocations: 8 kB / 489.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00058/0.163, allocations: 0.655 MB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.163, allocations: 4 kB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1633, allocations: 36 kB / 490.6 MB, free: 10.27 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.001697/0.165, allocations: 1.16 MB / 491.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.1653, allocations: 107.9 kB / 491.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1653, allocations: 0 / 491.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1655, allocations: 63.84 kB / 492 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.1659, allocations: 29.86 kB / 492 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.1701, allocations: 3.485 MB / 495.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.1706, allocations: 0.8377 MB / 496.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.803e-05/0.1707, allocations: 16.55 kB / 496.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1708, allocations: 111.4 kB / 496.4 MB, free: 4.477 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1709, allocations: 0 / 496.4 MB, free: 4.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09859/0.2694, allocations: 6.4 MB / 0.4911 GB, free: 14.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.192, allocations: 5.141 kB / 0.4911 GB, free: 14.13 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches