Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.001214/0.001214, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001346/0.001346, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 60.66 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.115, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004197/0.1192, allocations: 1.957 MB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1214, allocations: 1.033 MB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.1216, allocations: 4 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1219, allocations: 39.66 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.1223, allocations: 147.3 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009882/0.1233, allocations: 421.7 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.1237, allocations: 251.2 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1239, allocations: 64.61 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.1241, allocations: 115.5 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1244, allocations: 183.3 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.1245, allocations: 12 kB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1246, allocations: 55.98 kB / 473.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.1248, allocations: 135.5 kB / 473.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1249, allocations: 158.7 kB / 473.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.1253, allocations: 374.5 kB / 474.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1254, allocations: 0 / 474.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1254, allocations: 4 kB / 474.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1254, allocations: 0 / 474.3 MB, free: 9.336 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001186/0.1266, allocations: 0.7619 MB / 475 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1266, allocations: 8.031 kB / 475 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.1267, allocations: 46.73 kB / 475.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1268, allocations: 56.19 kB / 475.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.1274, allocations: 443.9 kB / 475.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1275, allocations: 4.375 kB / 475.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.1275, allocations: 15.94 kB / 475.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1278, allocations: 138.9 kB / 475.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1278, allocations: 0 / 475.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1279, allocations: 4 kB / 475.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1279, allocations: 4 kB / 475.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.1281, allocations: 71.94 kB / 475.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009853/0.1291, allocations: 0.6914 MB / 476.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1293, allocations: 105.2 kB / 476.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1294, allocations: 45.81 kB / 476.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.1295, allocations: 11.88 kB / 476.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1295, allocations: 34.56 kB / 476.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.1295, allocations: 0 / 476.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001466/0.131, allocations: 0.5021 MB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.1311, allocations: 81.11 kB / 477.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009865/0.1321, allocations: 0.8739 MB / 478.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1321, allocations: 25.7 kB / 478.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.1323, allocations: 252.2 kB / 478.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.1324, allocations: 55.25 kB / 478.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.1325, allocations: 33.7 kB / 478.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1326, allocations: 374.7 kB / 478.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1328, allocations: 63.89 kB / 478.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.133, allocations: 69.67 kB / 479 MB, free: 4.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.1334, allocations: 141.7 kB / 479.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1334, allocations: 0 / 479.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004488/0.1338, allocations: 217 kB / 479.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1338, allocations: 4 kB / 479.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1339, allocations: 0 / 479.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1339, allocations: 0 / 479.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.1341, allocations: 47.91 kB / 479.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1341, allocations: 4 kB / 479.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.1343, allocations: 11.98 kB / 479.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1343, allocations: 4 kB / 479.4 MB, free: 3.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001917/0.1345, allocations: 209.7 kB / 479.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1346, allocations: 55.5 kB / 479.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.1352, allocations: 270.9 kB / 479.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1352, allocations: 3.984 kB / 479.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.1352, allocations: 4 kB / 480 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1352, allocations: 3.938 kB / 480 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1362, allocations: 0.7747 MB / 480.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1363, allocations: 0 / 480.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.1364, allocations: 39.97 kB / 480.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1364, allocations: 0 / 480.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1365, allocations: 4 kB / 480.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1365, allocations: 3.938 kB / 480.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1365, allocations: 7.938 kB / 480.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.137, allocations: 397.9 kB / 481.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1372, allocations: 144.4 kB / 481.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.1373, allocations: 8 kB / 481.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.1375, allocations: 15.92 kB / 481.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.1375, allocations: 19.97 kB / 481.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1376, allocations: 4 kB / 481.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000696/0.1383, allocations: 0.6355 MB / 482 MB, free: 1.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1383, allocations: 0 / 482 MB, free: 1.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000362/0.1386, allocations: 59.98 kB / 482.1 MB, free: 1.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001662/0.1403, allocations: 1.229 MB / 483.3 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.1408, allocations: 151.8 kB / 483.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1408, allocations: 0 / 483.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.141, allocations: 83.83 kB / 483.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.1417, allocations: 70.12 kB / 483.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006193/0.1479, allocations: 5.09 MB / 488.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1483, allocations: 0.8536 MB / 489.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.1485, allocations: 79.22 kB / 489.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.1488, allocations: 163.4 kB / 489.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1488, allocations: 0 / 489.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.1777, allocations: 9.375 MB / 499.1 MB, free: 192 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.82, allocations: 6.953 kB / 499.1 MB, free: 188 kB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches