Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001874/0.001874, allocations: 106.4 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002264/0.002265, 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.476/1.476, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, 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: 83.61 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1391, allocations: 62.44 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003566/0.1427, allocations: 1.739 MB / 481.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1439, allocations: 0.5494 MB / 481.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.144, allocations: 0 / 481.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.1446, allocations: 463.1 kB / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.145, allocations: 279.5 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1454, allocations: 119.5 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.1457, allocations: 171.6 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1458, allocations: 16 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.146, allocations: 111.7 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1462, allocations: 207.6 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1462, allocations: 0 / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1464, allocations: 51.98 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1465, allocations: 83.67 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1466, allocations: 114.9 kB / 483.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1469, allocations: 259.2 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1469, allocations: 0 / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.147, allocations: 0 / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.147, allocations: 0 / 483.5 MB, free: 1.488 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.0007945/0.1478, allocations: 0.6531 MB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.1478, allocations: 12.88 kB / 484.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.1479, allocations: 34.73 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.148, allocations: 44.38 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1483, allocations: 312.1 kB / 484.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1483, allocations: 4.312 kB / 484.6 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1483, allocations: 4.375 kB / 484.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1485, allocations: 61.59 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1485, allocations: 4 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1485, allocations: 8 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1485, allocations: 0 / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1486, allocations: 27.97 kB / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1491, allocations: 400.6 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1493, allocations: 42.56 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.1493, allocations: 25.03 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1494, allocations: 3.938 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1494, allocations: 30.56 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1494, allocations: 4 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009428/0.1503, allocations: 311.7 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1504, allocations: 55.34 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.1512, allocations: 0.8738 MB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1512, allocations: 25.7 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1514, allocations: 224.1 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1514, allocations: 27.56 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.1515, allocations: 25.7 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1516, allocations: 366.8 kB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.004e-05/0.1517, allocations: 23.98 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.1518, allocations: 19.98 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.152, allocations: 68.77 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.152, allocations: 0 / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002281/0.1522, allocations: 141.3 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1522, allocations: 4 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1522, allocations: 0 / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1523, allocations: 3.984 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.1524, allocations: 19.94 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1524, allocations: 0 / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.1524, allocations: 11.98 kB / 487.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1525, allocations: 0 / 487.3 MB, free: 13.43 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 (8): * Single equations (assignments): 8 * 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.0001934/0.1527, allocations: 221.7 kB / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.1527, allocations: 43.44 kB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.153, allocations: 157.5 kB / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1531, allocations: 3.938 kB / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1531, allocations: 0 / 487.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1531, allocations: 4 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.1537, allocations: 0.507 MB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1537, allocations: 4 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.1538, allocations: 15.98 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1538, allocations: 4 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1538, allocations: 3.938 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1538, allocations: 0 / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1538, allocations: 4.422 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1541, allocations: 239.8 kB / 488.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.1542, allocations: 116.5 kB / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1542, allocations: 0 / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/0.1543, allocations: 8 kB / 488.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1544, allocations: 11.97 kB / 488.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1544, allocations: 8 kB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005918/0.155, allocations: 0.6589 MB / 489.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.155, allocations: 0 / 489.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1552, allocations: 28 kB / 489.3 MB, free: 11.29 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 (8): * Single equations (assignments): 8 * 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.001485/0.1567, allocations: 1.125 MB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.157, allocations: 71.89 kB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.157, allocations: 0 / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.1571, allocations: 31.98 kB / 490.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1575, allocations: 30.23 kB / 490.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.1613, allocations: 3.424 MB / 494 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1618, allocations: 0.8307 MB / 494.9 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.1618, allocations: 20.72 kB / 494.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.162, allocations: 111.4 kB / 495 MB, free: 5.656 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.162, allocations: 0 / 495 MB, free: 5.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.1797, allocations: 6.058 MB / 0.4893 GB, free: 15.67 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.1799, allocations: 232.4 kB / 0.4895 GB, free: 15.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.167, allocations: 0 / 0.4895 GB, free: 15.42 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches