Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",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.001633/0.001633, allocations: 109.6 kB / 16.41 MB, free: 6.445 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.002011/0.002011, allocations: 185 kB / 17.34 MB, free: 5.742 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2204/0.2204, allocations: 43.52 MB / 314.1 MB, free: 480 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.00205/0.00205, allocations: 67.89 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1329, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.003391/0.1363, allocations: 1.614 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1374, allocations: 0.6841 MB / 0.4897 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.1375, allocations: 4 kB / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1378, allocations: 35.83 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.138, allocations: 31.84 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.919e-06/0.138, allocations: 0 / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1382, allocations: 39.89 kB / 0.4898 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.1383, allocations: 8 kB / 0.4898 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.1383, allocations: 7.938 kB / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.16e-05/0.1384, allocations: 23.7 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1384, allocations: 0 / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.191e-05/0.1385, allocations: 4 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.1385, allocations: 23.92 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1386, allocations: 23.75 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1387, allocations: 63.67 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.1387, allocations: 4 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1387, allocations: 0 / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1388, allocations: 7.938 kB / 0.4899 GB, free: 9.727 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004641/0.1392, allocations: 367.1 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1393, allocations: 11.89 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.1393, allocations: 34.75 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.1394, allocations: 12.88 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1396, allocations: 180.2 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.1396, allocations: 384 / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1396, allocations: 384 / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.1398, allocations: 130.8 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1398, allocations: 7.938 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.1399, allocations: 0 / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.1399, allocations: 23.98 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.482e-05/0.14, allocations: 47.84 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007919/0.1408, allocations: 0.8868 MB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1409, allocations: 177.2 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.141, allocations: 84.08 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.141, allocations: 75.28 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/0.1411, allocations: 105.8 kB / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1411, allocations: 0 / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.111e-05/0.1412, allocations: 45.64 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.1413, allocations: 134.6 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1415, allocations: 182.1 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1416, allocations: 25.7 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1417, allocations: 147.6 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.1417, allocations: 11.98 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.1418, allocations: 45.61 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.142, allocations: 318.8 kB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.142, allocations: 27.98 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1422, allocations: 157.1 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.1425, allocations: 212.9 kB / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1425, allocations: 4 kB / 0.4932 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003448/0.1428, allocations: 193.2 kB / 0.4934 GB, free: 5.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1429, allocations: 8 kB / 0.4934 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.1429, allocations: 7.984 kB / 0.4934 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.1429, allocations: 4.625 kB / 0.4934 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.1431, allocations: 47.92 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.1432, allocations: 15.92 kB / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1433, allocations: 15.89 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.1433, allocations: 16 kB / 0.4935 GB, free: 5.625 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002011/0.1436, allocations: 212.9 kB / 0.4937 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.1437, allocations: 120.8 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.1438, allocations: 120.7 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/0.1439, allocations: 180.3 kB / 0.4941 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001107/0.144, allocations: 188.2 kB / 0.4943 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.685e-05/0.1441, allocations: 176.3 kB / 0.4945 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.1445, allocations: 421.2 kB / 0.4949 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.383e-05/0.1445, allocations: 108.9 kB / 0.495 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.1446, allocations: 101 kB / 0.4951 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.1447, allocations: 188.2 kB / 0.4953 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.1448, allocations: 180.3 kB / 0.4954 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.268e-05/0.1449, allocations: 176.3 kB / 0.4956 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.406e-05/0.145, allocations: 184.2 kB / 0.4958 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.1452, allocations: 323.7 kB / 0.4961 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.1453, allocations: 186 kB / 0.4963 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.1454, allocations: 180.2 kB / 0.4964 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/0.1455, allocations: 104.9 kB / 0.4965 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.1456, allocations: 176.3 kB / 0.4967 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.1457, allocations: 108.9 kB / 0.4968 GB, free: 2.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1458, allocations: 136.1 kB / 0.4969 GB, free: 1.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1458, allocations: 0 / 0.4969 GB, free: 1.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1461, allocations: 12 kB / 0.497 GB, free: 1.887 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 (0): * Single equations (assignments): 0 * 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.001084/0.1472, allocations: 0.9064 MB / 0.4978 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.1474, allocations: 79.78 kB / 0.4979 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1474, allocations: 0 / 0.4979 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.1474, allocations: 0 / 0.4979 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.1479, allocations: 468.9 kB / 0.4984 GB, free: 448 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1499, allocations: 1.875 MB / 0.5002 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1503, allocations: 0.7005 MB / 0.5009 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.1506, allocations: 49.03 kB / 0.5009 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.1506, allocations: 23.42 kB / 0.501 GB, free: 13.56 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1506, allocations: 0 / 0.501 GB, free: 13.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.1783, allocations: 2.096 MB / 0.503 GB, free: 11.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/7.929, allocations: 12.05 kB / 0.503 GB, free: 11.45 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches