Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.0007168/0.0007168, allocations: 95.91 kB / 17.35 MB, free: 6.375 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.0008787/0.0008787, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.362/1.362, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 61.93 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001943/0.1242, allocations: 1.348 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000811/0.125, allocations: 443.2 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.1251, allocations: 0 / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.1256, allocations: 447.2 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.126, allocations: 251.5 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.1264, allocations: 155 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1266, allocations: 163.7 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1268, allocations: 27.98 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1269, allocations: 99.73 kB / 475.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1271, allocations: 195.6 kB / 475.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1272, allocations: 4 kB / 475.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1273, allocations: 51.91 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.1274, allocations: 87.62 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.1275, allocations: 128.7 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1278, allocations: 263.2 kB / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1278, allocations: 0 / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1278, allocations: 0 / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1278, allocations: 0 / 476 MB, free: 9.629 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006379/0.1285, allocations: 0.5873 MB / 476.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1285, allocations: 11.97 kB / 476.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.1286, allocations: 38.75 kB / 476.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.1286, allocations: 48.38 kB / 476.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1289, allocations: 308 kB / 477 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1289, allocations: 8.375 kB / 477 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1289, allocations: 384 / 477 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1291, allocations: 65.61 kB / 477 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1291, allocations: 3.938 kB / 477 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1291, allocations: 0 / 477 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1291, allocations: 4 kB / 477 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1292, allocations: 35.98 kB / 477.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.1297, allocations: 416.6 kB / 477.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1298, allocations: 54.58 kB / 477.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.1299, allocations: 20.86 kB / 477.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1299, allocations: 4 kB / 477.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.13, allocations: 30.56 kB / 477.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.13, allocations: 0 / 477.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009727/0.131, allocations: 348.3 kB / 477.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.131, allocations: 55.34 kB / 478 MB, free: 7.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007489/0.1317, allocations: 0.8691 MB / 478.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1318, allocations: 29.64 kB / 478.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1319, allocations: 232.1 kB / 479.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.132, allocations: 27.56 kB / 479.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.132, allocations: 9.719 kB / 479.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1321, allocations: 370.8 kB / 479.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.1322, allocations: 35.97 kB / 479.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.1323, allocations: 27.98 kB / 479.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1325, allocations: 88.81 kB / 479.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1325, allocations: 0 / 479.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002566/0.1328, allocations: 153.3 kB / 479.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1328, allocations: 4 kB / 479.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1328, allocations: 0 / 479.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1328, allocations: 0 / 479.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1329, allocations: 31.86 kB / 479.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1329, allocations: 0 / 479.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.133, allocations: 12 kB / 479.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.133, allocations: 0 / 479.9 MB, free: 5.512 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 (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.0001717/0.1332, allocations: 217.8 kB / 480.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.1332, allocations: 47.36 kB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.1336, allocations: 193.3 kB / 480.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1336, allocations: 3.938 kB / 480.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1336, allocations: 0 / 480.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1336, allocations: 0 / 480.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.1342, allocations: 0.5304 MB / 480.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1342, allocations: 0 / 480.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.1343, allocations: 16 kB / 480.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1343, allocations: 0 / 480.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1343, allocations: 12.02 kB / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1343, allocations: 0 / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1343, allocations: 0 / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.1346, allocations: 259.7 kB / 481.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1347, allocations: 120.5 kB / 481.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1347, allocations: 0 / 481.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.1348, allocations: 12 kB / 481.2 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1349, allocations: 7.984 kB / 481.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1349, allocations: 4 kB / 481.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005547/0.1355, allocations: 0.6511 MB / 481.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1355, allocations: 0 / 481.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1357, allocations: 32 kB / 481.9 MB, free: 3.309 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 (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.001404/0.1372, allocations: 1.144 MB / 483.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1374, allocations: 87.94 kB / 483.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1374, allocations: 0 / 483.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.1375, allocations: 47.91 kB / 483.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1379, allocations: 29.27 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.1417, allocations: 3.487 MB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.1421, allocations: 0.8302 MB / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.654e-05/0.1422, allocations: 24.7 kB / 487.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1424, allocations: 115.4 kB / 487.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1424, allocations: 0 / 487.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.1595, allocations: 5.794 MB / 493.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.1598, allocations: 234.9 kB / 493.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.935, allocations: 0 / 493.7 MB, free: 7.641 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches