Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001385/0.001392, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001218/0.001218, allocations: 192 kB / 18.56 MB, free: 4.434 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.371/1.371, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2263/0.2263, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 72.66 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003886/0.1164, allocations: 1.968 MB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1183, allocations: 0.9706 MB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1185, allocations: 4 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.1191, allocations: 259.2 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.1196, allocations: 195.3 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1211, allocations: 0.6443 MB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.1216, allocations: 303.3 kB / 473.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1219, allocations: 80.55 kB / 473.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1221, allocations: 139.5 kB / 473.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.1224, allocations: 191.4 kB / 474.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.1224, allocations: 12 kB / 474.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.1227, allocations: 107.8 kB / 474.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1228, allocations: 83.75 kB / 474.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.123, allocations: 131 kB / 474.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.1235, allocations: 326.8 kB / 474.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1235, allocations: 4 kB / 474.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1235, allocations: 0 / 474.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1235, allocations: 0 / 474.7 MB, free: 8.891 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008823/0.1244, allocations: 0.6574 MB / 475.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1245, allocations: 11.97 kB / 475.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.1245, allocations: 46.73 kB / 475.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.1247, allocations: 44.38 kB / 475.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.1251, allocations: 322.2 kB / 475.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1251, allocations: 8.312 kB / 475.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.1251, allocations: 24.22 kB / 475.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.1254, allocations: 121.6 kB / 476 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1254, allocations: 4 kB / 476 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1254, allocations: 4 kB / 476 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1254, allocations: 4 kB / 476 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.1256, allocations: 95.86 kB / 476.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.1263, allocations: 0.512 MB / 476.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1265, allocations: 106.5 kB / 476.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.1266, allocations: 40.83 kB / 476.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1267, allocations: 7.984 kB / 476.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1267, allocations: 42.5 kB / 476.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.1267, allocations: 0 / 476.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001033/0.1277, allocations: 436 kB / 477.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1278, allocations: 55.41 kB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.1284, allocations: 0.5526 MB / 477.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.1285, allocations: 29.7 kB / 477.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1286, allocations: 208.3 kB / 478 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.1287, allocations: 59.11 kB / 478.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.1288, allocations: 33.7 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1289, allocations: 350.8 kB / 478.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1291, allocations: 67.95 kB / 478.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1292, allocations: 70.61 kB / 478.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.1295, allocations: 156.7 kB / 478.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1295, allocations: 0 / 478.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004125/0.1299, allocations: 227.4 kB / 479 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.13, allocations: 4 kB / 479 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.13, allocations: 4 kB / 479 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.13, allocations: 0 / 479 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1302, allocations: 39.92 kB / 479 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1302, allocations: 0 / 479 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.1303, allocations: 15.83 kB / 479 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.1303, allocations: 8 kB / 479 MB, free: 4.348 MB / 350.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 (17): * Single equations (assignments): 17 * 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.0001903/0.1305, allocations: 181.7 kB / 479.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.1306, allocations: 39.53 kB / 479.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.1311, allocations: 281.4 kB / 479.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1311, allocations: 0 / 479.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1311, allocations: 4 kB / 479.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1312, allocations: 3.984 kB / 479.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009027/0.1321, allocations: 0.6838 MB / 480.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1321, allocations: 0 / 480.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1322, allocations: 31.92 kB / 480.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1322, allocations: 11.98 kB / 480.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1322, allocations: 4 kB / 480.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1322, allocations: 3.938 kB / 480.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1323, allocations: 4 kB / 480.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.1327, allocations: 322.9 kB / 480.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1328, allocations: 116.6 kB / 480.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.1329, allocations: 3.984 kB / 480.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.133, allocations: 15.94 kB / 480.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.133, allocations: 11.98 kB / 480.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1331, allocations: 8 kB / 480.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004863/0.1336, allocations: 411.1 kB / 481.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1336, allocations: 0 / 481.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.1339, allocations: 51.98 kB / 481.2 MB, free: 2.078 MB / 350.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 (17): * Single equations (assignments): 17 * 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.002507/0.1364, allocations: 1.454 MB / 482.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.1368, allocations: 183.7 kB / 482.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1368, allocations: 0 / 482.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.137, allocations: 91.89 kB / 482.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.1376, allocations: 81.19 kB / 483 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.1426, allocations: 3.223 MB / 486.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.1431, allocations: 0.8221 MB / 487.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.1433, allocations: 58.23 kB / 487.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.1435, allocations: 127.4 kB / 487.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1435, allocations: 0 / 487.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.1715, allocations: 7.344 MB / 494.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/7.97, allocations: 7.031 kB / 494.6 MB, free: 4.977 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches