Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001046/0.001045, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 184.2 kB / 16.92 MB, free: 6.691 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.48/1.48, allocations: 205.4 MB / 223.1 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3245/0.3245, allocations: 43.57 MB / 315 MB, free: 8.969 MB / 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.0005781/0.0005781, allocations: 16 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002693/0.1304, allocations: 1.376 MB / 444.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.1313, allocations: 363.5 kB / 445.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.1315, allocations: 4 kB / 445.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.1317, allocations: 23.91 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1319, allocations: 39.78 kB / 445.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1323, allocations: 147.8 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1325, allocations: 75.72 kB / 445.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1326, allocations: 32.42 kB / 445.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.1327, allocations: 23.86 kB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.1328, allocations: 39.83 kB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1328, allocations: 4 kB / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1329, allocations: 47.92 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.133, allocations: 19.91 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.1331, allocations: 61.44 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1333, allocations: 111.7 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1333, allocations: 0 / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1333, allocations: 0 / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1333, allocations: 0 / 445.9 MB, free: 10.45 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.0006892/0.134, allocations: 423.1 kB / 446.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1341, allocations: 12.03 kB / 446.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.1341, allocations: 34.75 kB / 446.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1342, allocations: 8.844 kB / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1344, allocations: 204 kB / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1344, allocations: 384 / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.1345, allocations: 8.375 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.1348, allocations: 111.3 kB / 446.7 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1348, allocations: 4 kB / 446.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1349, allocations: 0 / 446.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1349, allocations: 0 / 446.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.1352, allocations: 103.9 kB / 446.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.1358, allocations: 352.5 kB / 447.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.136, allocations: 86.53 kB / 447.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1362, allocations: 64.88 kB / 447.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1363, allocations: 3.984 kB / 447.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.1363, allocations: 30.56 kB / 447.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1363, allocations: 0 / 447.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001782/0.1381, allocations: 485 kB / 447.8 MB, free: 8.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.1382, allocations: 81.05 kB / 447.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1383, allocations: 153.8 kB / 448 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1384, allocations: 25.7 kB / 448 MB, free: 8.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.1384, allocations: 108 kB / 448.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.1385, allocations: 27.72 kB / 448.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1385, allocations: 21.7 kB / 448.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1386, allocations: 318.8 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.139, allocations: 99.91 kB / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.1393, allocations: 109.6 kB / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.1399, allocations: 197 kB / 448.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.14, allocations: 0 / 448.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006993/0.1407, allocations: 245.4 kB / 449.1 MB, free: 6.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1407, allocations: 4 kB / 449.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1407, allocations: 0 / 449.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1407, allocations: 4 kB / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.141, allocations: 51.89 kB / 449.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.141, allocations: 0 / 449.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1411, allocations: 31.97 kB / 449.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1412, allocations: 7.984 kB / 449.2 MB, free: 6.852 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.0001031/0.1413, allocations: 121.8 kB / 449.4 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.1413, allocations: 11.81 kB / 449.4 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007763/0.1421, allocations: 262.1 kB / 449.6 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1421, allocations: 3.938 kB / 449.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1421, allocations: 4 kB / 449.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1421, allocations: 0 / 449.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.1431, allocations: 0.5218 MB / 450.1 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1432, allocations: 0 / 450.1 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.1433, allocations: 51.84 kB / 450.2 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1434, allocations: 7.984 kB / 450.2 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1434, allocations: 4 kB / 450.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1434, allocations: 0 / 450.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1434, allocations: 0 / 450.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007365/0.1441, allocations: 335.3 kB / 450.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1442, allocations: 88.95 kB / 450.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1442, allocations: 4.359 kB / 450.6 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1444, allocations: 35.97 kB / 450.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.1445, allocations: 7.984 kB / 450.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1445, allocations: 15.94 kB / 450.7 MB, free: 5.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.709e-05/0.1446, allocations: 116 kB / 450.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.1446, allocations: 0 / 450.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1449, allocations: 35.94 kB / 450.8 MB, free: 5.141 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.001969/0.1469, allocations: 1.226 MB / 452.1 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.1476, allocations: 203.8 kB / 452.3 MB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1476, allocations: 4 kB / 452.3 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.1479, allocations: 107.9 kB / 452.4 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1483, allocations: 15.98 kB / 452.4 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.1512, allocations: 1.955 MB / 454.3 MB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1515, allocations: 0.7082 MB / 455 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1516, allocations: 24.7 kB / 455.1 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.1518, allocations: 35.42 kB / 455.1 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1518, allocations: 4 kB / 455.1 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1999/0.3517, allocations: 3.143 MB / 458.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.3519, allocations: 249.4 kB / 458.5 MB, free: 45.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.183, allocations: 0 / 458.5 MB, free: 45.45 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches