Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.0008281/0.0008284, allocations: 94.25 kB / 17.35 MB, free: 6.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.0008728/0.000873, allocations: 174.1 kB / 18.25 MB, free: 5.504 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.308/1.308, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1812/0.1812, allocations: 44.25 MB / 337.7 MB, free: 2.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.08963, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.001687/0.09135, allocations: 1.345 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.09211, allocations: 0.6566 MB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.09214, allocations: 0 / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.09238, allocations: 23.92 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.09256, allocations: 43.88 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.619e-06/0.09258, allocations: 0 / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.09274, allocations: 51.83 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.09278, allocations: 0 / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.09281, allocations: 15.92 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.0929, allocations: 27.86 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.09292, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.145e-05/0.09297, allocations: 4 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.09303, allocations: 23.97 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.09308, allocations: 45.52 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.09321, allocations: 67.94 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.09322, allocations: 4 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.09323, allocations: 0 / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.09323, allocations: 0 / 474.7 MB, free: 10.92 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003487/0.09359, allocations: 355.4 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.09363, allocations: 8.031 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.09368, allocations: 38.75 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.09371, allocations: 8.844 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.09383, allocations: 180.2 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.09385, allocations: 4.375 kB / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.09387, allocations: 384 / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.09403, allocations: 129.5 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.09405, allocations: 3.938 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.09406, allocations: 4 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.09411, allocations: 19.98 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/0.09418, allocations: 39.91 kB / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.09469, allocations: 0.8906 MB / 476.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.176e-05/0.09476, allocations: 173.2 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.0948, allocations: 92.02 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.09482, allocations: 75.28 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.09486, allocations: 105.8 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.09487, allocations: 3.984 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.874e-05/0.09493, allocations: 33.61 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.09498, allocations: 134.7 kB / 476.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.09513, allocations: 186.1 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.09515, allocations: 29.64 kB / 477.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.09523, allocations: 147.1 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.09524, allocations: 11.98 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.09527, allocations: 17.72 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.09537, allocations: 322.8 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.09541, allocations: 27.98 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.09552, allocations: 149.2 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.09569, allocations: 208.8 kB / 478 MB, free: 7.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.0957, allocations: 3.938 kB / 478 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002613/0.09597, allocations: 201.2 kB / 478.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.09599, allocations: 8 kB / 478.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.096, allocations: 4 kB / 478.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.09602, allocations: 8 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.09613, allocations: 35.92 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.09614, allocations: 7.938 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.398e-05/0.09623, allocations: 32.16 kB / 478.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.09625, allocations: 12 kB / 478.3 MB, free: 6.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001043/0.09636, allocations: 213 kB / 478.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.09642, allocations: 112.8 kB / 478.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.09648, allocations: 124.8 kB / 478.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-05/0.09654, allocations: 180.3 kB / 478.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.926e-05/0.09659, allocations: 176.3 kB / 479.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.477e-05/0.09664, allocations: 184.2 kB / 479.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.09685, allocations: 425.1 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/0.09688, allocations: 108.9 kB / 479.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.09692, allocations: 109 kB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.685e-05/0.09697, allocations: 176.3 kB / 480.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.09703, allocations: 184.2 kB / 480.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.018e-05/0.09708, allocations: 180.3 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.09713, allocations: 184.2 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.09724, allocations: 315.6 kB / 480.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.09731, allocations: 190 kB / 481.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.09737, allocations: 176.3 kB / 481.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.09745, allocations: 112.9 kB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.09751, allocations: 180.3 kB / 481.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.09755, allocations: 112.9 kB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.264e-05/0.09763, allocations: 132.1 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09764, allocations: 0 / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.0979, allocations: 20 kB / 481.8 MB, free: 3.129 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 (0): * Single equations (assignments): 0 * 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.0006035/0.09851, allocations: 0.9122 MB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.09865, allocations: 80.28 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.09865, allocations: 0 / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.09866, allocations: 0 / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.099, allocations: 0.5341 MB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1004, allocations: 1.883 MB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1006, allocations: 0.697 MB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.1008, allocations: 57 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.1009, allocations: 23.44 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1009, allocations: 0 / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.898/0.9989, allocations: 1.725 MB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3463/1.345, allocations: 239.5 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/3.067, allocations: 7.875 kB / 488 MB, free: 12.86 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches