Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001253/0.001253, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001328/0.001329, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.511/1.511, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2525/0.2525, allocations: 43.51 MB / 314.1 MB, free: 464 kB / 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.001809/0.00181, allocations: 75.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1422, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.00379/0.1461, allocations: 1.616 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.147, allocations: 343.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.1471, allocations: 3.938 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1474, allocations: 51.8 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1477, allocations: 43.83 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.1482, allocations: 159.6 kB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1484, allocations: 67.83 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1485, allocations: 31.91 kB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.1486, allocations: 27.91 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1487, allocations: 35.84 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1488, allocations: 4 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1489, allocations: 31.98 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.149, allocations: 27.91 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.149, allocations: 31.75 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1492, allocations: 83.78 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1492, allocations: 3.938 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1493, allocations: 3.938 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1493, allocations: 0 / 0.4899 GB, free: 9.734 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.0006768/0.15, allocations: 411 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.15, allocations: 15.89 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.1501, allocations: 38.73 kB / 0.4903 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.1501, allocations: 8.844 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1504, allocations: 196.7 kB / 0.4905 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1504, allocations: 4.125 kB / 0.4905 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1504, allocations: 4 kB / 0.4905 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1506, allocations: 65.61 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1506, allocations: 0 / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1507, allocations: 0 / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1507, allocations: 0 / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1508, allocations: 39.97 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.1513, allocations: 312.7 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1515, allocations: 50.5 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.1516, allocations: 28.94 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1516, allocations: 0 / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.1517, allocations: 38.56 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1517, allocations: 0 / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009917/0.1527, allocations: 225.1 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1527, allocations: 59.34 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1529, allocations: 174.5 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1529, allocations: 33.64 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.153, allocations: 100.1 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1531, allocations: 27.64 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.1531, allocations: 17.72 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1532, allocations: 322.8 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.1534, allocations: 35.97 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1535, allocations: 44.02 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.1537, allocations: 96.86 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1537, allocations: 0 / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003115/0.1541, allocations: 121.5 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1541, allocations: 4 kB / 0.4923 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1541, allocations: 0 / 0.4923 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.1541, allocations: 0 / 0.4923 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1543, allocations: 35.91 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1543, allocations: 0 / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.1544, allocations: 8 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1544, allocations: 3.984 kB / 0.4923 GB, free: 7.031 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 0.0001061/0.1545, allocations: 129.7 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1545, allocations: 11.81 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.1549, allocations: 142.3 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1549, allocations: 7.938 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1549, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1549, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/0.1555, allocations: 410.4 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1555, allocations: 0 / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.1556, allocations: 27.92 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1556, allocations: 0 / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1556, allocations: 0 / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1557, allocations: 4 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1557, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.156, allocations: 215.4 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1561, allocations: 92.95 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1561, allocations: 7.984 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.1562, allocations: 4 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1563, allocations: 19.86 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1563, allocations: 0 / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1564, allocations: 132.1 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1564, allocations: 0 / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1567, allocations: 19.98 kB / 0.4935 GB, free: 5.723 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.0015/0.1582, allocations: 1.069 MB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.1586, allocations: 91.88 kB / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1586, allocations: 0 / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1587, allocations: 47.97 kB / 0.4946 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1592, allocations: 19.73 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.1615, allocations: 1.673 MB / 0.4963 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1619, allocations: 0.7041 MB / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.233e-05/0.162, allocations: 24.95 kB / 0.497 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.1621, allocations: 35.36 kB / 0.497 GB, free: 1.984 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1621, allocations: 0 / 0.497 GB, free: 1.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.1884, allocations: 2.965 MB / 0.4999 GB, free: 15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/7.929, allocations: 8.062 kB / 0.4999 GB, free: 14.99 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches