Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",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.001913/0.001913, allocations: 106.7 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.00203/0.00203, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.501/1.501, 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.2254/0.2254, allocations: 43.51 MB / 314.1 MB, free: 488 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.001988/0.001988, allocations: 71.89 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.138, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003569/0.1416, allocations: 1.658 MB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007912/0.1424, allocations: 343.5 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.1425, allocations: 4 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1429, allocations: 23.84 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1432, allocations: 47.7 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.1437, allocations: 119.7 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.1439, allocations: 75.77 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.1441, allocations: 16.22 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.1442, allocations: 35.84 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.1443, allocations: 31.84 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.1443, allocations: 12 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1444, allocations: 63.89 kB / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-05/0.1445, allocations: 19.92 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.1446, allocations: 27.81 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.1449, allocations: 123.5 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1449, allocations: 0 / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1449, allocations: 4 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1449, allocations: 0 / 0.4899 GB, free: 9.699 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000802/0.1457, allocations: 422.8 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1458, allocations: 11.89 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.1458, allocations: 34.75 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1459, allocations: 12.89 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1461, allocations: 211.5 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1462, allocations: 4.375 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1462, allocations: 384 / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1465, allocations: 103.3 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1465, allocations: 0 / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1465, allocations: 0 / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1465, allocations: 4 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.1469, allocations: 75.86 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1473, allocations: 304.8 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.1476, allocations: 74.47 kB / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.1478, allocations: 36.95 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1478, allocations: 0 / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.1479, allocations: 42.5 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1479, allocations: 0 / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00171/0.1496, allocations: 373.1 kB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.1497, allocations: 77.11 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1499, allocations: 161.7 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1499, allocations: 25.7 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.15, allocations: 96.14 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.15, allocations: 31.73 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.1501, allocations: 21.72 kB / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1503, allocations: 322.8 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.1506, allocations: 67.92 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1509, allocations: 81.64 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.1515, allocations: 140.8 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1515, allocations: 0 / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006751/0.1522, allocations: 185.4 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1522, allocations: 4 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1522, allocations: 3.984 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1522, allocations: 4 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.1525, allocations: 35.91 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1525, allocations: 4 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1526, allocations: 31.89 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1527, allocations: 4 kB / 0.4928 GB, free: 6.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 (8): * Single equations (assignments): 8 * 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.0001178/0.1528, allocations: 117.8 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.1528, allocations: 15.91 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007114/0.1535, allocations: 198.5 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1536, allocations: 4 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1536, allocations: 384 / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1536, allocations: 3.938 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.1546, allocations: 478.4 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1546, allocations: 4 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1548, allocations: 39.89 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1548, allocations: 0 / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1548, allocations: 3.938 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1548, allocations: 0 / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1548, allocations: 8 kB / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.1556, allocations: 271.4 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.1557, allocations: 93.05 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.1557, allocations: 7.938 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.1559, allocations: 23.97 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.156, allocations: 15.92 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.156, allocations: 0 / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1561, allocations: 122.8 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1561, allocations: 3.938 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1564, allocations: 31.94 kB / 0.4942 GB, free: 4.984 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 (8): * Single equations (assignments): 8 * 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.002693/0.1592, allocations: 1.158 MB / 0.4953 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.1599, allocations: 151.8 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1599, allocations: 0 / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.1602, allocations: 75.92 kB / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1607, allocations: 23.92 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.1638, allocations: 1.771 MB / 0.4973 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1642, allocations: 0.708 MB / 0.498 GB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.878e-05/0.1643, allocations: 8.438 kB / 0.498 GB, free: 1.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.1644, allocations: 27.42 kB / 0.498 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1644, allocations: 0 / 0.498 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.1925, allocations: 3.658 MB / 0.5016 GB, free: 13.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.103, allocations: 4 kB / 0.5016 GB, free: 13.25 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches