Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, allocations: 106.8 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.001101/0.001101, 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.46/1.46, 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.2409/0.2409, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 77.22 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 62.44 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003549/0.1383, allocations: 1.727 MB / 481.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1403, allocations: 1.152 MB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.1403, allocations: 0 / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1406, allocations: 23.91 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.1409, allocations: 67.75 kB / 482.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.1413, allocations: 119.4 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1415, allocations: 71.77 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1416, allocations: 11.98 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.1417, allocations: 27.86 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.1418, allocations: 43.77 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1419, allocations: 4 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.1421, allocations: 91.94 kB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.1421, allocations: 15.92 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1422, allocations: 35.8 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1425, allocations: 147.9 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1425, allocations: 0 / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1425, allocations: 0 / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1425, allocations: 0 / 482.9 MB, free: 2.086 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.0006156/0.1431, allocations: 411.2 kB / 483.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1432, allocations: 8.875 kB / 483.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.1432, allocations: 42.73 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.1433, allocations: 8.844 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1435, allocations: 200.1 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1435, allocations: 8.375 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1436, allocations: 4.312 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1438, allocations: 75.33 kB / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1438, allocations: 0 / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1438, allocations: 0 / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1438, allocations: 0 / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.144, allocations: 43.95 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1444, allocations: 292.8 kB / 484 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1445, allocations: 46.55 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.1446, allocations: 28.94 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1446, allocations: 0 / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1447, allocations: 38.5 kB / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1447, allocations: 0 / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008391/0.1455, allocations: 217.2 kB / 484.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1456, allocations: 85.09 kB / 484.4 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1458, allocations: 150 kB / 484.5 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1458, allocations: 29.7 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.1459, allocations: 100.1 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.1459, allocations: 11.72 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.146, allocations: 25.7 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1461, allocations: 318.8 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1463, allocations: 35.97 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1464, allocations: 49.61 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1466, allocations: 72.81 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1466, allocations: 7.969 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002782/0.1469, allocations: 113.5 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1469, allocations: 4 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1469, allocations: 0 / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.147, allocations: 0 / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1471, allocations: 23.92 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1471, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.1472, allocations: 27.86 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1472, allocations: 0 / 485.3 MB, free: 15.41 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 0.0001123/0.1473, allocations: 117.8 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.1474, allocations: 7.906 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.1477, allocations: 122.3 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1477, allocations: 4 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1477, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1478, allocations: 4.219 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.1483, allocations: 406.3 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1484, allocations: 0 / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.1485, allocations: 19.98 kB / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1485, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1485, allocations: 7.922 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1485, allocations: 0 / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1485, allocations: 480 / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.1488, allocations: 211.3 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.1489, allocations: 89 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.149, allocations: 11.94 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1491, allocations: 11.98 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1491, allocations: 3.984 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1491, allocations: 4 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1492, allocations: 117.7 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1492, allocations: 3.938 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.1496, allocations: 44 kB / 486.5 MB, free: 14.14 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.001726/0.1513, allocations: 1.127 MB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.1516, allocations: 79.92 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1516, allocations: 4 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1518, allocations: 47.89 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1521, allocations: 14.81 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1544, allocations: 1.599 MB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1547, allocations: 0.7004 MB / 490.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.303e-05/0.1548, allocations: 16.66 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.1549, allocations: 31.61 kB / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1549, allocations: 3.938 kB / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.1761, allocations: 3.249 MB / 493.4 MB, free: 7.387 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.1765, allocations: 243.5 kB / 493.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.189, allocations: 0 / 493.6 MB, free: 7.129 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches