Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",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.001708/0.001708, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001862/0.001862, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.543/1.543, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2151/0.2151, allocations: 43.54 MB / 314.1 MB, free: 468 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.002097/0.002097, allocations: 71.89 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1215, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.003066/0.1246, allocations: 1.546 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006528/0.1253, allocations: 311.6 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.1253, allocations: 0 / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.126, allocations: 455.1 kB / 0.4897 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1264, allocations: 255.4 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1267, allocations: 119.7 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1269, allocations: 147.7 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.127, allocations: 15.98 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1271, allocations: 99.8 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1274, allocations: 203.6 kB / 0.4905 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1274, allocations: 11.94 kB / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.1275, allocations: 23.97 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1276, allocations: 83.69 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.1277, allocations: 95.06 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.128, allocations: 242.7 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.128, allocations: 0 / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.128, allocations: 0 / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.128, allocations: 0 / 0.4909 GB, free: 8.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007767/0.1288, allocations: 0.6452 MB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1289, allocations: 11.89 kB / 0.4915 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.1289, allocations: 38.73 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.129, allocations: 44.66 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1293, allocations: 296.6 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1293, allocations: 8.375 kB / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1293, allocations: 384 / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1295, allocations: 49.56 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1295, allocations: 4 kB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1295, allocations: 0 / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1295, allocations: 0 / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.1296, allocations: 27.92 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.1301, allocations: 376.8 kB / 0.4924 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.1302, allocations: 26.58 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.1302, allocations: 16.91 kB / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1303, allocations: 0 / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1303, allocations: 38.5 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1303, allocations: 0 / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002562/0.1306, allocations: 101.4 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1306, allocations: 55.41 kB / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/0.1315, allocations: 0.8574 MB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1316, allocations: 25.7 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.1318, allocations: 224.1 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.1318, allocations: 12.02 kB / 0.4937 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1318, allocations: 9.719 kB / 0.4937 GB, free: 5.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.132, allocations: 370.7 kB / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.1321, allocations: 4 kB / 0.494 GB, free: 5.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.1321, allocations: 7.984 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.62e-05/0.1322, allocations: 32.72 kB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1322, allocations: 4.062 kB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.1324, allocations: 89.41 kB / 0.4942 GB, free: 5.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1324, allocations: 4 kB / 0.4942 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1325, allocations: 3.984 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1325, allocations: 4 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.1325, allocations: 4 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1326, allocations: 0 / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.1326, allocations: 3.984 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1326, allocations: 4 kB / 0.4942 GB, free: 5.105 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 (2): * Single equations (assignments): 2 * 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.0001954/0.1328, allocations: 217.7 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.1329, allocations: 43.72 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.1331, allocations: 100.6 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1331, allocations: 4 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1331, allocations: 0 / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1331, allocations: 7.922 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.1334, allocations: 285.5 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1334, allocations: 4 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1335, allocations: 12.02 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1335, allocations: 0 / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1335, allocations: 4 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1335, allocations: 0 / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1335, allocations: 0 / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.1337, allocations: 187.1 kB / 0.495 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1338, allocations: 116.8 kB / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1339, allocations: 4.031 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.1339, allocations: 4 kB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.134, allocations: 7.969 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.134, allocations: 4 kB / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006924/0.1347, allocations: 0.6472 MB / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1347, allocations: 0 / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1349, allocations: 23.94 kB / 0.4958 GB, free: 3.355 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 (2): * Single equations (assignments): 2 * 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.001626/0.1366, allocations: 0.9638 MB / 0.4967 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1367, allocations: 27.97 kB / 0.4968 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.1368, allocations: 4 kB / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.1368, allocations: 8 kB / 0.4968 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.1372, allocations: 29.83 kB / 0.4968 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.1408, allocations: 3.126 MB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.1413, allocations: 0.8143 MB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.1413, allocations: 15.94 kB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1415, allocations: 107.4 kB / 0.5008 GB, free: 14.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1415, allocations: 4 kB / 0.5008 GB, free: 14.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.1704, allocations: 5.688 MB / 0.5063 GB, free: 8.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.503, allocations: 0 / 0.5063 GB, free: 8.449 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches