Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.001145/0.001145, allocations: 103.9 kB / 16.4 MB, free: 6.469 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.001172/0.001172, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.51/1.51, 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.2372/0.2372, allocations: 43.52 MB / 314.1 MB, free: 464 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.002063/0.002063, allocations: 69.84 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1327, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.003527/0.1363, allocations: 1.626 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1375, allocations: 0.688 MB / 0.4897 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.1375, allocations: 0 / 0.4897 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1378, allocations: 31.91 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.138, allocations: 35.83 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.05e-06/0.138, allocations: 0 / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1382, allocations: 35.91 kB / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.1383, allocations: 7.984 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.1383, allocations: 15.88 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.1384, allocations: 11.92 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1384, allocations: 4 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.1385, allocations: 4 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.1385, allocations: 19.92 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.1386, allocations: 19.81 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1387, allocations: 67.67 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1387, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.1388, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1388, allocations: 3.938 kB / 0.4899 GB, free: 9.719 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.0004654/0.1392, allocations: 371.2 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1393, allocations: 11.89 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.1393, allocations: 46.72 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.1394, allocations: 4.891 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1395, allocations: 172.3 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1396, allocations: 4.375 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.1396, allocations: 4.312 kB / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1398, allocations: 127.3 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1398, allocations: 3.938 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1398, allocations: 7.984 kB / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.1399, allocations: 23.92 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.14, allocations: 43.91 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/0.1408, allocations: 0.8945 MB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1409, allocations: 165.1 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.141, allocations: 88.08 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.141, allocations: 83.28 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.581e-05/0.1411, allocations: 105.8 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1411, allocations: 0 / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.387e-05/0.1412, allocations: 41.69 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.1413, allocations: 126.7 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1415, allocations: 190.1 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1416, allocations: 25.7 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1417, allocations: 151.5 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-06/0.1417, allocations: 0 / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.1417, allocations: 49.59 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1419, allocations: 322.8 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.142, allocations: 31.98 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1421, allocations: 157 kB / 0.493 GB, free: 6.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.1425, allocations: 204.9 kB / 0.4932 GB, free: 5.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1425, allocations: 4 kB / 0.4932 GB, free: 5.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003237/0.1428, allocations: 201.1 kB / 0.4934 GB, free: 5.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1429, allocations: 7.984 kB / 0.4934 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1429, allocations: 4 kB / 0.4934 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1429, allocations: 8 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1431, allocations: 39.92 kB / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.1431, allocations: 8.594 kB / 0.4935 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.996e-05/0.1432, allocations: 23.89 kB / 0.4935 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1432, allocations: 8 kB / 0.4935 GB, free: 5.617 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.0001458/0.1433, allocations: 216.9 kB / 0.4937 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.1434, allocations: 124.8 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.1435, allocations: 116.8 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.975e-05/0.1436, allocations: 180.2 kB / 0.4941 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.114e-05/0.1437, allocations: 180.3 kB / 0.4943 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.98e-05/0.1438, allocations: 180.3 kB / 0.4945 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1441, allocations: 425.1 kB / 0.4949 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/0.1441, allocations: 105 kB / 0.495 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.1442, allocations: 108.9 kB / 0.4951 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-05/0.1443, allocations: 184.2 kB / 0.4953 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/0.1443, allocations: 180.2 kB / 0.4954 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.552e-05/0.1444, allocations: 184.2 kB / 0.4956 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-05/0.1445, allocations: 176.3 kB / 0.4958 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.1447, allocations: 323.6 kB / 0.4961 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1448, allocations: 190 kB / 0.4963 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.1449, allocations: 184.2 kB / 0.4964 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.145, allocations: 101 kB / 0.4965 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.1451, allocations: 180.2 kB / 0.4967 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.1452, allocations: 109 kB / 0.4968 GB, free: 2.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1453, allocations: 128.1 kB / 0.4969 GB, free: 1.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1453, allocations: 4 kB / 0.4969 GB, free: 1.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.1456, allocations: 16 kB / 0.497 GB, free: 1.867 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.001338/0.147, allocations: 0.9108 MB / 0.4979 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1471, allocations: 75.78 kB / 0.4979 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1471, allocations: 0 / 0.4979 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1471, allocations: 0 / 0.4979 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.1476, allocations: 460.9 kB / 0.4984 GB, free: 440 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.1499, allocations: 1.875 MB / 0.5002 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.1503, allocations: 0.7006 MB / 0.5009 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.1506, allocations: 49.02 kB / 0.5009 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.1507, allocations: 27.42 kB / 0.501 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1507, allocations: 0 / 0.501 GB, free: 13.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.178, allocations: 2.093 MB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/7.908, allocations: 7.984 kB / 0.503 GB, free: 11.44 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches