Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001005/0.001005, allocations: 96.94 kB / 16.02 MB, free: 80 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.001289/0.001289, allocations: 186.1 kB / 16.92 MB, free: 6.93 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.502/1.502, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.3413/0.3413, allocations: 43.57 MB / 315 MB, free: 9.098 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.0005376/0.0005377, allocations: 20 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1283, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002386/0.1307, allocations: 1.66 MB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1324, allocations: 1.03 MB / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.1325, allocations: 4 kB / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1327, allocations: 39.77 kB / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.133, allocations: 127.5 kB / 446.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1342, allocations: 0.5265 MB / 446.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1345, allocations: 263.2 kB / 447.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1347, allocations: 72.52 kB / 447.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1348, allocations: 115.4 kB / 447.4 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1351, allocations: 163.4 kB / 447.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1351, allocations: 4 kB / 447.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.1352, allocations: 32 kB / 447.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1353, allocations: 139.5 kB / 447.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1355, allocations: 180.3 kB / 447.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1359, allocations: 354.5 kB / 448.2 MB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1359, allocations: 0 / 448.2 MB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1359, allocations: 0 / 448.2 MB, free: 8.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1359, allocations: 0 / 448.2 MB, free: 8.102 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009441/0.1368, allocations: 0.7077 MB / 448.9 MB, free: 7.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1369, allocations: 8.031 kB / 448.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.1369, allocations: 46.73 kB / 449 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.137, allocations: 56.19 kB / 449 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.1376, allocations: 459.8 kB / 449.5 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1376, allocations: 12.38 kB / 449.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.1376, allocations: 15.94 kB / 449.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.1379, allocations: 143.3 kB / 449.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1379, allocations: 3.906 kB / 449.7 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.138, allocations: 8 kB / 449.7 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.138, allocations: 3.938 kB / 449.7 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.1382, allocations: 107.8 kB / 449.8 MB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.1392, allocations: 0.7073 MB / 450.5 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1394, allocations: 125.2 kB / 450.6 MB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1395, allocations: 45.83 kB / 450.7 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1396, allocations: 3.938 kB / 450.7 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1396, allocations: 42.56 kB / 450.7 MB, free: 5.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1396, allocations: 0 / 450.7 MB, free: 5.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001483/0.1411, allocations: 0.5761 MB / 451.3 MB, free: 4.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1411, allocations: 85.11 kB / 451.4 MB, free: 4.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1422, allocations: 0.8858 MB / 452.2 MB, free: 3.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1423, allocations: 25.7 kB / 452.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.1425, allocations: 256.3 kB / 452.5 MB, free: 3.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.1425, allocations: 55.19 kB / 452.6 MB, free: 3.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.1426, allocations: 17.72 kB / 452.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1428, allocations: 378.7 kB / 453 MB, free: 3.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.143, allocations: 75.95 kB / 453 MB, free: 3.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1432, allocations: 85.61 kB / 453.1 MB, free: 2.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.1435, allocations: 173.6 kB / 453.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1435, allocations: 0 / 453.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004935/0.144, allocations: 256.9 kB / 453.5 MB, free: 2.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1441, allocations: 4 kB / 453.5 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1441, allocations: 4 kB / 453.5 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1441, allocations: 4 kB / 453.5 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.1443, allocations: 43.97 kB / 453.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1443, allocations: 224 / 453.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1445, allocations: 15.98 kB / 453.6 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1445, allocations: 7.938 kB / 453.6 MB, free: 2.422 MB / 382.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.000221/0.1447, allocations: 225.6 kB / 453.8 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.1448, allocations: 59.25 kB / 453.9 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.1455, allocations: 311 kB / 454.2 MB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1455, allocations: 4 kB / 454.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1455, allocations: 0 / 454.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1455, allocations: 0 / 454.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1466, allocations: 0.8176 MB / 455 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1466, allocations: 0 / 455 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.1468, allocations: 47.91 kB / 455.1 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1468, allocations: 0 / 455.1 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1468, allocations: 11.98 kB / 455.1 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1469, allocations: 3.938 kB / 455.1 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1469, allocations: 4 kB / 455.1 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.1474, allocations: 426.1 kB / 455.5 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.1476, allocations: 156.3 kB / 455.7 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.1476, allocations: 7.984 kB / 455.7 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1478, allocations: 19.94 kB / 455.7 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.1479, allocations: 19.97 kB / 455.7 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1479, allocations: 7.938 kB / 455.7 MB, free: 216 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2179/0.3658, allocations: 0.6425 MB / 456.3 MB, free: 45.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3658, allocations: 0 / 456.3 MB, free: 45.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006435/0.3665, allocations: 51.05 kB / 456.4 MB, free: 45.62 MB / 382.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.001741/0.3683, allocations: 1.263 MB / 457.7 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.3687, allocations: 189.5 kB / 457.8 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3687, allocations: 3.844 kB / 457.9 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3689, allocations: 99.2 kB / 457.9 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.3697, allocations: 76.77 kB / 458 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.3761, allocations: 5.361 MB / 463.4 MB, free: 42.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3765, allocations: 0.8637 MB / 464.2 MB, free: 42.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.3767, allocations: 89.2 kB / 464.3 MB, free: 42.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.377, allocations: 162.8 kB / 464.5 MB, free: 42.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.495e-06/0.377, allocations: 3.75 kB / 464.5 MB, free: 42.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.3995, allocations: 8.988 MB / 473.5 MB, free: 41.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.3998, allocations: 232.6 kB / 473.7 MB, free: 41.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.448, allocations: 0 / 473.7 MB, free: 41.11 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches