Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27",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.0009903/0.0009906, allocations: 101.9 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.001478/0.001479, allocations: 184.6 kB / 16.92 MB, free: 6.914 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.609/1.609, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.3795/0.3795, allocations: 43.58 MB / 315 MB, free: 8.699 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.0004838/0.0004838, allocations: 12 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 58.87 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.002054/0.1189, allocations: 1.329 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006593/0.1196, allocations: 319.7 kB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.1196, allocations: 0 / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1199, allocations: 47.88 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1201, allocations: 51.81 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1205, allocations: 103.9 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1206, allocations: 71.75 kB / 445.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1207, allocations: 16.45 kB / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.688e-05/0.1208, allocations: 19.92 kB / 445.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.1209, allocations: 43.83 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1209, allocations: 4 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.121, allocations: 31.92 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.1211, allocations: 19.92 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.1211, allocations: 53.5 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1213, allocations: 87.64 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1213, allocations: 7.938 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1213, allocations: 0 / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1213, allocations: 0 / 445.7 MB, free: 10.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005036/0.1219, allocations: 399.2 kB / 446.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1219, allocations: 8.031 kB / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.122, allocations: 30.75 kB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.122, allocations: 12.75 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1222, allocations: 208 kB / 446.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1222, allocations: 384 / 446.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1223, allocations: 8.125 kB / 446.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1224, allocations: 61.67 kB / 446.4 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1225, allocations: 4 kB / 446.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1225, allocations: 0 / 446.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.1225, allocations: 0 / 446.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1226, allocations: 39.97 kB / 446.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.123, allocations: 300.7 kB / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1232, allocations: 42.66 kB / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.1233, allocations: 32.83 kB / 446.9 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1233, allocations: 7.984 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1233, allocations: 38.56 kB / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1233, allocations: 0 / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007943/0.1241, allocations: 237.2 kB / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1242, allocations: 55.41 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1244, allocations: 190.2 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1244, allocations: 25.7 kB / 447.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1245, allocations: 104 kB / 447.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.1245, allocations: 23.66 kB / 447.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.1245, allocations: 13.7 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1247, allocations: 318.8 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1248, allocations: 43.91 kB / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1249, allocations: 48.03 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.1251, allocations: 84.81 kB / 448 MB, free: 7.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1251, allocations: 7.984 kB / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002907/0.1254, allocations: 129.5 kB / 448.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1255, allocations: 4 kB / 448.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1255, allocations: 0 / 448.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1255, allocations: 3.984 kB / 448.2 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1256, allocations: 31.92 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1256, allocations: 3.938 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.1257, allocations: 15.92 kB / 448.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1257, allocations: 4 kB / 448.2 MB, free: 7.645 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 (7): * Single equations (assignments): 7 * 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 9.286e-05/0.1258, allocations: 121.8 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1259, allocations: 15.84 kB / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.1262, allocations: 134.3 kB / 448.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1262, allocations: 8 kB / 448.5 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1262, allocations: 3.938 kB / 448.5 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1262, allocations: 3.984 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.1268, allocations: 410.5 kB / 448.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1268, allocations: 0 / 448.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.333e-05/0.1269, allocations: 19.98 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.1269, allocations: 3.938 kB / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1269, allocations: 4 kB / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1269, allocations: 4 kB / 448.9 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1269, allocations: 4 kB / 448.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.1272, allocations: 227.2 kB / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.1273, allocations: 93 kB / 449.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1273, allocations: 3.938 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.1274, allocations: 15.98 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1275, allocations: 7.984 kB / 449.3 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1275, allocations: 4 kB / 449.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1276, allocations: 143.9 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1276, allocations: 4 kB / 449.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1278, allocations: 19.98 kB / 449.4 MB, free: 6.316 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 (7): * Single equations (assignments): 7 * 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.001365/0.1292, allocations: 1.07 MB / 450.5 MB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.1295, allocations: 91.95 kB / 450.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1295, allocations: 0 / 450.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.1297, allocations: 51.91 kB / 450.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.13, allocations: 27.92 kB / 450.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.1321, allocations: 1.696 MB / 452.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1324, allocations: 0.7082 MB / 453.1 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.393e-05/0.1324, allocations: 12.97 kB / 453.1 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.1325, allocations: 31.42 kB / 453.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1325, allocations: 0 / 453.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1456, allocations: 2.45 MB / 455.6 MB, free: 76 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2049/0.3506, allocations: 231.3 kB / 455.8 MB, free: 48.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.142, allocations: 0 / 455.8 MB, free: 48.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches