Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 106 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002433/0.002433, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2252/0.2252, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001639, allocations: 73.62 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1274, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003331/0.1307, allocations: 1.616 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.1314, allocations: 327.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.1316, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.1322, allocations: 447.2 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.1326, allocations: 259.4 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1329, allocations: 111.7 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1332, allocations: 163.7 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1333, allocations: 16.17 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1335, allocations: 111.7 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1338, allocations: 211.6 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.1339, allocations: 8 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.134, allocations: 27.98 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1341, allocations: 83.69 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1342, allocations: 111 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.1346, allocations: 262.9 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1346, allocations: 0 / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1346, allocations: 0 / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.1346, allocations: 4 kB / 0.491 GB, free: 8.543 MB / 382.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.0009007/0.1355, allocations: 0.6375 MB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1356, allocations: 15.89 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.1356, allocations: 30.75 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.1357, allocations: 44.38 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1361, allocations: 296.1 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1361, allocations: 8.375 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.1361, allocations: 4.125 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1363, allocations: 61.61 kB / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1363, allocations: 0 / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1363, allocations: 0 / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1364, allocations: 4 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1365, allocations: 35.97 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.1372, allocations: 388.6 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1373, allocations: 42.5 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.1374, allocations: 28.94 kB / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1374, allocations: 0 / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1375, allocations: 34.56 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1375, allocations: 0 / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009057/0.1384, allocations: 292.2 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1384, allocations: 51.41 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008783/0.1393, allocations: 0.8613 MB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1394, allocations: 29.7 kB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1395, allocations: 208.1 kB / 0.494 GB, free: 5.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.1396, allocations: 27.64 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.1396, allocations: 17.72 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.1399, allocations: 366.7 kB / 0.4944 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.14, allocations: 35.98 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1401, allocations: 36.03 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.1404, allocations: 80.67 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1404, allocations: 0 / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003109/0.1407, allocations: 145.1 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1407, allocations: 8 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1407, allocations: 0 / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1408, allocations: 0 / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1409, allocations: 27.97 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1409, allocations: 3.938 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.141, allocations: 7.984 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.141, allocations: 12 kB / 0.4947 GB, free: 4.504 MB / 382.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.0001759/0.1412, allocations: 209.7 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.1412, allocations: 47.38 kB / 0.495 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.1416, allocations: 165.4 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1416, allocations: 0 / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1416, allocations: 3.938 kB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1416, allocations: 4 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.1423, allocations: 0.4906 MB / 0.4956 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1423, allocations: 0 / 0.4956 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/0.1424, allocations: 19.98 kB / 0.4956 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1424, allocations: 3.938 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1424, allocations: 0 / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1425, allocations: 8 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1425, allocations: 0 / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.1429, allocations: 235.3 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.143, allocations: 112.5 kB / 0.496 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.143, allocations: 15.88 kB / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1431, allocations: 8 kB / 0.496 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.1431, allocations: 7.984 kB / 0.496 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1432, allocations: 0 / 0.496 GB, free: 3.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006338/0.1438, allocations: 0.655 MB / 0.4967 GB, free: 2.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1438, allocations: 0 / 0.4967 GB, free: 2.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1441, allocations: 28 kB / 0.4967 GB, free: 2.398 MB / 382.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.001395/0.1455, allocations: 1.084 MB / 0.4977 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.1458, allocations: 75.88 kB / 0.4978 GB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1458, allocations: 0 / 0.4978 GB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1459, allocations: 43.97 kB / 0.4979 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1463, allocations: 21.95 kB / 0.4979 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.1503, allocations: 3.272 MB / 0.5011 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.1508, allocations: 0.8221 MB / 0.5019 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.1509, allocations: 8.969 kB / 0.5019 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.151, allocations: 107.4 kB / 0.502 GB, free: 12.87 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.151, allocations: 0 / 0.502 GB, free: 12.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.176, allocations: 6.13 MB / 0.508 GB, free: 6.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.452, allocations: 11.91 kB / 0.508 GB, free: 6.707 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches